scalable-pypeline 2.0.7__tar.gz → 2.0.8__tar.gz
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.
- {scalable-pypeline-2.0.7/scalable_pypeline.egg-info → scalable-pypeline-2.0.8}/PKG-INFO +1 -1
- scalable-pypeline-2.0.8/pypeline/__init__.py +1 -0
- {scalable-pypeline-2.0.7 → scalable-pypeline-2.0.8}/pypeline/dramatiq.py +11 -4
- {scalable-pypeline-2.0.7 → scalable-pypeline-2.0.8/scalable_pypeline.egg-info}/PKG-INFO +1 -1
- scalable-pypeline-2.0.7/pypeline/__init__.py +0 -1
- {scalable-pypeline-2.0.7 → scalable-pypeline-2.0.8}/LICENSE +0 -0
- {scalable-pypeline-2.0.7 → scalable-pypeline-2.0.8}/MANIFEST.in +0 -0
- {scalable-pypeline-2.0.7 → scalable-pypeline-2.0.8}/README.md +0 -0
- {scalable-pypeline-2.0.7 → scalable-pypeline-2.0.8}/pypeline/barrier.py +0 -0
- {scalable-pypeline-2.0.7 → scalable-pypeline-2.0.8}/pypeline/composition.py +0 -0
- {scalable-pypeline-2.0.7 → scalable-pypeline-2.0.8}/pypeline/constants.py +0 -0
- {scalable-pypeline-2.0.7 → scalable-pypeline-2.0.8}/pypeline/extensions.py +0 -0
- {scalable-pypeline-2.0.7 → scalable-pypeline-2.0.8}/pypeline/flask/__init__.py +0 -0
- {scalable-pypeline-2.0.7 → scalable-pypeline-2.0.8}/pypeline/flask/api/__init__.py +0 -0
- {scalable-pypeline-2.0.7 → scalable-pypeline-2.0.8}/pypeline/flask/api/pipelines.py +0 -0
- {scalable-pypeline-2.0.7 → scalable-pypeline-2.0.8}/pypeline/flask/api/schedules.py +0 -0
- {scalable-pypeline-2.0.7 → scalable-pypeline-2.0.8}/pypeline/flask/decorators.py +0 -0
- {scalable-pypeline-2.0.7 → scalable-pypeline-2.0.8}/pypeline/flask/flask_pypeline.py +0 -0
- {scalable-pypeline-2.0.7 → scalable-pypeline-2.0.8}/pypeline/middleware.py +0 -0
- {scalable-pypeline-2.0.7 → scalable-pypeline-2.0.8}/pypeline/pipeline_config_schema.py +0 -0
- {scalable-pypeline-2.0.7 → scalable-pypeline-2.0.8}/pypeline/pypeline_yaml.py +0 -0
- {scalable-pypeline-2.0.7 → scalable-pypeline-2.0.8}/pypeline/schedule_config_schema.py +0 -0
- {scalable-pypeline-2.0.7 → scalable-pypeline-2.0.8}/pypeline/utils/__init__.py +0 -0
- {scalable-pypeline-2.0.7 → scalable-pypeline-2.0.8}/pypeline/utils/config_utils.py +0 -0
- {scalable-pypeline-2.0.7 → scalable-pypeline-2.0.8}/pypeline/utils/module_utils.py +0 -0
- {scalable-pypeline-2.0.7 → scalable-pypeline-2.0.8}/pypeline/utils/pipeline_utils.py +0 -0
- {scalable-pypeline-2.0.7 → scalable-pypeline-2.0.8}/requirements.txt +0 -0
- {scalable-pypeline-2.0.7 → scalable-pypeline-2.0.8}/scalable_pypeline.egg-info/SOURCES.txt +0 -0
- {scalable-pypeline-2.0.7 → scalable-pypeline-2.0.8}/scalable_pypeline.egg-info/dependency_links.txt +0 -0
- {scalable-pypeline-2.0.7 → scalable-pypeline-2.0.8}/scalable_pypeline.egg-info/entry_points.txt +0 -0
- {scalable-pypeline-2.0.7 → scalable-pypeline-2.0.8}/scalable_pypeline.egg-info/requires.txt +0 -0
- {scalable-pypeline-2.0.7 → scalable-pypeline-2.0.8}/scalable_pypeline.egg-info/top_level.txt +0 -0
- {scalable-pypeline-2.0.7 → scalable-pypeline-2.0.8}/setup.cfg +0 -0
- {scalable-pypeline-2.0.7 → scalable-pypeline-2.0.8}/setup.py +0 -0
- {scalable-pypeline-2.0.7 → scalable-pypeline-2.0.8}/tests/fixtures/__init__.py +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = "2.0.8"
|
@@ -179,8 +179,7 @@ def register_actors_for_workers(broker: Broker):
|
|
179
179
|
pipeline_meta["store_results"] = True
|
180
180
|
_ = register_lazy_actor(broker, tmp_handler, pipeline_meta)
|
181
181
|
except Exception as e:
|
182
|
-
|
183
|
-
print(f"Unable to add a task to dramatiq: {e}")
|
182
|
+
logger.exception(f"Unable to add a task to dramatiq: {e}")
|
184
183
|
|
185
184
|
|
186
185
|
class Dramatiq:
|
@@ -260,7 +259,7 @@ class Dramatiq:
|
|
260
259
|
|
261
260
|
# Callable function is expected to setBroker()
|
262
261
|
if callable(broker_or_callable):
|
263
|
-
|
262
|
+
logger.info(f"Configuring broker via {DEFAULT_BROKER_CALLABLE}")
|
264
263
|
broker_or_callable()
|
265
264
|
else:
|
266
265
|
raise TypeError("DEFAULT_BROKER_CALLABLE must point to a callable function")
|
@@ -368,7 +367,15 @@ def list_managed_actors(broker, queues):
|
|
368
367
|
def cron_scheduler(): # pragma: no cover
|
369
368
|
# Configure our broker that we will schedule registered tasks for
|
370
369
|
scheduler = BlockingScheduler()
|
371
|
-
|
370
|
+
module_name, broker_or_callable = import_object(DEFAULT_BROKER_CALLABLE)
|
371
|
+
|
372
|
+
# Callable function is expected to setBroker()
|
373
|
+
if callable(broker_or_callable):
|
374
|
+
logger.info(f"Configuring broker via {DEFAULT_BROKER_CALLABLE}")
|
375
|
+
broker_or_callable()
|
376
|
+
else:
|
377
|
+
raise TypeError("DEFAULT_BROKER_CALLABLE must point to a callable function")
|
378
|
+
|
372
379
|
broker = get_broker()
|
373
380
|
jobs = retrieve_latest_schedule_config()
|
374
381
|
|
@@ -1 +0,0 @@
|
|
1
|
-
__version__ = "2.0.7"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{scalable-pypeline-2.0.7 → scalable-pypeline-2.0.8}/scalable_pypeline.egg-info/dependency_links.txt
RENAMED
File without changes
|
{scalable-pypeline-2.0.7 → scalable-pypeline-2.0.8}/scalable_pypeline.egg-info/entry_points.txt
RENAMED
File without changes
|
File without changes
|
{scalable-pypeline-2.0.7 → scalable-pypeline-2.0.8}/scalable_pypeline.egg-info/top_level.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|