Python package and CLI 1.0.10
PyRel 1.0.10 makes DSL objects easier to inspect and fixes .in_() filters in select() so they no longer mutate model state.
How to install this version
Review the changes below before installing. To install this version, activate a compatible Python virtual environment and run:
python -m pip install "relationalai==1.0.10"For the latest installation instructions, see Start building with PyRel.
New Features and Enhancements
Section titled “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
Section titled “Bug Fixes”- Fixed primitive-value lists passed to
.in_()insideselect()queries so they no longer create temporary data tables or mutate model state. Before, filters likePerson.name.in_(["Alice", "Bob"])could register extra model state as a side effect. Now thoseselect()filters compile as literal unions, leave the model unchanged, and still return the expected results.