Skip to content

Commit

Permalink
Fix minor doc bugs.
Browse files Browse the repository at this point in the history
  • Loading branch information
TallJimbo committed Jun 2, 2020
1 parent 69c3676 commit 28e55da
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion python/lsst/daf/butler/core/named.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class NamedKeyMapping(Mapping[K, V]):
Notes
-----
In addition to the new `names` property and ``byName` attribute, this class
In addition to the new `names` property and `byName` method, this class
simply redefines the type signature for `__getitem__` and `get` that would
otherwise be inherited from `Mapping`. That is only relevant for static
type checking; the actual Python runtime doesn't care about types at all.
Expand Down
15 changes: 8 additions & 7 deletions python/lsst/daf/butler/registry/interfaces/_bridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,15 +228,16 @@ class DatastoreRegistryBridgeManager(ABC):
Datastores are passed an instance of `DatastoreRegistryBridgeManager` at
construction, and should use it to obtain and keep any of the following:
- a `DatastoreRegistryBridge` instance to record in the `Registry` what is
present in the datastore (needed by all datastores that are not just
forwarders);
- a `DatastoreRegistryBridge` instance to record in the `Registry` what is
present in the datastore (needed by all datastores that are not just
forwarders);
- one or more `OpaqueTableStorage` instance if they wish to store internal
records in the `Registry` database;
- one or more `OpaqueTableStorage` instance if they wish to store internal
records in the `Registry` database;
- the `DimensionUniverse`, if they need it to (e.g.) construct or validate
filename templates.
- the `DimensionUniverse`, if they need it to (e.g.) construct or validate
filename templates.
"""
def __init__(self, *, opaque: OpaqueTableStorageManager, universe: DimensionUniverse):
self.opaque = opaque
Expand Down

0 comments on commit 28e55da

Please sign in to comment.