projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
19821: Bugfix type declarations for compatibility with Python<3.9
[arvados.git]
/
sdk
/
python
/
arvados
/
collection.py
diff --git
a/sdk/python/arvados/collection.py
b/sdk/python/arvados/collection.py
index 197925b24be95f6d6b6f769b9c3a7d9166390e75..0f2ec4c96fbdf39656ccc38ddb2911de934bc5ea 100644
(file)
--- a/
sdk/python/arvados/collection.py
+++ b/
sdk/python/arvados/collection.py
@@
-1156,7
+1156,7
@@
class Collection(RichCollectionBase):
except errors.SyntaxError as e:
raise errors.ArgumentError("Error processing manifest text: %s", str(e)) from None
except errors.SyntaxError as e:
raise errors.ArgumentError("Error processing manifest text: %s", str(e)) from None
- def storage_classes_desired(self) ->
l
ist[str]:
+ def storage_classes_desired(self) ->
L
ist[str]:
"""Get this collection's `storage_classes_desired` value"""
return self._storage_classes_desired or []
"""Get this collection's `storage_classes_desired` value"""
return self._storage_classes_desired or []
@@
-1200,7
+1200,7
@@
class Collection(RichCollectionBase):
@synchronized
def known_past_version(
self,
@synchronized
def known_past_version(
self,
- modified_at_and_portable_data_hash:
t
uple[Optional[str], Optional[str]]
+ modified_at_and_portable_data_hash:
T
uple[Optional[str], Optional[str]]
) -> bool:
"""Indicate whether an API record for this collection has been seen before
) -> bool:
"""Indicate whether an API record for this collection has been seen before