def export_filenames_and_read_urls_by_tag_name(
        self,
        tag_name: str,
    ) -> List[Dict[str, str]]:
        """Fetches filenames, read URLs, and datasource URLs from the given tag name.

        More information:
        https://docs.lightly.ai/docs/filenames-and-readurls

        Args:
            tag_name:
                Name of the tag which should exported.

        Returns:
            A list of dictionaries with keys "filename", "readUrl" and "datasourceUrl".

        Examples:
            >>> # write json file which can be used to access the actual file contents.
            >>> mappings = client.export_filenames_and_read_urls_by_tag_name(
            >>>     'initial-tag'
            >>> )
            >>>
            >>> with open('my-samples.json', 'w') as f:
            >>>     json.dump(mappings, f)

        """
        tag = self.get_tag_by_name(tag_name)
        return self.export_filenames_and_read_urls_by_tag_id(tag.id)
Fetches filenames, read URLs, and datasource URLs from the given tag name.

        More information:
        https://docs.lightly.ai/docs/filenames-and-readurls

        Args:
            tag_name:
                Name of the tag which should exported.

        Returns:
            A list of dictionaries with keys "filename", "readUrl" and "datasourceUrl".

        Examples:
            >>> # write json file which can be used to access the actual file contents.
            >>> mappings = client.export_filenames_and_read_urls_by_tag_name(
            >>>     'initial-tag'
            >>> )
            >>>
            >>> with open('my-samples.json', 'w') as f:
            >>>     json.dump(mappings, f)

        
lightly/api/api_workflow_export.py