pyicat_plus.metadata.definitions.icat_fields_source#
- pyicat_plus.metadata.definitions.icat_fields_source(url=None)[source]#
Get XML description of all ICAT fields from a URL.
- Parameters:
url (
Optional
[str
]) – supports filenames or strings with the scheme prefix “file://”, “xml://” or anything the requests library can handle.- Return type:
Union
[str
,StringIO
]- Returns:
filename or a file object