zepben.ewb 1.1.0b5__py3-none-any.whl → 1.1.0b6__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.
@@ -83,6 +83,8 @@ class ControlledAppliance:
83
83
  if len(appliances) > 1:
84
84
  _ = [acc := f(acc, app) for app in appliances[1:]]
85
85
  self._bitmask = acc
86
+ else:
87
+ raise TypeError('appliances must be a int or Appliance')
86
88
 
87
89
  @property
88
90
  def bitmask(self):
@@ -30,8 +30,8 @@ class CollectionDifference(Difference):
30
30
 
31
31
  @dataclass()
32
32
  class ObjectDifference(Difference):
33
- source: T
34
- target: T
33
+ source: IdentifiedObject
34
+ target: IdentifiedObject
35
35
  differences: Dict[str, Difference] = field(default_factory=dict)
36
36
 
37
37
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: zepben.ewb
3
- Version: 1.1.0b5
3
+ Version: 1.1.0b6
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
@@ -15,17 +15,18 @@ Requires-Python: <3.13,>=3.10
15
15
  Description-Content-Type: text/markdown
16
16
  License-File: LICENSE
17
17
  Requires-Dist: zepben.protobuf==1.0.0
18
- Requires-Dist: typing_extensions==4.12.2
19
- Requires-Dist: requests<3.0.0,>=2.26.0
20
- Requires-Dist: urllib3<1.27.0,>=1.26.6
21
- Requires-Dist: PyJWT<2.2.0,>=2.1.0
18
+ Requires-Dist: typing_extensions==4.14.1
19
+ Requires-Dist: requests==2.32.5
20
+ Requires-Dist: urllib3==2.5.0
21
+ Requires-Dist: PyJWT==2.10.1
22
+ Requires-Dist: dataclassy==0.6.2
22
23
  Provides-Extra: test
23
- Requires-Dist: pytest<9,>=7.4.4; extra == "test"
24
- Requires-Dist: pytest-cov==6.1.1; extra == "test"
25
- Requires-Dist: pytest-asyncio==0.26.0; extra == "test"
24
+ Requires-Dist: pytest==8.4.1; extra == "test"
25
+ Requires-Dist: pytest-cov==6.2.1; extra == "test"
26
+ Requires-Dist: pytest-asyncio==1.1.0; extra == "test"
26
27
  Requires-Dist: pytest-timeout==2.4.0; extra == "test"
27
- Requires-Dist: pytest-subtests; extra == "test"
28
- Requires-Dist: hypothesis==6.119.4; extra == "test"
28
+ Requires-Dist: pytest-subtests==0.14.2; extra == "test"
29
+ Requires-Dist: hypothesis==6.140.3; extra == "test"
29
30
  Requires-Dist: grpcio-testing==1.61.3; extra == "test"
30
31
  Requires-Dist: pylint==2.14.5; extra == "test"
31
32
  Requires-Dist: six==1.16.0; extra == "test"
@@ -366,7 +366,7 @@ zepben/ewb/model/cim/iec61968/infiec61968/infassets/streetlight_lamp_kind.py,sha
366
366
  zepben/ewb/model/cim/iec61968/infiec61968/infcommon/__init__.py,sha256=waADXEvfUG9wAN4STx5uIUHOv0UnpZLH2qU1LXgaDBc,243
367
367
  zepben/ewb/model/cim/iec61968/infiec61968/infcommon/ratio.py,sha256=1AHSbspQH822s7Pwx6oHUpFXgSaNh0rGNi9IVZJMXMc,1190
368
368
  zepben/ewb/model/cim/iec61968/metering/__init__.py,sha256=waADXEvfUG9wAN4STx5uIUHOv0UnpZLH2qU1LXgaDBc,243
