Skip to content

Commit

Permalink
Add test client code to current prototype IT
Browse files Browse the repository at this point in the history
  • Loading branch information
tarilabs committed Sep 25, 2023
1 parent 2083ca0 commit ae1e617
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/python/test_mlmetadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ def main():
response = store.PutArtifactType(request)
model_type_id = response.type_id

request = metadata_store_service_pb2.GetArtifactTypeRequest()
request.type_name = "SavedModel"
response = store.GetArtifactType(request)
assert response.artifact_type.id == 2
assert response.artifact_type.name == "SavedModel"

# Query all registered Artifact types.
# artifact_types = store.GetArtifactTypes()

Expand Down

0 comments on commit ae1e617

Please sign in to comment.