Skip to content
This repository has been archived by the owner on Sep 24, 2020. It is now read-only.

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
annirudh committed Sep 16, 2020
1 parent 06c131d commit f46b02e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wandb/apis/public.py
Original file line number Diff line number Diff line change
Expand Up @@ -2101,7 +2101,7 @@ def __init__(self, client, entity, project, name, attrs=None):
self._attrs = attrs
if self._attrs is None:
self._load()
self._metadata = json.loads(self._attrs.get("metadata", "{}"))
self._metadata = json.loads(self._attrs.get("metadata") or "{}")
self._description = self._attrs.get("description", None)
self._sequence_name = self._attrs["artifactSequence"]["name"]
self._version_index = self._attrs.get("versionIndex", None)
Expand Down

0 comments on commit f46b02e

Please sign in to comment.