docstr: Logs the Asset determined by file_data.
  
  Args:
  file_data: String or File-like - either the file path of the
      file you want to log, or a file-like asset.
  file_name: String - Optional. A custom file name to be displayed.
      If not provided the filename from the file_data argument will be used.
  overwrite: if True will overwrite all existing assets with
      the same name.
  copy_to_tmp: If file_data is a file-like object, then this flag
      determines if the file is first copied to a temporary file
      before upload. If copy_to_tmp is False, then it is sent
      directly to the cloud.
  step: Optional. Used to associate the asset to a specific step.
docstr_tok: ["Logs","the","Asset","determined","by","file_data",".","Args",":","file_data",":","String","or","File-like","-","either","the","file","path","of","the","file","you","want","to","log",",","or","a","file-like","asset",".","file_name",":","String","-","Optional",".","A","custom","file","name","to","be","displayed",".","If","not","provided","the","filename","from","the","file_data","argument","will","be","used",".","overwrite",":","if","True","will","overwrite","all","existing","assets","with","the","same","name",".","copy_to_tmp",":","If","file_data","is","a","file-like","object",",","then","this","flag","determines","if","the","file","is","first","copied","to","a","temporary","file","before","upload",".","If","copy_to_tmp","is","False",",","then","it","is","sent","directly","to","the","cloud",".","step",":","Optional",".","Used","to","associate","the","asset","to","a","specific","step","."]
code: def log_asset(
      self,
      file_data,
      file_name=None,
      overwrite=False,
      copy_to_tmp=True,
      step=None,
      metadata=None,
  ):
      """Logs the Asset determined by file_data.
  
      Args:
      file_data: String or File-like - either the file path of the
          file you want to log, or a file-like asset.
      file_name: String - Optional. A custom file name to be displayed.
          If not provided the filename from the file_data argument will be used.
      overwrite: if True will overwrite all existing assets with
          the same name.
      copy_to_tmp: If file_data is a file-like object, then this flag
          determines if the file is first copied to a temporary file
          before upload. If copy_to_tmp is False, then it is sent
          directly to the cloud.
      step: Optional. Used to associate the asset to a specific step.
      """
      self._experiment.log_asset(
          file_data, file_name, overwrite, copy_to_tmp, step, metadata
      )
  
imports: import logging
  import json
  import functools
  from io import BytesIO
  from google.protobuf.json_format import MessageToJson
  import numpy
  from .summary import _clean_tag
label_desc: Use image node_id 13 for calling the CometLogger obj's underlying member method code with example usage: obj.log_asset(file_data, file_name, overwrite, copy_to_tmp, step, metadata) without return types