Skip to content

Commit a8679a1

Browse files
author
Chris Bridge
committed
Fix import line in load_json_dataset documentation and add reference to SearchFor requests in the description
1 parent 3f914cb commit a8679a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/usage.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -473,11 +473,11 @@ Loading JSON Data To ``pydicom``
473473
++++++++++++++++++++++++++++++++
474474

475475
Load metadata from JSON format into a ``pydicom.dataset.Dataset`` object.
476-
A common use for this is translating metadata received from a ``RetrieveMetadata`` request:
476+
A common use for this is translating metadata received from a ``RetrieveMetadata`` or a ``SearchFor``-style request:
477477

478478
.. code-block:: python
479479
480-
from dicomweb_client import load_json_dataset
480+
from dicomweb_client.api import load_json_dataset
481481
482482
metadata = client.retrieve_study_metadata('1.2.826.0.1.3680043.8.1055.1.20111103111148288.98361414.79379639')
483483
metadata_datasets = [load_json_dataset(ds) for ds in metadata]

0 commit comments

Comments
 (0)