What's New in Version 1.0.1
Version 1.0.1 of the relationalai Python package is now available!
To upgrade, activate your virtual environment and run the following command:
pip install --upgrade relationalaiNew Features and Enhancements
Section titled “New Features and Enhancements”-
Improved concurrent call handling for
ReasonersClient.ensure()andReasonersClientSync.ensure(). When multiple processes try to create or resume the same reasoner at the same time,ensure()will wait for the in-progress operation to complete instead of failing with a conflict error. -
Improved the error raised when a logic reasoner job is aborted because the client disconnected. If that happens,
JobsClient.wait()/JobsClientSync.wait()raisesJobClientDisconnectedError:from relationalai.services.jobs.errors import JobClientDisconnectedErrortry:job = await client.jobs.wait("LOGIC", job_id)except JobClientDisconnectedError:# The client disconnected before the job completed.# Retry after restoring connectivity....
Bug Fixes
Section titled “Bug Fixes”- Fixed an issue where running reasoner CLI commands, such as
rai reasoners:create, could fail with anImportError.