Skip to content

Commit ceec5f1

Browse files
committed
fixed docstrings
1 parent 10bbb41 commit ceec5f1

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

pystac/extensions/mlm.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
from pystac.serialization.identify import STACJSONDescription, STACVersionID
2525
from pystac.utils import StringEnum, get_required
2626

27+
#: Generalized version of :class:`pystac.Item`, :class:`pystac.ItemAssetDefinition`,
28+
#: :class:`pystac.Collection`, or :class:`pystac.Asset`
2729
T = TypeVar(
2830
"T", pystac.Item, pystac.ItemAssetDefinition, pystac.Collection, pystac.Asset
2931
)
@@ -1186,12 +1188,13 @@ def create(
11861188
for. This can be a subset of mlm:tasks defined under the Item properties
11871189
as applicable.
11881190
result: The structure that describes the resulting output arrays/tensors
1189-
from one model head. description: Additional details about the output such
1190-
as describing its purpose or expected result that cannot be represented
1191-
by other properties.
1191+
from one model head. description: Additional details about the output
1192+
such as describing its purpose or expected result that cannot be
1193+
represented by other properties.
11921194
classes: A list of class objects adhering to the Classification Extension.
11931195
post_processing_function: Custom postprocessing function where
1194-
normalization, rescaling, or any other significant operations takes place.
1196+
normalization, rescaling, or any other significant operations takes
1197+
place.
11951198
11961199
Returns:
11971200
ModelOutput
@@ -1448,7 +1451,7 @@ def ext(cls, obj: T, add_if_missing: bool = False) -> MLMExtension[T]:
14481451
listed there.
14491452
14501453
Returns:
1451-
MLMExtension[pystac.extensions.mlm.T]: The extended object
1454+
MLMExtension[T]: The extended object
14521455
14531456
Raises:
14541457
pystac.STACError: When a :class:`pystac.Asset` object is apssed as the

0 commit comments

Comments
 (0)