algomancy-scenario 0.3.13__py3-none-any.whl → 0.3.16__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.
@@ -13,7 +13,6 @@ from .scenario import Scenario, ScenarioStatus
13
13
  from .scenariomanager import ScenarioManager
14
14
  from .basealgorithm import ALGORITHM, BaseAlgorithm
15
15
 
16
-
17
16
  __all__ = [
18
17
  "BaseParameterSet",
19
18
  "IntegerParameter",
@@ -17,6 +17,8 @@ class CoreConfiguration:
17
17
 
18
18
  def __init__(
19
19
  self,
20
+ # === session manager configuration ===
21
+ use_sessions: bool = False,
20
22
  # === path specifications ===
21
23
  data_path: str = "data",
22
24
  # === data manager configuration ===
@@ -37,6 +39,9 @@ class CoreConfiguration:
37
39
  title: str = "Algomancy",
38
40
  **_: Any,
39
41
  ) -> None:
42
+ # session management
43
+ self.use_sessions = use_sessions
44
+
40
45
  # paths
41
46
  self.data_path = data_path
42
47
 
@@ -61,6 +66,7 @@ class CoreConfiguration:
61
66
  # ----- public API -----
62
67
  def as_dict(self) -> Dict[str, Any]:
63
68
  return {
69
+ "use_sessions": self.use_sessions,
64
70
  "data_path": self.data_path,
65
71
  "has_persistent_state": self.has_persistent_state,
66
72
  "save_type": self.save_type,
@@ -1,11 +1,12 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: algomancy-scenario
3
- Version: 0.3.13
3
+ Version: 0.3.16
4
4
  Summary: Scenario management model for the Algomancy library
5
5
  Author: Pepijn Wissing
6
6
  Author-email: Pepijn Wissing <Wsg@cqm.nl>
7
7
  Requires-Dist: algomancy-utils
8
8
  Requires-Dist: algomancy-data
9
+ Requires-Dist: strenum>=0.4.15
9
10
  Requires-Python: >=3.14
10
11
  Description-Content-Type: text/markdown
11
12
 
@@ -1,7 +1,7 @@
1
- algomancy_scenario/__init__.py,sha256=m6FLBac2tEwg8KGBG1eXSmOO84tQBsMfaMtP5YBnxPQ,952
1
+ algomancy_scenario/__init__.py,sha256=VjfTFvG0mGdgReKbcp0LRKtakKtzuuLQRxpiei4-Vqg,951
2
2
  algomancy_scenario/algorithmfactory.py,sha256=HXobbXLkny1gIxPLda_NI7Bur6EeSYewFV-y-5lU4NA,1711
3
3
  algomancy_scenario/basealgorithm.py,sha256=5YatHK7ym9BHaqyowIs38_7k4QZrs8AAQTJxQOlzkKY,2160
4
- algomancy_scenario/core_configuration.py,sha256=F-kMj08x9YgNW7RBk28QAOc9TTx3pZQDPNBWz3yk58w,5126
4
+ algomancy_scenario/core_configuration.py,sha256=FAk6n6FvlfKjNflQevDhBU2NyHLP5RMcN0QipIu-yk0,5328
5
5
  algomancy_scenario/keyperformanceindicator.py,sha256=PbuENywT9jLEaC1p_hbINaRl-815Wpx5NiFQo8Dagro,4296
6
6
  algomancy_scenario/kpifactory.py,sha256=cthdu7hCmy8XJD29jfOXlC3_nBgULkOL1mRlpbUPOBY,1682
7
7
  algomancy_scenario/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -11,6 +11,6 @@ algomancy_scenario/scenariofactory.py,sha256=HKP6mDDzmiOlOSecRHDkqTfQzeN_lBDdGIp
11
11
  algomancy_scenario/scenariomanager.py,sha256=LEFCPSd8jbCWBJBeGcQBD376ipxneaosJf7PstHsHm8,13150
12
12
  algomancy_scenario/scenarioprocessor.py,sha256=iXQnV0SCG1Mdz4AwgLJmeIGTDTyXzlhD_SOdCb9_eKM,1898
13
13
  algomancy_scenario/scenarioregistry.py,sha256=VMtZUQTsX_n_Sd8-cLilK3GhyQ7NzLVZqT_tiMAEd20,1708
14
- algomancy_scenario-0.3.13.dist-info/WHEEL,sha256=XjEbIc5-wIORjWaafhI6vBtlxDBp7S9KiujWF1EM7Ak,79
15
- algomancy_scenario-0.3.13.dist-info/METADATA,sha256=8TEa4yXPWSWeOpr6Y8qYT3cGSau11ASfi1ubqIkDVRs,2556
16
- algomancy_scenario-0.3.13.dist-info/RECORD,,
14
+ algomancy_scenario-0.3.16.dist-info/WHEEL,sha256=fAguSjoiATBe7TNBkJwOjyL1Tt4wwiaQGtNtjRPNMQA,80
15
+ algomancy_scenario-0.3.16.dist-info/METADATA,sha256=jt3uv13M3JBlcP3hchwbcMJSSW6-y7n-4RBtDPU9G0k,2587
16
+ algomancy_scenario-0.3.16.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: uv 0.9.25
2
+ Generator: uv 0.9.28
3
3
  Root-Is-Purelib: true
4
- Tag: py3-none-any
4
+ Tag: py3-none-any