pyslk.get_tag

Contents

pyslk.get_tag#

pyslk.get_tag(path_or_id: str | int, recursive: bool = False) dict | None#

Apply metadata to the namespace and child resources

Parameters:
  • path_or_id (str or int) – search id or gns path of resources to retrieve

  • recursive (bool) – use the -R flag to tag recursively, Default: False

Returns:

metadata of the target files

Return type:

dict or None