Python package and CLI 1.0.15
PyRel 1.0.15 adds the RAI_ACTIVE_PROFILE env var, reduces Model.Table() schema fetch overhead, and fixes several configuration, debugger, and Model.data() issues.
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.15"For the latest installation instructions, see Start building with PyRel.
New Features and Enhancements
Section titled “New Features and Enhancements”- Added support for a
RAI_ACTIVE_PROFILEenvironment variable as a way to select the active profile. You can now set the active profile withRAI_ACTIVE_PROFILE=<profile_name>in addition toactive_profileinraiconfig.yaml. See Use profiles to manage multiple configurations for details.
Performance and Reliability
Section titled “Performance and Reliability”-
Reduced
Model.Table()overhead on large Snowflake schemas. Before, PyRel could scan the whole schema on each lookup. Now PyRel fetches metadata one table at a time, which reduces cold-start overhead when a model touches many tables in a large schema. For background on declaring Snowflake sources, see Declare data sources. -
Improved behavior on read-only notebook and container file systems. Before, PyRel could fail while writing caches or trace files with misleading errors. Now it falls back to a writable temporary directory in those environments.
Bug Fixes
Section titled “Bug Fixes”-
Fixed Snowflake authentication failures that could surface as a misleading
No default Sessionerror. PyRel now reports the underlying Snowflake auth failure when it cannot create a new session. -
Fixed a startup crash in
rai debugger. Before, some launches could fail withRuntimeError: You must call ui.run() to start the server. Now the debugger starts without that reload-related crash. -
Fixed
Model.data()so rows with mixed integer and floating-point columns preserve integer values. Before, some integer fields could be upcast and show up as values like1.0in query results.