Merge pull request 'fix: remove MinIO references from client docstrings' (#18) from fix/remove-minio-references into main
Reviewed-on: #18
This commit was merged in pull request #18.
This commit is contained in:
@@ -171,7 +171,7 @@ class SiloClient:
|
||||
dest_path: str,
|
||||
progress_callback=None,
|
||||
) -> bool:
|
||||
"""Download a file from MinIO storage.
|
||||
"""Download a revision file from the server.
|
||||
|
||||
Args:
|
||||
progress_callback: Optional ``callable(bytes_downloaded, total_bytes)``.
|
||||
@@ -629,7 +629,7 @@ class SiloClient:
|
||||
return self._request("POST", f"/items/{pn}/revisions", data)
|
||||
|
||||
def has_file(self, part_number: str) -> Tuple[bool, Optional[int]]:
|
||||
"""Check if item has files in storage."""
|
||||
"""Check if any revision of this item has an associated file."""
|
||||
try:
|
||||
revisions = self.get_revisions(part_number)
|
||||
for rev in revisions:
|
||||
|
||||
Reference in New Issue
Block a user