Skip to content

Commit

Permalink
update idl
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Su <[email protected]>
  • Loading branch information
pingsutw committed Mar 5, 2024
1 parent e9a772a commit f0970d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flytekit/clients/friendly.py
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,7 @@ def get_upload_signed_url(
filename: typing.Optional[str] = None,
expires_in: typing.Optional[datetime.timedelta] = None,
filename_root: typing.Optional[str] = None,
add_metadata: bool = True,
add_content_md5_metadata: bool = True,
) -> _data_proxy_pb2.CreateUploadLocationResponse:
"""
Get a signed url to be used during fast registration
Expand All @@ -1001,7 +1001,7 @@ def get_upload_signed_url(
the generated url
:param filename_root: If provided will be used as the root of the filename. If not, Admin will use a hash
This option is useful when uploading a series of files that you want to be grouped together.
:param add_metadata: If true, the metadata will be added to the signed URL
:param add_content_md5_metadata: If true, the content md5 will be added to the metadata in signed URL
:rtype: flyteidl.service.dataproxy_pb2.CreateUploadLocationResponse
"""
try:
Expand All @@ -1017,7 +1017,7 @@ def get_upload_signed_url(
filename=filename,
expires_in=expires_in_pb,
filename_root=filename_root,
add_metadata=add_metadata,
add_content_md5_metadata=add_content_md5_metadata,
)
)
except Exception as e:
Expand Down

0 comments on commit f0970d4

Please sign in to comment.