Skip to content

Commit

Permalink
new: add _hosts to BaseConnection
Browse files Browse the repository at this point in the history
  • Loading branch information
aMahanna committed Nov 14, 2024
1 parent 8e6aaca commit 113c116
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arango/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def __init__(
request_compression: Optional[RequestCompression] = None,
response_compression: Optional[str] = None,
) -> None:
self._hosts = hosts
self._url_prefixes = [f"{host}/_db/{db_name}" for host in hosts]
self._host_resolver = host_resolver
self._sessions = sessions
Expand Down

0 comments on commit 113c116

Please sign in to comment.