Skip to content

Commit

Permalink
Merge pull request #51 from lsst-sqre/tickets/DM-37516
Browse files Browse the repository at this point in the history
DM-37516: Update docstring syntax around types
  • Loading branch information
rra authored Jan 13, 2023
2 parents 1bb2484 + 04ac983 commit 01d025d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/crawlspace/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class GCSFileNotFoundError(Exception):
Parameters
----------
path : `str`
path
Bucket path that was not found.
"""

Expand Down
8 changes: 4 additions & 4 deletions src/crawlspace/services/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -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.
"""
Expand All @@ -86,7 +86,7 @@ def get_file(self, path: str) -> CrawlspaceFile:
Parameters
----------
path : `str`
path
Path to the file.
Raises
Expand Down

0 comments on commit 01d025d

Please sign in to comment.