Python package and CLI 1.35.2
Earlier deployment checks and predictive date and time checks.
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.35.2"For the latest installation instructions, see Start building with PyRel.
Bug Fixes
Section titled “Bug Fixes”-
Fixed indefinite waits during model deployment failure cleanup.
rai models deploynow waits at most 180 seconds for background work. If you seeBackground Work Abandoned, Snowflake SQL statements may still be running, so wait for PyRel’s temporary deployment lock to expire before retrying. Model deployment is in Public Preview. -
Added permission checks for Logic Reasoner sources before model deployment changes its outputs, with related errors shown together. The deployment role needs
SELECTon each source andUSAGEon its database and schema without relying on other active roles. Dry runs skip these checks, and changes made before the checks may remain after a failure. -
Fixed a Snowflake refresh error when grouping aggregate results by a newly created entity with multiple identifying properties, including a property with a default value. Redeploy existing models with PyRel 1.35.2 to apply the fix.
-
Fixed numeric conversion errors in supported deployed model joins involving properties referencing multiple concepts. Properties holding one value and accepting multiple concept types,
AnyEntity, orAnynow store encoded identifiers instead of identifying property values, so review SQL consumers before redeploying with PyRel 1.35.2. Some unsupported identity comparisons can now stop deployment with an explicit error. -
Fixed incorrect reads and joins in deployed models whose identifying properties refer to other entities, with nested key values now stored in separate columns. Redeployment can replace model outputs and rename columns, so review SQL before redeploying with PyRel 1.35.2 and update affected queries. Conflicting generated column names and some unsupported identity schemes now cause deployment errors, while distinct entities with composite identities can still look identical in query results.
-
Fixed refresh tasks choosing serverless compute instead of the active Snowflake warehouse for model deployments already using
compiler.optimization="aggressive". Redeploy with PyRel 1.35.2 to apply the fix. Without an active warehouse, serverless compute remains the fallback, and the deployment role still needs task permissions. -
Shortened graph reasoning result names in diagnostics and deployed model outputs without changing calculated values. When redeploying with PyRel 1.35.2, check for renamed columns and update affected SQL queries. Graph reasoning is in Public Preview.
-
rai models listnow warns and skips unrelated optional Snowflake shared databases that are no longer available, so listings may be incomplete. Unavailable databases still stop the listing when required or when a complete list of models is requested. Listing shared models is part of Public Preview model deployment. -
In Graph Neural Network (GNN) predictive reasoning,
PropertyTransformernow raisesValueErrorbefore export for properties explicitly named indatetime=ortime_col=with known incompatible types. Cast date sources toDATEorTIMESTAMPand reload, or remove non-date properties from both settings and reclassify or drop them. This check does not validate date strings or unknown property types. Predictive reasoning is in Public Preview.