Skip to content

Methods

airia.client.sync_client.AiriaClient.close()

Closes the requests session to free up system resources.

This method should be called when the RequestHandler is no longer needed to ensure proper cleanup of the underlying session and its resources.

Source code in airia/client/sync_client.py
def close(self):
    """
    Closes the requests session to free up system resources.

    This method should be called when the RequestHandler is no longer needed to ensure
    proper cleanup of the underlying session and its resources.
    """
    self._request_handler.close()