We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeDB.core_driver has too many required arguments: credentials and driver_options.
In order to fix this, need to role back to typedb.driver version 2.29.2
pip3 install typedb-driver==3.0.0
import typedb.driver as driver from typedb.driver import TypeDB class TypeDBConnector: def __init__(self): self.connection = "localhost:1729" self.database = "database-name" def open_connection(self): client = TypeDB.core_driver(address=self.connection) session = client.session(self.database, driver.SessionType.DATA) return client, session def close_connection(self, session, client): session.close() client.close()
client = TypeDB.core_driver(address=self.connection) TypeError: TypeDB.core_driver() missing 2 required positional arguments: 'credentials' and 'driver_options'
creates a connection to the database and be able to query it
need to uninstall typedb-driver==3.0.0 and pip install typedb-driver==2.29.2 in the python venv as a workaround.
Relevant logs from TypeDB or Driver:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
TypeDB.core_driver has too many required arguments: credentials and driver_options.
In order to fix this, need to role back to typedb.driver version 2.29.2
Environment
Reproducible Steps
Expected result
creates a connection to the database and be able to query it
Additional information
need to uninstall typedb-driver==3.0.0 and pip install typedb-driver==2.29.2 in the python venv as a workaround.
Relevant logs from TypeDB or Driver:
The text was updated successfully, but these errors were encountered: