langchain_community.graphs.arangodb_graph
.get_arangodb_client¶
- langchain_community.graphs.arangodb_graph.get_arangodb_client(url: Optional[str] = None, dbname: Optional[str] = None, username: Optional[str] = None, password: Optional[str] = None) Any [source]¶
Get the Arango DB client from credentials.
- Parameters
url (Optional[str]) – Arango DB url. Can be passed in as named arg or set as environment var
ARANGODB_URL
. Defaults to “http://localhost:8529”.dbname (Optional[str]) – Arango DB name. Can be passed in as named arg or set as environment var
ARANGODB_DBNAME
. Defaults to “_system”.username (Optional[str]) – Can be passed in as named arg or set as environment var
ARANGODB_USERNAME
. Defaults to “root”.password (Optional[str]) – Can be passed ni as named arg or set as environment var
ARANGODB_PASSWORD
. Defaults to “”.
- Returns
An arango.database.StandardDatabase.
- Return type
Any