property Session.ready: bool#

Whether the session is ready or not.

When False, the server will reject most requests made by users without the ROLE_ADMIN role with an HTTP 503 Service Unavailable status.


This property has no impact in the community edition since the ROLE_ADMIN role is always granted.

This can be used to prevent queries from being made on a session that has not finished its initial setup process (tables and cubes creation, data loading, etc).