kodexa 7.0.8325598224__py3-none-any.whl → 7.0.8367298365__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.
- kodexa/pipeline/pipeline.py +4 -3
- {kodexa-7.0.8325598224.dist-info → kodexa-7.0.8367298365.dist-info}/METADATA +1 -1
- {kodexa-7.0.8325598224.dist-info → kodexa-7.0.8367298365.dist-info}/RECORD +5 -5
- {kodexa-7.0.8325598224.dist-info → kodexa-7.0.8367298365.dist-info}/LICENSE +0 -0
- {kodexa-7.0.8325598224.dist-info → kodexa-7.0.8367298365.dist-info}/WHEEL +0 -0
kodexa/pipeline/pipeline.py
CHANGED
@@ -132,16 +132,17 @@ class PipelineContext:
|
|
132
132
|
self.cancellation_handler = cancellation_handler
|
133
133
|
|
134
134
|
def update_status(
|
135
|
-
self, status_message: str,
|
135
|
+
self, status_message: str, progress: Optional[int] = None, progress_max: Optional[int] = None
|
136
136
|
):
|
137
137
|
"""Updates the status of the pipeline.
|
138
138
|
|
139
139
|
Args:
|
140
140
|
status_message (str): The status message.
|
141
|
-
|
141
|
+
progress (int, optional): The progress of the pipeline. Defaults to None.
|
142
|
+
progress_max (int, optional): The maximum progress of the pipeline. Defaults to None.
|
142
143
|
"""
|
143
144
|
if self.status_handler is not None:
|
144
|
-
self.status_handler(status_message,
|
145
|
+
self.status_handler(status_message, progress, progress_max)
|
145
146
|
|
146
147
|
def is_cancelled(self) -> bool:
|
147
148
|
"""Checks if the pipeline is cancelled.
|
@@ -9,7 +9,7 @@ kodexa/model/model.py,sha256=vVdz2W1LVXIZEtXFjdIZ3L4wxcGiQB--dQRUkN2VsRw,115491
|
|
9
9
|
kodexa/model/objects.py,sha256=fljlPCl5uvAuLpCq-UOHHbcEGEi6RYZiK-vpVO1XIZU,173731
|
10
10
|
kodexa/model/persistence.py,sha256=XiVGKf6PnqKscO9KzZegED-xvuphrFc9IZ7rWCiUa9I,61841
|
11
11
|
kodexa/pipeline/__init__.py,sha256=sA7f5D6qkdMrpp2xTIeefnrUBI6xxEEWostvxfX_1Cs,236
|
12
|
-
kodexa/pipeline/pipeline.py,sha256=
|
12
|
+
kodexa/pipeline/pipeline.py,sha256=ZYpJAWcwV4YRK589DUhU0vXGQlkNSj4J2TsGbYqTLjo,25221
|
13
13
|
kodexa/platform/__init__.py,sha256=1O3oiWMg292NPL_NacKDnK1T3_R6cMorrPRue_9e-O4,216
|
14
14
|
kodexa/platform/client.py,sha256=EHk0L9mYAJXRdMvwvc-fm4IwPqnNQKUisMQqgyTDzFE,213246
|
15
15
|
kodexa/platform/interaction.py,sha256=6zpcwXKNZstUGNS6m4JsoRXAqCZPJHWI-ZN3co8nnF0,1055
|
@@ -35,7 +35,7 @@ kodexa/testing/test_components.py,sha256=g5lP-GY0nTHuH5cIEw45vIejEeBaWkPKQGHL36j
|
|
35
35
|
kodexa/testing/test_utils.py,sha256=DrLCkHxdb6AbZ-X3WmTMbQmnVIm55VEBL8MjtUK9POs,14021
|
36
36
|
kodexa/training/__init__.py,sha256=xs2L62YpRkIRfslQwtQZ5Yxjhm7sLzX2TrVX6EuBnZQ,52
|
37
37
|
kodexa/training/train_utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
38
|
-
kodexa-7.0.
|
39
|
-
kodexa-7.0.
|
40
|
-
kodexa-7.0.
|
41
|
-
kodexa-7.0.
|
38
|
+
kodexa-7.0.8367298365.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
|
39
|
+
kodexa-7.0.8367298365.dist-info/METADATA,sha256=xedcKBhEhME853tL6YJzdDKrd6rUufxS8RDED3lj0yc,3493
|
40
|
+
kodexa-7.0.8367298365.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
41
|
+
kodexa-7.0.8367298365.dist-info/RECORD,,
|
File without changes
|
File without changes
|