diff --git a/src/crawlspace/exceptions.py b/src/crawlspace/exceptions.py index 7965fbb..96de156 100644 --- a/src/crawlspace/exceptions.py +++ b/src/crawlspace/exceptions.py @@ -8,7 +8,7 @@ class GCSFileNotFoundError(Exception): Parameters ---------- - path : `str` + path Bucket path that was not found. """ diff --git a/src/crawlspace/services/file.py b/src/crawlspace/services/file.py index 7b5490b..1af7cde 100644 --- a/src/crawlspace/services/file.py +++ b/src/crawlspace/services/file.py @@ -32,9 +32,9 @@ def from_blob(cls, path: str, blob: storage.Blob) -> CrawlspaceFile: Parameters ---------- - path : `str` + path Path to the file. - blob : `google.cloud.storage.Blob` + blob Underlying Google Cloud Storage blob. """ headers = { @@ -70,7 +70,7 @@ class FileService: Parameters ---------- - gcs : `google.cloud.storage.Client` + gcs Google Cloud Storage client to use to retrieve the file and its metadata. """ @@ -86,7 +86,7 @@ def get_file(self, path: str) -> CrawlspaceFile: Parameters ---------- - path : `str` + path Path to the file. Raises