Skip to content

Commit

Permalink
Format roots docstring as property
Browse files Browse the repository at this point in the history
  • Loading branch information
timj committed Jul 10, 2023
1 parent f2fa939 commit aa4c8f5
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions python/lsst/daf/butler/core/datastore.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,11 +376,9 @@ def names(self) -> tuple[str, ...]:
def roots(self) -> dict[str, ResourcePath | None]:
"""Return the root URIs for each named datastore.
Returns
-------
roots : `dict` [`str`, `ResourcePath` | `None`]
Mapping from datastore name to root URI. The URI can be `None`
if a datastore has no concept of a root URI.
Mapping from datastore name to root URI. The URI can be `None`
if a datastore has no concept of a root URI.
(`dict` [`str`, `ResourcePath` | `None`])
"""
return {self.name: None}

Expand Down

0 comments on commit aa4c8f5

Please sign in to comment.