Skip to content

Commit fa37d4c

Browse files
akuma12akrishna1995
authored andcommitted
Fixed docstring
1 parent 4969bfb commit fa37d4c

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
@@ -1846,12 +1846,13 @@ def _pack_and_upload_code(
18461846
return s3_runproc_sh, inputs, job_name
18471847

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

0 commit comments

Comments
 (0)