369
- zepben/ewb/model/cim/iec61968/metering/controlled_appliance.py,sha256=wvGmpMqoKz6UoE6zzMbW6m3ma5I0ye7qNR_CCIUTdUE,4390
369
+ zepben/ewb/model/cim/iec61968/metering/controlled_appliance.py,sha256=3yU3yuKomb4V5BefJ5x7usVMTQOaggfVlYmL7KjqR-M,4473
370
370
  zepben/ewb/model/cim/iec61968/metering/end_device.py,sha256=UzmPz-thDn5FeLuckKuTWCeMXlTtgltHr9t1BYdOFpw,6594
371
371
  zepben/ewb/model/cim/iec61968/metering/end_device_function.py,sha256=AHZjuTs9TDeVX3SDhoHX2bCE6zwiUTfxVBWvA-k25aA,582
372
372
  zepben/ewb/model/cim/iec61968/metering/end_device_function_kind.py,sha256=c0cze0jp3SgOvEE2qZqL_ye3RLLvR3UIG5mAD8Slf4U,1299
@@ -502,7 +502,7 @@ zepben/ewb/services/services.py,sha256=BQxw0oscF2j-nOHVpyDsTa2h6rLoaGEBBagaBcjZT
502
502
  zepben/ewb/services/common/__init__.py,sha256=yWD_2hLps_qzUFigJx1MY4Fer-UL9zQKtwuHlreYPis,956
503
503
  zepben/ewb/services/common/base_service.py,sha256=xvfIuChJMqD-FOU6iFhxjjt4iKb9Lm3ulwMZ5wksn_4,18547
504
504
  zepben/ewb/services/common/base_service_comparator.py,sha256=uHHBfWTSbJD3yvpb5o6cMMhXK1s4I1ygyRyTdGa-Mp4,18664
505
- zepben/ewb/services/common/difference.py,sha256=CImgrjWPRlpE79ENKoR7mQmiwIYRZWUcPci3YS7ZCSE,1184
505
+ zepben/ewb/services/common/difference.py,sha256=KbMd6PV4_CKSHVvR9evc6EcQYD2gBHd3_bKtYu_FWzQ,1214
506
506
  zepben/ewb/services/common/enum_mapper.py,sha256=B3FJLg5HVOc_wdFbokjKSgPudHWjUzGI6RyihzEoBvU,2323
507
507
  zepben/ewb/services/common/reference_resolvers.py,sha256=M8QDJWtcOdrcl4-pXOg5dY9xGSFPM4KnqwKT-D9_-fM,26914
508
508
  zepben/ewb/services/common/resolver.py,sha256=SaH5azHzq1cQsikbaf3i_ODA73rHyELyEm1s3Mu-tyw,26165
@@ -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.1.0b5.dist-info/licenses/LICENSE,sha256=aAHD66h6PQIETpkJDvg5yEObyFvXUED8u7S8dlh6K0Y,16725
638
- zepben_ewb-1.1.0b5.dist-info/METADATA,sha256=AJu_IZWH3Tk8kfebhBYoh4pfyqMPZ-N6ShKimidIkeY,3217
639
- zepben_ewb-1.1.0b5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
640
- zepben_ewb-1.1.0b5.dist-info/top_level.txt,sha256=eVLDJiO6FGjL_Z7KdmFE-R8uf1Q07aaVLGe9Ee4kmBw,7
641
- zepben_ewb-1.1.0b5.dist-info/RECORD,,
637
+ zepben_ewb-1.1.0b6.dist-info/licenses/LICENSE,sha256=aAHD66h6PQIETpkJDvg5yEObyFvXUED8u7S8dlh6K0Y,16725
638
+ zepben_ewb-1.1.0b6.dist-info/METADATA,sha256=UyEQUhwT3LJSz7nRPfnbA8wdmOsiwXjzQoPkbgzLe3Y,3232
639
+ zepben_ewb-1.1.0b6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
640
+ zepben_ewb-1.1.0b6.dist-info/top_level.txt,sha256=eVLDJiO6FGjL_Z7KdmFE-R8uf1Q07aaVLGe9Ee4kmBw,7
641
+ zepben_ewb-1.1.0b6.dist-info/RECORD,,