Python package and CLI 1.0.8
PyRel version 1.0.8 fixes exports to destination tables that do not exist yet and improves error messages for cross-model usage and relationship field access.
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.8"For the latest installation instructions, see Start building with PyRel.
Bug Fixes
Section titled “Bug Fixes”-
Fixed
.into(table).exec()when exporting to a destination table that does not yet exist. Before, exporting to a new table could fail during setup because PyRel treated the destination as an existing table. Now PyRel treats the destination as a new export target during setup. -
Improved the error PyRel raises when you use a concept, relationship, or chain from one non-library model in another model. Before, these references could fail later with an unclear error. Now PyRel raises
Cross-model concept usageat the call site. Concepts from library models are still allowed. -
Improved the error PyRel raises when you access a relationship field with dot syntax instead of bracket indexing. Before, an expression such as
relationship.foocould produce an unhelpful error whenfoowas a field name rather than a relationship. Now PyRel raisesInvalid field accessand tells you to use indexing such asrelationship["foo"]instead.