pyslk.get_metadata#
- pyslk.get_metadata(resource: str | Path, print_hidden: bool = False, print_raw_values: bool = False) dict[str, Union[str, int, float, dict]] | None #
Get metadata
- Parameters:
resource (
str
orPath
) – resource (full path)print_hidden (
bool
) – print read-only not-searchable metadata fields (sidecar file) [default: False]print_raw_values (
bool
) – print metadata values without trying to convert them to int/float/dict [default: False]
- Returns:
dictionary with the metadata
- Return type:
dict
orNone