monai.deploy.core.domain.NamedDataPath¶
- class monai.deploy.core.domain.NamedDataPath(paths, metadata=None)[source]¶
Bases:
monai.deploy.core.domain.domain.Domain
A data path dictionary with name as key and data path as value.
This class is used to store data paths and the provided name of each data path is unique.
A data path for a name is accessible by calling the get() method with the name.
If only one data path is available and the name is not specified, the data path is returned.
Initialize a Domain object.
- Parameters
metadata (Optional[Dict]) – A metadata.
Methods
__init__
(paths[, metadata])Initialize a Domain object.
get
([name])- rtype
metadata
()- rtype
Dict