Skip to content

Commit cec856b

Browse files
Updating return type for get_metadata_content
1 parent 9b17284 commit cec856b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ads/model/service/oci_datascience_model.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ def get_metadata_content(
624624
self,
625625
artifact_path_or_content: Union[str, bytes],
626626
path_type: MetadataArtifactPathType,
627-
):
627+
) -> bytes:
628628
"""
629629
returns the content of the metadata artifact
630630
@@ -639,7 +639,8 @@ def get_metadata_content(
639639
640640
Returns
641641
-------
642-
metadata artifact content
642+
bytes
643+
metadata artifact content in bytes
643644
"""
644645

645646
if path_type == MetadataArtifactPathType.CONTENT:

0 commit comments

Comments
 (0)