Skip to content

fix docstring for decorated functions #3115

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
May 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sphinx==3.1.1
sphinx==3.1.2
sphinx-rtd-theme==0.5.0
docutils==0.15.2
packaging==20.9
2 changes: 2 additions & 0 deletions src/sagemaker/workflow/pipeline_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import warnings
import inspect
from typing import Dict
from functools import wraps

from sagemaker.session import Session, SessionSettings

Expand Down Expand Up @@ -132,6 +133,7 @@ def runnable_by_pipeline(run_func):
The job will be started during pipeline execution.
"""

@wraps(run_func)
def wrapper(*args, **kwargs):
self_instance = args[0]
if isinstance(self_instance.sagemaker_session, PipelineSession):
Expand Down