Skip to content

Commit 2b10ef1

Browse files
committed
Update docstring for from_dict
1 parent 28c282e commit 2b10ef1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pystac/stac_object.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -505,9 +505,9 @@ def from_dict(
505505
d : The dict to parse.
506506
href : Optional href that is the file location of the object being
507507
parsed.
508-
root : Optional root of the catalog for this object.
509-
If provided, the root's resolved object cache can be used to search for
510-
previously resolved instances of the STAC object.
508+
root : Optional root catalog for this object.
509+
If provided, the root of the returned STACObject will be set
510+
to this parameter.
511511
migrate: Use True if this dict represents JSON from an older STAC object,
512512
so that migrations are run against it.
513513
preserve_dict: If False, the dict parameter ``d`` may be modified

0 commit comments

Comments
 (0)