def __init__(self, hostname, auth=None, protocol='http', port=8529, database=SYSTEM_DATABASE):

        Client.class_instance = self

        self.hostname = hostname
        self.auth = auth
        self.protocol = protocol
        self.port = port
        self.database = database

        self._create_api()
This should be done only once and sets the instance
dataset/ETHPy150Open saeschdivara/ArangoPy/arangodb/api.py/Client.__init__