def get_all(self, paths: Union[str, Sequence[str]]) -> Union[IrodsMetadata, List[IrodsMetadata]]:
        """
        Gets all of the metadata for the iRODS entities at the given path or paths.

        If multiple paths are given, the metadata collection at index `i` on the output corresponds to the path at index
        `i` on the input. i.e.
        ```
        output = mapper.get_all(["path_1", "path_2"])
        metadata_for_path_1 = output[0]
        metadata_for_path_2 = output[1]
        ```

        A `ValueError` will be raised will be raised if the path does not correspond to a valid entity.
        :param path: the path of the entity or entities to get the metadata for
        :return: metadata for the given entity or entities
        """