def export_filenames_by_tag_name(
        self,
        tag_name: str,
    ) -> str:
        """Fetches samples filenames within a certain tag by 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 filenames of samples within a certain tag.

        Examples:
            >>> # write json file which can be imported in Label Studio
            >>> filenames = client.export_filenames_by_tag_name(
            >>>     'initial-tag'
            >>> )
            >>>
            >>> with open('filenames-of-initial-tag.txt', 'w') as f:
            >>>     f.write(filenames)

        """
        tag = self.get_tag_by_name(tag_name)
        return self.export_filenames_by_tag_id(tag.id)
Fetches samples filenames within a certain tag by 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 filenames of samples within a certain tag.

        Examples:
            >>> # write json file which can be imported in Label Studio
            >>> filenames = client.export_filenames_by_tag_name(
            >>>     'initial-tag'
            >>> )
            >>>
            >>> with open('filenames-of-initial-tag.txt', 'w') as f:
            >>>     f.write(filenames)

        
lightly/api/api_workflow_export.py