solax-py-library 1.0.0.2505__py3-none-any.whl → 1.0.0.2506__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.
@@ -1,7 +1,7 @@
1
1
  class BaseCondition(object):
2
2
  def __init__(self, update_value_function, **kwargs):
3
3
  self.value = {}
4
- if callable(update_value_function):
4
+ if not callable(update_value_function):
5
5
  raise ValueError("update_value_function must be callable")
6
6
  self.update_value_function = update_value_function
7
7
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: solax-py-library
3
- Version: 1.0.0.2505
3
+ Version: 1.0.0.2506
4
4
  Summary: some common tool
5
5
  Author: shenlvyu
6
6
  Author-email: 13296718439@163.com
@@ -20,7 +20,7 @@ solax_py_library/smart_scene/core/action/base.py,sha256=vSC3rL9qfPy41Nlds_0QcTLM
20
20
  solax_py_library/smart_scene/core/action/ems_action.py,sha256=tasL7pUJbnmrEEokAa9Mug5eUFvHuFKGYZKNvNMdrBs,610
21
21
  solax_py_library/smart_scene/core/action/system_action.py,sha256=mVLTg9pZ7tDayLbr3I92a33snA2AGT3meUdm_XYDQEc,10839
22
22
  solax_py_library/smart_scene/core/condition/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
23
- solax_py_library/smart_scene/core/condition/base.py,sha256=T3R18uYh-XLXOXdtn_WwHS4nBoakJomHWLLAjs-0K1I,425
23
+ solax_py_library/smart_scene/core/condition/base.py,sha256=SIxUieoHkiuRQvmUCkI22knFzOlHkmAcbsuOWJeQGHk,429
24
24
  solax_py_library/smart_scene/core/condition/cabinet_condition.py,sha256=YhjmwgFBlugkMeRz6zfu1bV_Q-2LAbq5vjHfZgewSXE,1518
25
25
  solax_py_library/smart_scene/core/condition/date_condition.py,sha256=8dbYhftUzGKQJkDqIkV_hjf4PIhKJrUCo9fv-_93sl8,855
26
26
  solax_py_library/smart_scene/core/condition/price_condition.py,sha256=kAIkg5VxTOd5gTRHzqU23ZgFYSkcvF_haqzVKA-uDZc,3768
@@ -73,6 +73,6 @@ solax_py_library/utils/cloud_client.py,sha256=5dZrc5fzrNFSXqTPZd7oHt-Y9Jj6RCigB7
73
73
  solax_py_library/utils/common.py,sha256=bfnZcX9uM-PjJrYAFv1UMmZgt6bGR7MaOd7jRPNHGxw,1238
74
74
  solax_py_library/utils/struct_util.py,sha256=4SKx5IyAke88PGHPHDK3OEDtyGHdapGoQ1BnGR0F2ts,913
75
75
  solax_py_library/utils/time_util.py,sha256=bY5kj9dmyOuLEQ6uYGQK7jU7y1RMiHZgevEKnkcQcSU,1461
76
- solax_py_library-1.0.0.2505.dist-info/METADATA,sha256=jOd5pWKpjqCsjSgbTTldGESf1Xx7uC4opleGUeCivtU,1827
77
- solax_py_library-1.0.0.2505.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
78
- solax_py_library-1.0.0.2505.dist-info/RECORD,,
76
+ solax_py_library-1.0.0.2506.dist-info/METADATA,sha256=yyiZpAecq-uen8JLzkNWPh7AmdZeT-2AcHGZr2ZcCVc,1827
77
+ solax_py_library-1.0.0.2506.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
78
+ solax_py_library-1.0.0.2506.dist-info/RECORD,,