zepben.ewb 1.0.3__py3-none-any.whl → 1.0.4__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.
- zepben/ewb/model/cim/iec61970/base/wires/conductor.py +1 -1
- zepben/ewb/services/network/tracing/traversal/traversal.py +3 -4
- {zepben_ewb-1.0.3.dist-info → zepben_ewb-1.0.4.dist-info}/METADATA +1 -1
- {zepben_ewb-1.0.3.dist-info → zepben_ewb-1.0.4.dist-info}/RECORD +7 -7
- {zepben_ewb-1.0.3.dist-info → zepben_ewb-1.0.4.dist-info}/WHEEL +0 -0
- {zepben_ewb-1.0.3.dist-info → zepben_ewb-1.0.4.dist-info}/licenses/LICENSE +0 -0
- {zepben_ewb-1.0.3.dist-info → zepben_ewb-1.0.4.dist-info}/top_level.txt +0 -0
|
@@ -8,9 +8,9 @@ __all__ = ["Conductor"]
|
|
|
8
8
|
from typing import Optional, TYPE_CHECKING
|
|
9
9
|
|
|
10
10
|
from zepben.ewb.model.cim.iec61970.base.core.conducting_equipment import ConductingEquipment
|
|
11
|
+
from zepben.ewb.model.cim.iec61968.assetinfo.cable_info import CableInfo
|
|
11
12
|
|
|
12
13
|
if TYPE_CHECKING:
|
|
13
|
-
from zepben.ewb.model.cim.iec61968.assetinfo.cable_info import CableInfo
|
|
14
14
|
from zepben.ewb.model.cim.iec61968.assetinfo.wire_info import WireInfo
|
|
15
15
|
|
|
16
16
|
|
|
@@ -390,10 +390,9 @@ class Traversal(Generic[T, D]):
|
|
|
390
390
|
|
|
391
391
|
async def apply_step_actions(self, item: T, context: StepContext) -> D:
|
|
392
392
|
for it in self.step_actions:
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
pass
|
|
393
|
+
_apply = it.apply(item, context)
|
|
394
|
+
if inspect.iscoroutine(_apply):
|
|
395
|
+
await _apply
|
|
397
396
|
return self
|
|
398
397
|
|
|
399
398
|
def add_context_value_computer(self, computer: ContextValueComputer[T]) -> D:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: zepben.ewb
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.4
|
|
4
4
|
Summary: Python SDK for interacting with the Energy Workbench platform
|
|
5
5
|
Author-email: Kurt Greaves <kurt.greaves@zepben.com>, Max Chesterfield <max.chesterfield@zepben.com>
|
|
6
6
|
License-Expression: MPL-2.0
|
|
@@ -443,7 +443,7 @@ zepben/ewb/model/cim/iec61970/base/wires/ac_line_segment.py,sha256=hhzJ4s2X8ROkd
|
|
|
443
443
|
zepben/ewb/model/cim/iec61970/base/wires/breaker.py,sha256=aQ4V6ougg6UaNu2ajM1X72-TmVN070UYWbI8sSv9qj0,1344
|
|
444
444
|
zepben/ewb/model/cim/iec61970/base/wires/busbar_section.py,sha256=WGG6gNJnRAi-AQCIIwLZw_0pJeah-qoQStaR8jUBzDs,805
|
|
445
445
|
zepben/ewb/model/cim/iec61970/base/wires/clamp.py,sha256=-csAcXaXAHrkAR2WL0FqVoDketYH51_s57KXu2W98zg,1329
|
|
446
|
-
zepben/ewb/model/cim/iec61970/base/wires/conductor.py,sha256=
|
|
446
|
+
zepben/ewb/model/cim/iec61970/base/wires/conductor.py,sha256=mZarbyGG8-y6CAgxIzzHLk62wlJzQgCbI_A_48826Zo,1764
|
|
447
447
|
zepben/ewb/model/cim/iec61970/base/wires/connector.py,sha256=Ko3e646ckNFwpbFhb3RAXUTTS_8k6g-SrvVUHhkUVZs,624
|
|
448
448
|
zepben/ewb/model/cim/iec61970/base/wires/cut.py,sha256=VoV2pmcGNoOadVD3pJhlLXEViqfxACXaf62ptuwirLA,1796
|
|
449
449
|
zepben/ewb/model/cim/iec61970/base/wires/disconnector.py,sha256=o6udJA9tYe4pY5tWBaev4wh-sH4aaU05cYuhn0dWWKg,668
|
|
@@ -600,7 +600,7 @@ zepben/ewb/services/network/tracing/traversal/queue_condition.py,sha256=NAg-HCHC
|
|
|
600
600
|
zepben/ewb/services/network/tracing/traversal/step_action.py,sha256=v5eOdwNIlDqwWuZPHgB9zdljtHr9Hke5eH5-ncTSzeQ,2933
|
|
601
601
|
zepben/ewb/services/network/tracing/traversal/step_context.py,sha256=v2ATjfM8lEWs5HWu3OfvbzrKNYA9z2wuNxqo-PdV_EU,2511
|
|
602
602
|
zepben/ewb/services/network/tracing/traversal/stop_condition.py,sha256=scNWSJzRMWVujMaOOfiHP8E106lL_DFX-XiVCrPopIs,2122
|
|
603
|
-
zepben/ewb/services/network/tracing/traversal/traversal.py,sha256=
|
|
603
|
+
zepben/ewb/services/network/tracing/traversal/traversal.py,sha256=pitK2DJrriS2PFmEEhjlW7NG9E5CLVhR_6U44Zo0WeU,25703
|
|
604
604
|
zepben/ewb/services/network/tracing/traversal/traversal_condition.py,sha256=UljzzIDk1I6wtlIS62i4DRsabSFqsgIv9zzwcZtgv3M,744
|
|
605
605
|
zepben/ewb/services/network/tracing/traversal/weighted_priority_queue.py,sha256=3IswA00UyOKKlB3fV9jaayRD33YNOXRgGm_HJBYTXZg,2958
|
|
606
606
|
zepben/ewb/services/network/translator/__init__.py,sha256=0WBShZvRfn49WdWfuPPL0tkMSTYNCQhk45fZcIrQ8BY,25988
|
|
@@ -634,8 +634,8 @@ zepben/ewb/streaming/mutations/update_network_state_client.py,sha256=e0Oma5PRT8m
|
|
|
634
634
|
zepben/ewb/streaming/mutations/update_network_state_service.py,sha256=irR-TO67QXRyBmK8PU8SzM31NKSSefZt_nQGHi5IhT8,3260
|
|
635
635
|
zepben/ewb/testing/__init__.py,sha256=waADXEvfUG9wAN4STx5uIUHOv0UnpZLH2qU1LXgaDBc,243
|
|
636
636
|
zepben/ewb/testing/test_network_builder.py,sha256=KG0o2ZHUswx3xClu-JnLs_pYIYbQ5jjtvtyZ7LI6IZ8,38092
|
|
637
|
-
zepben_ewb-1.0.
|
|
638
|
-
zepben_ewb-1.0.
|
|
639
|
-
zepben_ewb-1.0.
|
|
640
|
-
zepben_ewb-1.0.
|
|
641
|
-
zepben_ewb-1.0.
|
|
637
|
+
zepben_ewb-1.0.4.dist-info/licenses/LICENSE,sha256=aAHD66h6PQIETpkJDvg5yEObyFvXUED8u7S8dlh6K0Y,16725
|
|
638
|
+
zepben_ewb-1.0.4.dist-info/METADATA,sha256=meLBClxSajX-xHkZTJD0e45Y7ynuY2Vw3N2Kz4ucxXg,3215
|
|
639
|
+
zepben_ewb-1.0.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
640
|
+
zepben_ewb-1.0.4.dist-info/top_level.txt,sha256=eVLDJiO6FGjL_Z7KdmFE-R8uf1Q07aaVLGe9Ee4kmBw,7
|
|
641
|
+
zepben_ewb-1.0.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|