

This token is not refreshed automatically.
#Arangodb sharding password
If set, parameters username, password and auth_methodĪre ignored.

ThisĪssumes that the clocks of the server and client are synchronized. Refreshed automatically using ArangoDB username and password. auth_method ( str) – HTTP authentication method.verify ( bool) – Verify the connection by sending a test request.password ( str) – Password for basic authentication.username ( str) – Username for basic authentication.Returns:ĭb ( name: str = '_system', username: str = 'root', password: str = '', verify: bool = False, auth_method: str = 'basic', superuser_token: Optional = None, verify_certificate: bool = True ) → ¶Ĭonnect to an ArangoDB database and return the database API wrapper. Return the request timeout of the http client. request_timeout ( Any) – This is the default request timeout (in seconds)įor http requests issued by the client if the parameter http_client is.Str: Path to a custom CA bundle file or directory. True: Verify TLS certificate using the system CA certificates.
#Arangodb sharding verification
None: Do not change the verification behavior of the underlying HTTP client. Override the verify method of the underlying HTTP client. verify_override ( Union ) – Override TLS certificate verification.Which takes a JSON serialized string as its only argument and return deserializer ( callable) – User-defined JSON de-serializer.If not given, json.dumps is used by default. Which takes a JSON data type object as its only argument and return serializer ( callable) – User-defined JSON serializer.http_client ( ) – User-defined HTTP client.resolver_max_tries ( int) – Number of attempts to process an HTTP requestīefore throwing a ConnectionAbortedError.hosts ( str | ) – Host URL or list of URLs (coordinators in a cluster).ArangoClient ( hosts: Union] = '', host_resolver: str = 'roundrobin', resolver_max_tries: Optional = None, http_client: Optional = None, serializer: Callable, str] = >, deserializer: Callable, Any] = >, verify_override: Union = None, request_timeout: Any = 60 ) ¶
