p1-taskqueue 0.1.3__py3-none-any.whl → 0.1.4__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.

Potentially problematic release.


This version of p1-taskqueue might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: p1-taskqueue
3
- Version: 0.1.3
3
+ Version: 0.1.4
4
4
  Summary: A Task Queue Wrapper for Dekoruma Backend
5
5
  Author-email: Chalvin <engineering@dekoruma.com>
6
6
  Project-URL: Homepage, https://github.com/Dekoruma/p1-taskqueue
@@ -0,0 +1,9 @@
1
+ taskqueue/__init__.py,sha256=gVDUAurwUijthE9_36FmhAQTBf7veGgjnew-amrTrmg,241
2
+ taskqueue/celery_app.py,sha256=dUT-7XzsSQbr8vKrLv7f_6iYxTCUEJZHEt9fL-KIQ5U,3302
3
+ taskqueue/cmanager.py,sha256=Xh89VbBYclb-RcmaisqEJfezkT-isyWkQ3KHdSpf_aM,9821
4
+ taskqueue/libs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ taskqueue/libs/helper_test.py,sha256=_yfPhm_7CzbN30j7E_Ld5KwXRlGHhTNrRTOBZQySEIU,3656
6
+ p1_taskqueue-0.1.4.dist-info/METADATA,sha256=uapQZwJie_JNIfgfJM2zLTXpDIsOVZHAB7ffZj9rvjY,1508
7
+ p1_taskqueue-0.1.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
8
+ p1_taskqueue-0.1.4.dist-info/top_level.txt,sha256=hA3SM1ik2K8iPqtlt_-_nJ4TAePwHPN3vsOc4EiynqU,10
9
+ p1_taskqueue-0.1.4.dist-info/RECORD,,
taskqueue/cmanager.py CHANGED
@@ -209,7 +209,8 @@ def dynamic_function_executor(self, module_path, function_name, args=None, kwarg
209
209
  function = getattr(module, function_name)
210
210
  args = args or []
211
211
  kwargs = kwargs or {}
212
- return function(*args, **kwargs)
212
+ function(*args, **kwargs)
213
+ return None
213
214
  except Exception as e:
214
215
  current_retries = getattr(self.request, 'retries', 0) or 0
215
216
  max_retries = self.max_retries or K_MAX_RETRY_COUNT
@@ -235,7 +236,8 @@ def dynamic_class_method_executor(self, module_path, class_name, method_name, ar
235
236
  method = getattr(instance, method_name)
236
237
  args = args or []
237
238
  kwargs = kwargs or {}
238
- return method(*args, **kwargs)
239
+ method(*args, **kwargs)
240
+ return None
239
241
  except Exception as e:
240
242
  current_retries = getattr(self.request, 'retries', 0) or 0
241
243
  max_retries = self.max_retries or K_MAX_RETRY_COUNT
@@ -73,7 +73,7 @@ def celery_worker_burst(include_func_names: List[str], channel: str = "default")
73
73
  logger.info(
74
74
  f"Successfully executed task: {full_func_name}")
75
75
  else:
76
- logger.debug(
76
+ logger.info(
77
77
  f"Skipping: {full_func_name or task_name}")
78
78
  message.ack()
79
79
 
@@ -1,9 +0,0 @@
1
- taskqueue/__init__.py,sha256=gVDUAurwUijthE9_36FmhAQTBf7veGgjnew-amrTrmg,241
2
- taskqueue/celery_app.py,sha256=dUT-7XzsSQbr8vKrLv7f_6iYxTCUEJZHEt9fL-KIQ5U,3302
3
- taskqueue/cmanager.py,sha256=Ec9Z6JgreJWR4p56qO0cAGAjO7d4UJmZ8vVmSOAetms,9795
4
- taskqueue/libs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
- taskqueue/libs/helper_test.py,sha256=6-LRaPes3xiP0WM5ag6cNpNSWAGXQqlnyiZcl1S0uUA,3657
6
- p1_taskqueue-0.1.3.dist-info/METADATA,sha256=Js3lIo24P65dx0a7J74z6Pv7jhjonR1mtF9IjTSosus,1508
7
- p1_taskqueue-0.1.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
8
- p1_taskqueue-0.1.3.dist-info/top_level.txt,sha256=hA3SM1ik2K8iPqtlt_-_nJ4TAePwHPN3vsOc4EiynqU,10
9
- p1_taskqueue-0.1.3.dist-info/RECORD,,