docstr: 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)
docstr_tok: ["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",")"]
code: 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)
  
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 10 for calling the _ExportDatasetMixin obj's underlying member method code with example usage: obj.export_filenames_and_read_urls_by_tag_name(tag_name) and returns: self