Skip to content

Example code error in sagemaker.workflow.functions.Join doc #3778

@athewsey

Description

@athewsey

What did you find confusing? Please describe.

The current example code for sagemaker.workflow.functions.Join:

TrainingInput(
    s3_data=Join(on='/', ['s3:/', bucket, ExecutionVariables.PIPELINE_EXECUTION_ID]),
    content_type="text/csv")

...raises an error because a positional argument (the list of components) cannot follow a keyword argument (on='/') in Python

Describe how documentation can be improved

Update the docs to add values= on the second arg or remove the on= from the first.

Additional context

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions