pyslk.metadata_raw#
- pyslk.metadata_raw(resource_path: str | Path, alternative_output_format: bool = False, print_hidden: bool = False, return_type: int = 0) str | int | CompletedProcess #
Get metadata
- Parameters:
resource_path (str or Path) – resource (full path)
alternative_output_format (bool) – print the name of the metadata schema in front of each field name [default: False]
print_hidden (bool) – print read-only not-searchable metadata fields (sidecar file) [default: False]
return_type (int) – select between 0 (== str output), 1 (== exit code), 2 (subprocess output)
- Returns:
stdout of the slk_helpers call
- Return type:
Union[str, int, subprocess.CompletedProcess]