You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 9, 2023. It is now read-only.
The constructor of _ClusterServerClient calls _ClusterServerClient.new_channel_and_stub() during creation of the channel and the gRPC _stub of a server client (L36),
which calls _ClusterServerClient._new_channel() (L49),
which references a yet-not-created self._stub in a lambda that it passes to grpc.metadata_call_credentials() (L60),
which, if it calls the lambda at that point, correctly raises AttributeError: '_ClusterServerClient' object has no attribute '_stub'.
The text was updated successfully, but these errors were encountered:
Description
Potential circular dependency in https://github.com/vaticle/typedb-client-python/blob/master/typedb/connection/cluster/server_client.py.
The constructor of
_ClusterServerClient
calls_ClusterServerClient.new_channel_and_stub()
during creation of the channel and the gRPC_stub
of a server client (L36),which calls
_ClusterServerClient._new_channel()
(L49),which references a yet-not-created
self._stub
in a lambda that it passes togrpc.metadata_call_credentials()
(L60),which, if it calls the lambda at that point, correctly raises
AttributeError: '_ClusterServerClient' object has no attribute '_stub'
.The text was updated successfully, but these errors were encountered: