datatailr 0.1.40__py3-none-any.whl → 0.1.42__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 datatailr might be problematic. Click here for more details.
- datatailr/scheduler/batch_decorator.py +8 -3
- {datatailr-0.1.40.dist-info → datatailr-0.1.42.dist-info}/METADATA +1 -1
- {datatailr-0.1.40.dist-info → datatailr-0.1.42.dist-info}/RECORD +7 -7
- {datatailr-0.1.40.dist-info → datatailr-0.1.42.dist-info}/WHEEL +0 -0
- {datatailr-0.1.40.dist-info → datatailr-0.1.42.dist-info}/entry_points.txt +0 -0
- {datatailr-0.1.40.dist-info → datatailr-0.1.42.dist-info}/licenses/LICENSE +0 -0
- {datatailr-0.1.40.dist-info → datatailr-0.1.42.dist-info}/top_level.txt +0 -0
|
@@ -78,13 +78,18 @@ def batch_decorator(memory: str = DEFAULT_TASK_MEMORY, cpu: float = DEFAULT_TASK
|
|
|
78
78
|
[None] * (len(all_function_args) - len(final_args))
|
|
79
79
|
)
|
|
80
80
|
final_args[all_function_args.index(name)] = value
|
|
81
|
+
job_name = os.getenv("DATATAILR_JOB_NAME", func.__name__)
|
|
82
|
+
run_id = os.getenv("DATATAILR_BATCH_RUN_ID")
|
|
81
83
|
try:
|
|
82
84
|
final_kwargs = __ARGUMENTS_CACHE__.get_arguments(
|
|
83
85
|
dag_id(func),
|
|
84
|
-
|
|
85
|
-
|
|
86
|
+
job_name,
|
|
87
|
+
run_id,
|
|
88
|
+
)
|
|
89
|
+
except CacheNotFoundError as e:
|
|
90
|
+
logger.error(
|
|
91
|
+
f"Cache not found for job {job_name} with run id {run_id}. Using provided arguments. Error: {e}"
|
|
86
92
|
)
|
|
87
|
-
except CacheNotFoundError:
|
|
88
93
|
final_kwargs = kwargs
|
|
89
94
|
|
|
90
95
|
if varargs is not None and varkw is None:
|
|
@@ -21,13 +21,13 @@ datatailr/scheduler/__init__.py,sha256=qydHYVtEP6SUWd2CQ6FRdTdRWNz3SbYPJy4FK_wOv
|
|
|
21
21
|
datatailr/scheduler/arguments_cache.py,sha256=zPBAX_hojbcuruDin1RTxnjdvtJ4EBhc1sjUb0QALCA,6151
|
|
22
22
|
datatailr/scheduler/base.py,sha256=z4y2bvY3darDzxt-t69RI1WiKCKoYxX-Jg71iL9q1Fk,14760
|
|
23
23
|
datatailr/scheduler/batch.py,sha256=2bWcWwcoQjfoJCKIFgoc4L_aCq8nR2v34ri6EMsy0LE,16947
|
|
24
|
-
datatailr/scheduler/batch_decorator.py,sha256=
|
|
24
|
+
datatailr/scheduler/batch_decorator.py,sha256=TDultSfgUQQAA3XI-gcK0tO2memxvfqBPbkMcn1CcTo,6056
|
|
25
25
|
datatailr/scheduler/constants.py,sha256=5WWTsfwZ_BA8gVDOTa2AQX9DJ0NzfaWgtY3vrODS2-8,606
|
|
26
26
|
datatailr/scheduler/schedule.py,sha256=0XJJen2nL1xplRs0Xbjwgq3T-0bFCOrJzkSALdio998,3741
|
|
27
27
|
datatailr/scheduler/utils.py,sha256=up6oR2iwe6G52LkvgfO394xchXgCYNjOMGRQW3e8PQk,1082
|
|
28
|
-
datatailr-0.1.
|
|
29
|
-
datatailr-0.1.
|
|
30
|
-
datatailr-0.1.
|
|
31
|
-
datatailr-0.1.
|
|
32
|
-
datatailr-0.1.
|
|
33
|
-
datatailr-0.1.
|
|
28
|
+
datatailr-0.1.42.dist-info/licenses/LICENSE,sha256=ikKP4_O-UD_b8FuNdKmbzTb6odd0JX085ZW_FAPN3VI,1066
|
|
29
|
+
datatailr-0.1.42.dist-info/METADATA,sha256=ZL9n3XPok7Ir-9wtLsBgi7YR7AHlHJrVcel5YIhz6WE,5146
|
|
30
|
+
datatailr-0.1.42.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
31
|
+
datatailr-0.1.42.dist-info/entry_points.txt,sha256=YqXfk2At-olW4PUSRkqvy_O3Mbv7uTKCCPuAAiz3Qbg,312
|
|
32
|
+
datatailr-0.1.42.dist-info/top_level.txt,sha256=75gntW0X_SKpqxLL6hAPipvpk28GAhJBvoyqN_HohWU,10
|
|
33
|
+
datatailr-0.1.42.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|