scalable-pypeline 1.2.0__py2.py3-none-any.whl → 1.2.1__py2.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.
pypeline/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '1.2.0'
1
+ __version__ = '1.2.1'
@@ -36,7 +36,7 @@ class ChainedTask(Task):
36
36
  return super(ChainedTask, self).__call__(*args, **kwargs)
37
37
 
38
38
  def after_return(self, status, retval, task_id, args, kwargs, einfo):
39
- if "event" in kwargs:
39
+ if "event" in kwargs and "pipeline_id" in kwargs["event"]:
40
40
  try:
41
41
  pipeline_run_wrapper: PipelineRunWrapper = \
42
42
  PipelineRunWrapper.from_event(kwargs["event"])
@@ -53,7 +53,7 @@ class ChainedTask(Task):
53
53
  logger.exception(f"Failed to update celery task status for task {task_id}")
54
54
 
55
55
  def on_retry(self, exc, task_id, args, kwargs, einfo):
56
- if "event" in kwargs:
56
+ if "event" in kwargs and "pipeline_id" in kwargs["event"]:
57
57
  try:
58
58
  pipeline_run_wrapper: PipelineRunWrapper = \
59
59
  PipelineRunWrapper.from_event(kwargs["event"])
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: scalable-pypeline
3
- Version: 1.2.0
3
+ Version: 1.2.1
4
4
  Summary: PypeLine - Python pipelines for the Real World
5
5
  Home-page: https://gitlab.com/bravos2/pypeline
6
6
  Author: Bravos Power Corporation
@@ -1,4 +1,4 @@
1
- pypeline/__init__.py,sha256=U3f_Jgr3zpgiYG2kLcvcT05TQsVzN9Kktg_f3Q9OZFA,22
1
+ pypeline/__init__.py,sha256=kmfHpHo2YhSrigutlRQs8qXIR8nEm-D-c8lScQQN64M,22
2
2
  pypeline/celery.py,sha256=rbMCQQqevhdcyFYJSyoQT2b_NAbL3Inc9S789AtzN_w,9038
3
3
  pypeline/celery_beat.py,sha256=KNmEpZEFOadVTwtRJtgX0AirSSNq65PFLJer4Hsq-xw,10759
4
4
  pypeline/constants.py,sha256=VxCIBXpEsXiLxDN3PV2pxNd3bx6Gfpk3g1nTI3XMxUI,4185
@@ -16,7 +16,7 @@ pypeline/flask/api/pipelines.py,sha256=l12HnLC6GQfF6cd5gEnQjIgzO7xajZtidJ04JQMIw
16
16
  pypeline/flask/api/schedules.py,sha256=AHiGYzZL__1sq5KZho75VwPWCn9Pz_ooNM179uKuQ7Q,2314
17
17
  pypeline/flask/api/utils.py,sha256=bkUBZIbJHaG9nYahHI2J0NqoqoSlQ6j4aArY9q2ggqE,1302
18
18
  pypeline/pipeline/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
19
- pypeline/pipeline/chained_task.py,sha256=UJoKIDzt-CAb1nglkksHVAT2irVd7Gs7ohyB2tYCnGw,2887
19
+ pypeline/pipeline/chained_task.py,sha256=G7pakmdUZK29E9X3_I5I2cTxTcEuRlXi_BeDAMJt8Qg,2961
20
20
  pypeline/pipeline/generator.py,sha256=Nt65IIs5jc2XCQqWUaOoJIdpaEvQvxJgQSnj9DuYX3s,11509
21
21
  pypeline/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
22
22
  pypeline/utils/config_utils.py,sha256=SwpYy6Xk2apDK2GEb61ctHJh7q8IUo3bHOegE_xsDDk,13029
@@ -25,9 +25,9 @@ pypeline/utils/module_utils.py,sha256=X4O2TdBvvoboK6PxzK18UuKbod9l2BfTIrALk_dI0t
25
25
  pypeline/utils/task_utils.py,sha256=p66d4xcuPuBsqtcnaXgqfNXU3-ZSe4lvN11MkJ5_8XY,22222
26
26
  tests/fixtures/__init__.py,sha256=vHbv5BMJXGb6XX764sChg5Ax7fixPuijiYNBuxgVTUQ,41
27
27
  tests/fixtures/s3_fixtures.py,sha256=jbsp0WeIibLtjdV1nPSkEuJf1n6e9O7LO-kNFkMqylo,1694
28
- scalable_pypeline-1.2.0.dist-info/LICENSE,sha256=DVQuDIgE45qn836wDaWnYhSdxoLXgpRRKH4RuTjpRZQ,10174
29
- scalable_pypeline-1.2.0.dist-info/METADATA,sha256=VtqCu-Lsly9s9NQ5yMjD5KehjKP-6ydyWNPTRH_A6KY,6174
30
- scalable_pypeline-1.2.0.dist-info/WHEEL,sha256=bb2Ot9scclHKMOLDEHY6B2sicWOgugjFKaJsT7vwMQo,110
31
- scalable_pypeline-1.2.0.dist-info/entry_points.txt,sha256=ZDh7vdDaHrZD0RwUCiZidXg5-d2fBOYcEo7E6CL4g0U,56
32
- scalable_pypeline-1.2.0.dist-info/top_level.txt,sha256=C7dpkEOc_-nnsAQb28BfQknjD6XHRyS9ZrvVeoIbV7s,15
33
- scalable_pypeline-1.2.0.dist-info/RECORD,,
28
+ scalable_pypeline-1.2.1.dist-info/LICENSE,sha256=DVQuDIgE45qn836wDaWnYhSdxoLXgpRRKH4RuTjpRZQ,10174
29
+ scalable_pypeline-1.2.1.dist-info/METADATA,sha256=kczf4M1kyCRZFFbeV4jDKltmHCnmRAMwCjyXxKN8EoY,6174
30
+ scalable_pypeline-1.2.1.dist-info/WHEEL,sha256=bb2Ot9scclHKMOLDEHY6B2sicWOgugjFKaJsT7vwMQo,110
31
+ scalable_pypeline-1.2.1.dist-info/entry_points.txt,sha256=ZDh7vdDaHrZD0RwUCiZidXg5-d2fBOYcEo7E6CL4g0U,56
32
+ scalable_pypeline-1.2.1.dist-info/top_level.txt,sha256=C7dpkEOc_-nnsAQb28BfQknjD6XHRyS9ZrvVeoIbV7s,15
33
+ scalable_pypeline-1.2.1.dist-info/RECORD,,