@classmethod
    def create(cls, name, users=None):

        api = Client.instance().api

        database_data = {
            'name': name,
            'active': True,
        }

        if isinstance(users, list) or isinstance(users, tuple):
            database_data['users'] = users

        data = api.database.post(data=database_data)

        db = Database(
            name=name,
            api=api,
            kwargs=data
        )

        Client.instance().set_database(name=name)

        return db
Creates database and sets itself as the active database.
dataset/ETHPy150Open saeschdivara/ArangoPy/arangodb/api.py/Database.create