class_docstr: Run is an object to enable user access to properties
  
  Parameters
  ----------
  task_entity : datmo.core.entity.task.Task
      core task entity to reference
  
  Attributes
  ----------
  id : str
      the id of task associated with run
  model_id : str
      the parent model id for the entity
  before_snapshot_id : str
      id of snapshot associated before the run
  after_snapshot_id : str
      id of snapshot associated after the run
  command : str
      command that is used by the run
  type : str
      type of task, script or workspace (jupyterlab, notebook, rstudio, terminal)
  status : str or None
      status of the current run
  start_time : datetime.datetime or None
      timestamp for the beginning time of the run
  end_time : datetime.datetime or None
      timestamp for the end time of the run
  duration : float or None
      delta in seconds between start and end times
  logs : str or None
      string output of logs
  config : dict
      dictionary containing input or output configs from the run
  results : dict
      dictionary containing output results from the run
  files : list
      returns list of file objects for the run in read mode
  
  Methods
  -------
  get_files(mode="r")
      Returns a list of file objects for the run
  
  Raises
  ------
  InvalidArgumentType
class_docstr_tok: ["Run","is","an","object","to","enable","user","access","to","properties","Parameters","--","--","--","--","--","task_entity",":","datmo.core.entity.task.Task","core","task","entity","to","reference","Attributes","--","--","--","--","--","id",":","str","the","id","of","task","associated","with","run","model_id",":","str","the","parent","model","id","for","the","entity","before_snapshot_id",":","str","id","of","snapshot","associated","before","the","run","after_snapshot_id",":","str","id","of","snapshot","associated","after","the","run","command",":","str","command","that","is","used","by","the","run","type",":","str","type","of","task",",","script","or","workspace","(","jupyterlab",",","notebook",",","rstudio",",","terminal",")","status",":","str","or","None","status","of","the","current","run","start_time",":","datetime.datetime","or","None","timestamp","for","the","beginning","time","of","the","run","end_time",":","datetime.datetime","or","None","timestamp","for","the","end","time","of","the","run","duration",":","float","or","None","delta","in","seconds","between","start","and","end","times","logs",":","str","or","None","string","output","of","logs","config",":","dict","dictionary","containing","input","or","output","configs","from","the","run","results",":","dict","dictionary","containing","output","results","from","the","run","files",":","list","returns","list","of","file","objects","for","the","run","in","read","mode","Methods","--","--","--","-","get_files","(","mode=","''","r","''",")","Returns","a","list","of","file","objects","for","the","run","Raises","--","--","--","InvalidArgumentType"]
docstr: Returns a list of file objects for the task
  
  Parameters
  ----------
  mode : str
      file object mode
      (default is "r" which signifies read mode)
  
  Returns
  -------
  list or None
      list of file objects associated with the task
docstr_tok: ["Returns","a","list","of","file","objects","for","the","task","Parameters","--","--","--","--","--","mode",":","str","file","object","mode","(","default","is","``","r","''","which","signifies","read","mode",")","Returns","--","--","--","-","list","or","None","list","of","file","objects","associated","with","the","task"]
code: def get_files(self, mode="r"):
      """Returns a list of file objects for the task
  
      Parameters
      ----------
      mode : str
          file object mode
          (default is "r" which signifies read mode)
  
      Returns
      -------
      list or None
          list of file objects associated with the task
      """
      snapshot_controller = SnapshotController()
      self._core_snapshot = self.__get_core_snapshot()
      return (
          snapshot_controller.get_files(
              self._core_snapshot.id, mode=mode
          )
          if self._core_snapshot
          else None
      )
  
imports: import os
  from datmo.core.controller.snapshot import SnapshotController
  from datmo.core.entity.task import Task
  from datmo.core.util.exceptions import InvalidArgumentType
  from datmo.core.util.misc_functions import printable_object, prettify_datetime, format_table
label_desc: Use image node_id 18 for calling the Run obj's underlying member method code with example usage: obj.get_files(mode) and returns: unknown