Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rteqs committed Nov 22, 2024
1 parent e896cd2 commit e3ba111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/latch/ldata/path.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def content_type(self, *, load_if_missing: bool = True) -> Optional[str]:
return self._cache.content_type

def version_id(self, *, load_if_missing: bool = True) -> Optional[str]:
if self._cache.content_type is None and load_if_missing:
if self._cache.version_id is None and load_if_missing:
self.fetch_metadata()
return self._cache.version_id

Expand Down

0 comments on commit e3ba111

Please sign in to comment.