FlowerPower 0.11.6.18__py3-none-any.whl → 0.11.6.20__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.
- flowerpower/cli/job_queue.py +1 -1
- flowerpower/plugins/io/base.py +9 -3
- {flowerpower-0.11.6.18.dist-info → flowerpower-0.11.6.20.dist-info}/METADATA +1 -1
- {flowerpower-0.11.6.18.dist-info → flowerpower-0.11.6.20.dist-info}/RECORD +8 -8
- {flowerpower-0.11.6.18.dist-info → flowerpower-0.11.6.20.dist-info}/WHEEL +0 -0
- {flowerpower-0.11.6.18.dist-info → flowerpower-0.11.6.20.dist-info}/entry_points.txt +0 -0
- {flowerpower-0.11.6.18.dist-info → flowerpower-0.11.6.20.dist-info}/licenses/LICENSE +0 -0
- {flowerpower-0.11.6.18.dist-info → flowerpower-0.11.6.20.dist-info}/top_level.txt +0 -0
flowerpower/cli/job_queue.py
CHANGED
@@ -81,7 +81,7 @@ def start_worker(
|
|
81
81
|
log_level=log_level,
|
82
82
|
) as worker:
|
83
83
|
if num_workers:
|
84
|
-
num_workers = worker.cfg.
|
84
|
+
num_workers = worker.cfg.num_workers
|
85
85
|
|
86
86
|
if num_workers and num_workers > 1:
|
87
87
|
worker.start_worker_pool(num_workers=num_workers, background=background)
|
flowerpower/plugins/io/base.py
CHANGED
@@ -112,9 +112,15 @@ class BaseFileIO(msgspec.Struct, gc=False):
|
|
112
112
|
@property
|
113
113
|
def _base_path(self) -> str:
|
114
114
|
"""Get the base path for the filesystem."""
|
115
|
-
|
116
|
-
|
117
|
-
|
115
|
+
if isinstance(self.path, list):
|
116
|
+
base_path = posixpath.commonpath(self.path).rstrip("/*")
|
117
|
+
else:
|
118
|
+
base_path = self.path
|
119
|
+
|
120
|
+
if self.format in base_path:
|
121
|
+
base_path = posixpath.dirname(base_path).rstrip("/")
|
122
|
+
|
123
|
+
return base_path
|
118
124
|
|
119
125
|
@property
|
120
126
|
def _path(self) -> str | list[str]:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: FlowerPower
|
3
|
-
Version: 0.11.6.
|
3
|
+
Version: 0.11.6.20
|
4
4
|
Summary: A simple workflow framework. Hamilton + APScheduler = FlowerPower
|
5
5
|
Author-email: "Volker L." <ligno.blades@gmail.com>
|
6
6
|
Project-URL: Homepage, https://github.com/legout/flowerpower
|
@@ -12,7 +12,7 @@ flowerpower/cfg/project/adapter.py,sha256=zIBwelSoQJ277_SA506tYEVSf0kEPJODaggocY
|
|
12
12
|
flowerpower/cfg/project/job_queue.py,sha256=vj4kW86MXnqmew_r9GRTZZwfnSj_Ui586fX1Q-n6qTI,10369
|
13
13
|
flowerpower/cli/__init__.py,sha256=ys6uxRJyunYUAZYTtLkNYKqRdOG02A2YmXw_beDEib0,5730
|
14
14
|
flowerpower/cli/cfg.py,sha256=B9yV6g9bTGRXOR1PewQTxf_XfcYbcsE3GeLAxlbE2qc,1530
|
15
|
-
flowerpower/cli/job_queue.py,sha256=
|
15
|
+
flowerpower/cli/job_queue.py,sha256=IKNWw3WSGIOrW-TYC7TDE6DeOSRG1hxnvPtQFn2XwU4,37145
|
16
16
|
flowerpower/cli/mqtt.py,sha256=GM5d6bzG01THZd7SwXFAC3j0cait642eXT50P3R22vk,6281
|
17
17
|
flowerpower/cli/pipeline.py,sha256=60P6u_QOSgp0jJXEMxazEEo5Sh7-SWFo-Kkuaz21YuI,37845
|
18
18
|
flowerpower/cli/utils.py,sha256=nDSSj_1nlYlMmj252kRZeohhFqHv9yvdgDEduQCyWOc,5152
|
@@ -44,7 +44,7 @@ flowerpower/pipeline/manager.py,sha256=KVpOclUEUAETUNJamJJGuKt3oxCaLitQgxWxkE1q0
|
|
44
44
|
flowerpower/pipeline/registry.py,sha256=6ngmHyKyQsxvIO4qRYxljedY0BE1wE3lpfksEGOzjNs,18963
|
45
45
|
flowerpower/pipeline/runner.py,sha256=dsSVYixFXqlxFk8EJfT4wV_7IwgkXq0ErwH_yf_NGS8,25654
|
46
46
|
flowerpower/pipeline/visualizer.py,sha256=amjMrl5NetErE198HzZBPWVZBi_t5jj9ydxWpuNLoTI,5013
|
47
|
-
flowerpower/plugins/io/base.py,sha256=
|
47
|
+
flowerpower/plugins/io/base.py,sha256=6jL6b_kaM_UGyP_3YKLjHfz66xNAAZH1sp36JZyQz8g,97270
|
48
48
|
flowerpower/plugins/io/metadata.py,sha256=PCrepLilXRWKDsB5BKFF_-OFs712s1zBeitW-84lDLQ,7005
|
49
49
|
flowerpower/plugins/io/helpers/datetime.py,sha256=1WBUg2ywcsodJQwoF6JiIGc9yhVobvE2IErWp4i95m4,10649
|
50
50
|
flowerpower/plugins/io/helpers/polars.py,sha256=2U0XMIDGWr7b7GcD7Qc0v-tSdZz_IiNo1Ws5kSOju6U,29359
|
@@ -94,9 +94,9 @@ flowerpower/utils/monkey.py,sha256=VPl3yimoWhwD9kI05BFsjNvtyQiDyLfY4Q85Bb6Ma0w,2
|
|
94
94
|
flowerpower/utils/open_telemetry.py,sha256=fQWJWbIQFtKIxMBjAWeF12NGnqT0isO3A3j-DSOv_vE,949
|
95
95
|
flowerpower/utils/scheduler.py,sha256=2zJ_xmLXpvXUQNF1XS2Gqm3Ogo907ctZ50GtvQB_rhE,9354
|
96
96
|
flowerpower/utils/templates.py,sha256=ouyEeSDqa9PjW8c32fGpcINlpC0WToawRFZkMPtwsLE,1591
|
97
|
-
flowerpower-0.11.6.
|
98
|
-
flowerpower-0.11.6.
|
99
|
-
flowerpower-0.11.6.
|
100
|
-
flowerpower-0.11.6.
|
101
|
-
flowerpower-0.11.6.
|
102
|
-
flowerpower-0.11.6.
|
97
|
+
flowerpower-0.11.6.20.dist-info/licenses/LICENSE,sha256=9AkLexxrmr0aBgSHiqxpJk9wgazpP1CTJyiDyr56J9k,1063
|
98
|
+
flowerpower-0.11.6.20.dist-info/METADATA,sha256=8R1Z8YSTAbhnhg1Bwmq_b5UFRduIMI7o73_pxXy2JP4,21613
|
99
|
+
flowerpower-0.11.6.20.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
100
|
+
flowerpower-0.11.6.20.dist-info/entry_points.txt,sha256=61X11i5a2IwC9LBiP20XCDl5zMOigGCjMCx17B7bDbQ,52
|
101
|
+
flowerpower-0.11.6.20.dist-info/top_level.txt,sha256=VraH4WtEUfSxs5L-rXwDQhzQb9eLHTUtgvmFZ2dAYnA,12
|
102
|
+
flowerpower-0.11.6.20.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|