annet 0.14.5__py3-none-any.whl → 0.14.7__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of annet might be problematic. Click here for more details.

annet/connectors.py CHANGED
@@ -34,7 +34,7 @@ class Connector(ABC, Generic[T]):
34
34
  res = self._classes[0]
35
35
  return res(*args, **kwargs)
36
36
 
37
- def get_all(self, *args, **kwargs) -> list[T]:
37
+ def get_all(self, *args, **kwargs) -> List[T]:
38
38
  if self._classes is None:
39
39
  self._classes = self._entry_point or [self._get_default()]
40
40
 
annet/storage.py CHANGED
@@ -1,5 +1,5 @@
1
1
  import abc
2
- from typing import Any, Iterable, Optional, Type, Union, Protocol
2
+ from typing import Any, Iterable, Optional, Type, Union, Protocol, Dict
3
3
  from annet.connectors import Connector, get_context
4
4
 
5
5
 
@@ -69,7 +69,7 @@ class Storage(abc.ABC):
69
69
  class StorageOpts(abc.ABC):
70
70
  @classmethod
71
71
  @abc.abstractmethod
72
- def parse_params(cls, conf_params: dict[str, str] | None, cli_opts: Any):
72
+ def parse_params(cls, conf_params: Dict[str, str] | None, cli_opts: Any):
73
73
  pass
74
74
 
75
75
 
@@ -125,7 +125,7 @@ class Device(Protocol):
125
125
  pass
126
126
 
127
127
 
128
- def get_storage() -> (Storage, dict[str, Any]):
128
+ def get_storage() -> (Storage, Dict[str, Any]):
129
129
  connectors = storage_connector.get_all()
130
130
  seen: list[str] = []
131
131
  if context_storage := get_context().get("storage"):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: annet
3
- Version: 0.14.5
3
+ Version: 0.14.7
4
4
  Summary: annet
5
5
  Home-page: https://github.com/annetutil/annet
6
6
  License: MIT
@@ -3,7 +3,7 @@ annet/annet.py,sha256=TMdEuM7GJQ4TjRVmuK3bCTZN-21lxjQ9sXqEdILUuBk,725
3
3
  annet/argparse.py,sha256=MoBD0LPnHdA6HU7z1uQNArYlkD92znoeGIFTMnS4dRM,12608
4
4
  annet/cli.py,sha256=MxdH5m4r2MfXYwCbgSDUqjSibxw7VzSg7_hsB47RWnw,9601
5
5
  annet/cli_args.py,sha256=1RZ_Sy5oSiiUNzf4FIefvUa_s-JsR8IYd-SvN7apocw,15823
6
- annet/connectors.py,sha256=fJXwSjOnI7xu571nMspgXmvQZmjXP8mWp8pWoHFAEVQ,2511
6
+ annet/connectors.py,sha256=Xgr7fNopRhFAYnkiDxhohBtjlFOLY8v0xLExHmVMr00,2511
7
7
  annet/deploy.py,sha256=B8E0P_VvCrS2URjFvgmUiIkHp95g7pAWfmT34igaDeo,18893
8
8
  annet/diff.py,sha256=zLcaCnb4lZRUb7frpH1CstQ3kacRcCblZs1uLG8J5lk,3391
9
9
  annet/executor.py,sha256=EaeQ_JeRFuUUHUoR2LXDcNvY7IVg0eA2d6zSmQVJt-M,19216
@@ -16,7 +16,7 @@ annet/output.py,sha256=hJNGzL4Z3KgvqaCBkkmuuiXPhb64F1QV8YHkwnfhaaI,6852
16
16
  annet/parallel.py,sha256=hLkzEht0KhzmzUWDdO4QFYQHzhxs3wPlTA8DxbB2ziw,17160
17
17
  annet/patching.py,sha256=nILbY5oJajN0b1j3f0HEJm05H3HVThnWvB7vDVh7UQw,559
18
18
  annet/reference.py,sha256=B8mH8VUMcecPnzULiTVb_kTQ7jQrCL7zp4pfIZQa5fk,4035
19
- annet/storage.py,sha256=DU-j-I2bQHva_ZQOT407TnGOHx1rd0AA_W7OcLXiPzM,3086
19
+ annet/storage.py,sha256=BMZPOPrWGyMNmzUl9CJfv8m15xciajGesHcRv9zUaV8,3092
20
20
  annet/tabparser.py,sha256=ZjiI43ZVbrpMVR8qNbTbNh_U3oZ26VDc_2Y9wkkDkYA,874
21
21
  annet/text_term_format.py,sha256=CHb6viv45vmYl-SK1A1vyPHGhaEni6jVybBusaQnct8,2813
22
22
  annet/tracing.py,sha256=ndpM-au1c88uBBpOuH_z52qWZL773edYozNyys_wA68,4044
@@ -124,10 +124,10 @@ annet/rulebook/texts/routeros.rul,sha256=ipfxjj0mjFef6IsUlupqx4BY_Je_OUb8u_U1019
124
124
  annet_generators/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
125
125
  annet_generators/example/__init__.py,sha256=zVd8_DrXuOASrNzg2Ab94rPyvJff83L-_HppDFxnUjM,228
126
126
  annet_generators/example/lldp.py,sha256=68CLrK7vxTQQy9XIBxtywuEdBNlIlfXGYj8_wYWs5UI,1146
127
- annet-0.14.5.dist-info/AUTHORS,sha256=rh3w5P6gEgqmuC-bw-HB68vBCr-yIBFhVL0PG4hguLs,878
128
- annet-0.14.5.dist-info/LICENSE,sha256=yPxl7dno02Pw7gAcFPIFONzx_gapwDoPXsIsh6Y7lC0,1079
129
- annet-0.14.5.dist-info/METADATA,sha256=afiQ_c_4hpqasJGxN74HLYQmV-sgVK3yeiGQO1ys0AQ,694
130
- annet-0.14.5.dist-info/WHEEL,sha256=HiCZjzuy6Dw0hdX5R3LCFPDmFS4BWl8H-8W39XfmgX4,91
131
- annet-0.14.5.dist-info/entry_points.txt,sha256=yHimujIzR2bwNIbb--MTs_GpXiAve89Egpu2LlgTEkg,119
132
- annet-0.14.5.dist-info/top_level.txt,sha256=QsoTZBsUtwp_FEcmRwuN8QITBmLOZFqjssRfKilGbP8,23
133
- annet-0.14.5.dist-info/RECORD,,
127
+ annet-0.14.7.dist-info/AUTHORS,sha256=rh3w5P6gEgqmuC-bw-HB68vBCr-yIBFhVL0PG4hguLs,878
128
+ annet-0.14.7.dist-info/LICENSE,sha256=yPxl7dno02Pw7gAcFPIFONzx_gapwDoPXsIsh6Y7lC0,1079
129
+ annet-0.14.7.dist-info/METADATA,sha256=A6QRaGcStR1_xxiKBk1tkpjoFUgY0uohpBY_eU7Vav4,694
130
+ annet-0.14.7.dist-info/WHEEL,sha256=HiCZjzuy6Dw0hdX5R3LCFPDmFS4BWl8H-8W39XfmgX4,91
131
+ annet-0.14.7.dist-info/entry_points.txt,sha256=yHimujIzR2bwNIbb--MTs_GpXiAve89Egpu2LlgTEkg,119
132
+ annet-0.14.7.dist-info/top_level.txt,sha256=QsoTZBsUtwp_FEcmRwuN8QITBmLOZFqjssRfKilGbP8,23
133
+ annet-0.14.7.dist-info/RECORD,,
File without changes