docstr: Fetches samples filenames within a certain tag by tag ID.
  
          More information:
          https://docs.lightly.ai/docs/filenames-and-readurls
  
          Args:
              tag_id:
                  ID of the tag which should exported.
  
          Returns:
              A list of filenames of samples within a certain tag.
  
          Examples:
              >>> client = ApiWorkflowClient(token="MY_AWESOME_TOKEN")
              >>>
              >>> # Already created some Lightly Worker runs with this dataset
              >>> client.set_dataset_id_by_name("my-dataset")
              >>> client.export_filenames_by_tag_id("646b40d6c06aae1b91294a9e")
              'image-1.jpg
  image-2.jpg
  image-3.jpg'
          
docstr_tok: ["Fetches","samples","filenames","within","a","certain","tag","by","tag","ID",".","More","information",":","https",":","\/\/docs.lightly.ai\/docs\/filenames-and-readurls","Args",":","tag_id",":","ID","of","the","tag","which","should","exported",".","Returns",":","A","list","of","filenames","of","samples","within","a","certain","tag",".","Examples",":",">",">",">","client","=","ApiWorkflowClient","(","token=","''","MY_AWESOME_TOKEN","''",")",">",">",">",">",">",">","#","Already","created","some","Lightly","Worker","runs","with","this","dataset",">",">",">","client.set_dataset_id_by_name","(","``","my-dataset","''",")",">",">",">","client.export_filenames_by_tag_id","(","``","646b40d6c06aae1b91294a9e","''",")","'image-1.jpg","image-2.jpg","image-3.jpg","'"]
code: def export_filenames_by_tag_id(
      self,
      tag_id: str,
  ) -> str:
      """Fetches samples filenames within a certain tag by tag ID.
  
      More information:
      https://docs.lightly.ai/docs/filenames-and-readurls
  
      Args:
          tag_id:
              ID of the tag which should exported.
  
      Returns:
          A list of filenames of samples within a certain tag.
  
      Examples:
          >>> client = ApiWorkflowClient(token="MY_AWESOME_TOKEN")
          >>>
          >>> # Already created some Lightly Worker runs with this dataset
          >>> client.set_dataset_id_by_name("my-dataset")
          >>> client.export_filenames_by_tag_id("646b40d6c06aae1b91294a9e")
          'image-1.jpg\nimage-2.jpg\nimage-3.jpg'
      """
      filenames = "\n".join(
          utils.paginate_endpoint(
              self._tags_api.export_tag_to_basic_filenames,
              dataset_id=self.dataset_id,
              tag_id=tag_id,
          )
      )
      return filenames
  
file_path: lightly/lightly/api/api_workflow_export.py
imports: import warnings
  from typing import Dict, List
  from lightly.api import utils
  from lightly.openapi_generated.swagger_client.models import FileNameFormat, LabelBoxDataRow, LabelBoxV4DataRow, LabelStudioTask
label_desc: Use image node_id 7 for calling the _ExportDatasetMixin obj's underlying member method code with example usage: obj.export_filenames_by_tag_id(tag_id) and returns: filenames