Skip to content

Commit

Permalink
feature: client v2
Browse files Browse the repository at this point in the history
  • Loading branch information
fregataa committed Dec 12, 2023
1 parent 5b512ef commit cd38d66
Show file tree
Hide file tree
Showing 2 changed files with 1,160 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/etcetra/__init__.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
from . import client as _client
from . import client_v2 as _client_v2
from . import types as _types

__all__ = (
*_client.__all__,
*_client_v2.__all__,
*_types.__all__,
)

from .client import * # noqa
from .client_v2 import * # noqa

Check failure on line 12 in src/etcetra/__init__.py

View workflow job for this annotation

GitHub Actions / typecheck

Incompatible import of "EtcdClient" (imported name has type "type[etcetra.client_v2.EtcdClient]", local name has type "type[etcetra.client.EtcdClient]") [assignment]

Check failure on line 12 in src/etcetra/__init__.py

View workflow job for this annotation

GitHub Actions / typecheck

Incompatible import of "EtcdConnectionManager" (imported name has type "type[etcetra.client_v2.EtcdConnectionManager]", local name has type "type[etcetra.client.EtcdConnectionManager]") [assignment]

Check failure on line 12 in src/etcetra/__init__.py

View workflow job for this annotation

GitHub Actions / typecheck

Incompatible import of "EtcdCommunicator" (imported name has type "type[etcetra.client_v2.EtcdCommunicator]", local name has type "type[etcetra.client.EtcdCommunicator]") [assignment]

Check failure on line 12 in src/etcetra/__init__.py

View workflow job for this annotation

GitHub Actions / typecheck

Incompatible import of "EtcdTransactionAction" (imported name has type "type[etcetra.client_v2.EtcdTransactionAction]", local name has type "type[etcetra.client.EtcdTransactionAction]") [assignment]

Check failure on line 12 in src/etcetra/__init__.py

View workflow job for this annotation

GitHub Actions / typecheck

Incompatible import of "EtcdLockManager" (imported name has type "type[etcetra.client_v2.EtcdLockManager]", local name has type "type[etcetra.client.EtcdLockManager]") [assignment]
from .types import * # noqa

__version__ = '0.1.18'
Loading

0 comments on commit cd38d66

Please sign in to comment.