Version 1.0.10 of the relationalai Python package is now available!
To upgrade, activate your virtual environment and run the following command:
pip install --upgrade relationalai
New Features and Enhancements
- PyRel DSL objects now show readable structure in
repr(), str(), and .pprint().
Before, inspecting concepts, expressions, fragments, aggregates, refs, fields, and models showed generic values like <ClassName object at 0x...>.
Now those representations show the object structure directly, which makes debugging and interactive inspection easier.
Bug Fixes
- Fixed primitive-value lists passed to
.in_() inside select() queries so they no longer create temporary data tables or mutate model state.
Before, filters like Person.name.in_(["Alice", "Bob"]) could register extra model state as a side effect.
Now those select() filters compile as literal unions, leave the model unchanged, and still return the expected results.