Skip to content

Python package and CLI 1.35.0

Deploy multiple PyRel models in one Snowflake schema with custom object names.

How to install this version

Review the changes below before installing. To install this version, activate a compatible Python virtual environment and run:

Terminal window
python -m pip install "relationalai==1.35.0"

For the latest installation instructions, see Start building with PyRel.

  • Model deployment now lets you deploy multiple PyRel models to one Snowflake schema, using a distinct prefix or suffix to keep each model’s objects separate. Values are uppercased and no separator is added. Choose unique names because conflicts may go undetected if deployments run at the same time or the deployment role cannot see every model. Model deployment remains in Public Preview.

  • Predictive Reasoning now exports large inputs as one file, fixing a missing-file error when its service expected one file but received several. For other CSV exports, use partition_csv_exports=False only when the receiving workflow requires one file. Other exports remain split by default. Predictive Reasoning is in Public Preview.

  • Model deployment now supports rule-based outputs whose identity includes multiple properties across related entities. Learn about identity schemes in how to declare concepts.

  • PyRel model queries now handle more cases involving recursion, negation, and aggregates correctly.

  • For deployed outputs that use datetime.now(), PyRel now uses the refresh start time instead of changing the value on each query. Ad hoc queries still use the current time. On Snowflake, if an output uses datetime.now(), PyRel always deploys it as a regular table, even if you configured it as a dynamic table.

  • A PyRel query that selects multiple fields from related entities and uses one field as a fallback when another is missing now runs successfully during model deployment.

  • When you redeploy a model to Snowflake after changing its output columns, model deployment can now recover from some schema changes Snowflake cannot apply directly. The output table is replaced and its grants are preserved. Rows are repopulated during the next refresh.

  • During model deployment, PyRel no longer raises a Shadowed variable error.

  • In programmatic configuration, values you pass to create_config() for deployment.schema or deployment.meta_schema now take precedence over values in raiconfig.yaml. Omit either setting from create_config() to use its value from raiconfig.yaml.

  • Model deployment now checks required privileges during deployment. Grant those privileges to the configured deployment role so a missing grant does not cause a later refresh to fail.