atoti.Session.connect#

classmethod Session.connect(url, *, authentication=None, certificate_authority=None)#

Connect to an already started session.

Parameters:
  • url (str) – The base URL of the session. The endpoint f"{url}/versions/rest" is expected to exist.

  • authentication (Authenticate | ClientCertificate | None) – The method used to authenticate against the session.

  • certificate_authority (Path | None) – Path to the custom certificate authority file to use to verify the HTTPS connection. Required when the session has been configured with an SSL certificate that is not signed by some trusted public certificate authority.

Return type:

Session