Skip to content

Commit f0a0cbf

Browse files
committed
Few fixes for docstrings
1 parent a4ff2a4 commit f0a0cbf

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

python/lsst/daf/butler/_butler.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1666,7 +1666,7 @@ def query_datasets(
16661666
16671667
Returns
16681668
-------
1669-
refs : `.queries.DatasetRefQueryResults`
1669+
refs : `list` [`DatasetRef`]
16701670
Dataset references matching the given query criteria. Nested data
16711671
IDs are guaranteed to include values for all implied dimensions
16721672
(i.e. `DataCoordinate.hasFull` will return `True`).
@@ -1861,10 +1861,9 @@ def _query_all_datasets(
18611861
at_least_dimensions : `Iterable` [ `str` ] or `DimensionGroup`,\
18621862
optional
18631863
Dimensions that returned dataset types must have as a subset.
1864-
at_least_dimensions : `Iterable` [ `str` ] or `DimensionGroup`,\
1865-
optional
1864+
exact_dimensions : `Iterable` [ `str` ] or `DimensionGroup`, optional
18661865
Dimensions that returned dataset types must have exactly.
1867-
with_storage_class : `str` or `~collections.abc.Iterable` [ `str` ],\
1866+
storage_class : `str` or `~collections.abc.Iterable` [ `str` ],\
18681867
or `StorageClass` or \
18691868
`~collections.abc.Iterable` [ `StorageClass` ], optional
18701869
Storage classes or storage class names that returned dataset types

python/lsst/daf/butler/queries/_query.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -474,10 +474,9 @@ def all_datasets(
474474
at_least_dimensions : `Iterable` [ `str` ] or `DimensionGroup`,\
475475
optional
476476
Dimensions that returned dataset types must have as a subset.
477-
at_least_dimensions : `Iterable` [ `str` ] or `DimensionGroup`,\
478-
optional
477+
exact_dimensions : `Iterable` [ `str` ] or `DimensionGroup`, optional
479478
Dimensions that returned dataset types must have exactly.
480-
with_storage_class : `str` or `~collections.abc.Iterable` [ `str` ],\
479+
storage_class : `str` or `~collections.abc.Iterable` [ `str` ],\
481480
or `StorageClass` or \
482481
`~collections.abc.Iterable` [ `StorageClass` ], optional
483482
Storage classes or storage class names that returned dataset types
@@ -502,7 +501,7 @@ def all_datasets(
502501
"""
503502
raise NotImplementedError()
504503

505-
def dataset_types(
504+
def dataset_types( # numpydoc ignore=PR01
506505
self,
507506
collections: str | Iterable[str] | None = None,
508507
*,

0 commit comments

Comments
 (0)