We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c006c7a commit 8c93f92Copy full SHA for 8c93f92
doc/requirements.txt
@@ -1,4 +1,4 @@
1
-sphinx==3.1.1
+sphinx==3.1.2
2
sphinx-rtd-theme==0.5.0
3
docutils==0.15.2
4
packaging==20.9
src/sagemaker/workflow/pipeline_context.py
@@ -16,6 +16,7 @@
16
import warnings
17
import inspect
18
from typing import Dict
19
+from functools import wraps
20
21
from sagemaker.session import Session, SessionSettings
22
@@ -132,6 +133,7 @@ def runnable_by_pipeline(run_func):
132
133
The job will be started during pipeline execution.
134
"""
135
136
+ @wraps(run_func)
137
def wrapper(*args, **kwargs):
138
self_instance = args[0]
139
if isinstance(self_instance.sagemaker_session, PipelineSession):
0 commit comments