annet 0.13.2__py3-none-any.whl → 0.13.3__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.

@@ -125,9 +125,9 @@ def run_partial_initial(device):
125
125
 
126
126
  @tracing.function
127
127
  def run_partial_generators(
128
- gens: List["PartialGenerator"],
129
- ref_gens: List["RefGenerator"],
130
- run_args: GeneratorPartialRunArgs,
128
+ gens: List["PartialGenerator"],
129
+ ref_gens: List["RefGenerator"],
130
+ run_args: GeneratorPartialRunArgs,
131
131
  ):
132
132
  logger = get_logger(host=run_args.device.hostname)
133
133
  tracing_connector.get().set_device_attributes(tracing_connector.get().get_current_span(), run_args.device)
@@ -151,14 +151,12 @@ def run_partial_generators(
151
151
  if not result:
152
152
  continue
153
153
 
154
- config = result.safe_config if run_args.use_acl_safe else result.config
155
-
156
- ref_match = ret.ref_matcher.match(config)
154
+ ref_match = ret.ref_matcher.match(result.config)
157
155
  for ref_gen, groups in ref_match:
158
156
  gens.append(ref_gen.with_groups(groups))
159
157
  ret.ref_track.add(gen.__class__, ref_gen.__class__)
160
158
 
161
- ret.ref_track.config(gen.__class__, config)
159
+ ret.ref_track.config(gen.__class__, result.config)
162
160
  ret.add_partial(result)
163
161
 
164
162
  return ret
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: annet
3
- Version: 0.13.2
3
+ Version: 0.13.3
4
4
  Summary: annet
5
5
  Home-page: https://github.com/annetutil/annet
6
6
  License: MIT
@@ -64,7 +64,7 @@ annet/annlib/rulebook/common.py,sha256=9kCZwZpsH5UliF2OzaN9nLs2eLlz_d__4L7_oZ3Sr
64
64
  annet/api/__init__.py,sha256=vwmyZK_iCdAjlJ0jS5CXSroDAZFzGe3JiXL-WoZiovU,33154
65
65
  annet/configs/context.yml,sha256=nt4QnzYzrG2hqmaWOUsab2wgFl-CXmFSzbto6rqqFt4,291
66
66
  annet/configs/logging.yaml,sha256=Hu42lRK248dssp9TgkbHCaZNl0E6f4IChGb0XaQnTVo,970
67
- annet/generators/__init__.py,sha256=tk20umBuMEcd8QKET3mxJQsDj-dvjlwGnrlgTw0wbRY,15622
67
+ annet/generators/__init__.py,sha256=ACMH9UQ4I3uq2b8nDzOn2dgYxreDq4_3ojOGwht0-No,15543
68
68
  annet/generators/base.py,sha256=rgQLcQBPZm4ecbKmRhVOpBR-GFJAiVfdb_y5f2-LUR8,3670
69
69
  annet/generators/entire.py,sha256=7WySkVaXNT3ZAiHcQ0JUKdlhGJAN8cNUxF6c7ilYnO8,2928
70
70
  annet/generators/exceptions.py,sha256=GPXTBgn2xZ3Ev_bdOPlfCLGRC1kQHe_dEq88S-uyi5s,151
@@ -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.13.2.dist-info/AUTHORS,sha256=rh3w5P6gEgqmuC-bw-HB68vBCr-yIBFhVL0PG4hguLs,878
128
- annet-0.13.2.dist-info/LICENSE,sha256=yPxl7dno02Pw7gAcFPIFONzx_gapwDoPXsIsh6Y7lC0,1079
129
- annet-0.13.2.dist-info/METADATA,sha256=YBUO24OLpM9o_u1-a6cJVcwPpqHyi8q_MVKx7Vt5Xss,694
130
- annet-0.13.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
131
- annet-0.13.2.dist-info/entry_points.txt,sha256=yHimujIzR2bwNIbb--MTs_GpXiAve89Egpu2LlgTEkg,119
132
- annet-0.13.2.dist-info/top_level.txt,sha256=QsoTZBsUtwp_FEcmRwuN8QITBmLOZFqjssRfKilGbP8,23
133
- annet-0.13.2.dist-info/RECORD,,
127
+ annet-0.13.3.dist-info/AUTHORS,sha256=rh3w5P6gEgqmuC-bw-HB68vBCr-yIBFhVL0PG4hguLs,878
128
+ annet-0.13.3.dist-info/LICENSE,sha256=yPxl7dno02Pw7gAcFPIFONzx_gapwDoPXsIsh6Y7lC0,1079
129
+ annet-0.13.3.dist-info/METADATA,sha256=HKcJCicYhWph5FCujCoHAuP_Jsi5R0MUHUMSuVOyu3o,694
130
+ annet-0.13.3.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
131
+ annet-0.13.3.dist-info/entry_points.txt,sha256=yHimujIzR2bwNIbb--MTs_GpXiAve89Egpu2LlgTEkg,119
132
+ annet-0.13.3.dist-info/top_level.txt,sha256=QsoTZBsUtwp_FEcmRwuN8QITBmLOZFqjssRfKilGbP8,23
133
+ annet-0.13.3.dist-info/RECORD,,
File without changes