Skip to content

Commit e99d7d2

Browse files
committed
Fixed docstring
1 parent 5997e07 commit e99d7d2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/sagemaker/processing.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1847,12 +1847,13 @@ def _pack_and_upload_code(
18471847
return s3_runproc_sh, inputs, job_name
18481848

18491849
def _get_codeartifact_index(self, codeartifact_repo_arn: str, codeartifact_client: Any = None):
1850-
"""
1851-
Build the authenticated codeartifact index url based on the arn provided
1852-
via codeartifact_repo_arn property following the form
1850+
"""Build an authenticated codeartifact index url based on the arn provided.
1851+
1852+
The codeartifact_repo_arn property must follow the form
18531853
# `arn:${Partition}:codeartifact:${Region}:${Account}:repository/${Domain}/${Repository}`
18541854
https://docs.aws.amazon.com/codeartifact/latest/ug/python-configure-pip.html
18551855
https://docs.aws.amazon.com/service-authorization/latest/reference/list_awscodeartifact.html#awscodeartifact-resources-for-iam-policies
1856+
18561857
Args:
18571858
codeartifact_repo_arn: arn of the codeartifact repository
18581859
codeartifact_client: boto3 client for codeartifact (used for testing)

0 commit comments

Comments
 (0)