class_docstr: Class representing a single file resource. There exist two subclasses:
  :class:`.InputResourceFile` and :class:`.JobResourceFile`.
class_docstr_tok: ["Class","representing","a","single","file","resource",".","There","exist","two","subclasses",":",":","class",":","`",".InputResourceFile","`","and",":","class",":","`",".JobResourceFile","`","."]
code: def __new__(cls, *args, **kwargs):  # pylint: disable=W0613
      uid = ResourceFile._new_uid()
      r = str.__new__(cls, uid)
      r._uid = uid
      return r
  
imports: import abc
  from typing import Optional, Set, cast, Union
  from .None import job
  from .exceptions import BatchException
label_desc: Use image node_id 2 for calling the ResourceFile obj's underlying member method code with example usage: obj.__new__(cls) and returns: r