Merge pull request 'fix: remove MinIO references from client docstrings' (#18) from fix/remove-minio-references into main
All checks were successful
Update Downstream Submodules / update-dependents (kindred/silo-calc, silo-client) (push) Successful in 8s
Update Downstream Submodules / update-dependents (kindred/silo-mod, silo-client) (push) Successful in 7s

Reviewed-on: #18
This commit was merged in pull request #18.
This commit is contained in:
2026-02-18 20:55:38 +00:00

View File

@@ -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: