class_docstr: Abstract base class for loaders to provide resource reading support.
docstr: Return the file system path to the specified resource.
  
  The 'resource' argument is expected to represent only a file name.
  If the resource does not exist on the file system, raise
  FileNotFoundError.
docstr_tok: ["Return","the","file","system","path","to","the","specified","resource",".","The","'resource","'","argument","is","expected","to","represent","only","a","file","name",".","If","the","resource","does","not","exist","on","the","file","system",",","raise","FileNotFoundError","."]
code: def resource_path(self, resource: Text) -> Text:
      """Return the file system path to the specified resource.
  
      The 'resource' argument is expected to represent only a file name.
      If the resource does not exist on the file system, raise
      FileNotFoundError.
      """
      # This deliberately raises FileNotFoundError instead of
      # NotImplementedError so that if this method is accidentally called,
      # it'll still do the right thing.
      raise FileNotFoundError
  
imports: import abc
  import io
  import os
  from typing import Any, BinaryIO, Iterable, Iterator, NoReturn, Text, Optional
  from typing import runtime_checkable, Protocol
  from typing import Union
label_desc: Use image node_id 2 for calling the ResourceReader obj's underlying member method code with example usage: obj.resource_path(resource) without return types