code: def add_path_resolver(tag, path, kind=None, Loader=Loader, Dumper=Dumper):
      
      Loader.add_path_resolver(tag, path, kind)
      Dumper.add_path_resolver(tag, path, kind)
docs: Add a path based resolver for the given tag.
      A path is a list of keys that forms a path
      to a node in the representation tree.
      Keys can be string values, integers, or None.