class_docstr: Abstract base class for loaders to provide resource reading support.
docstr: Return an opened, file-like object for binary reading.
  
  The 'resource' argument is expected to represent only a file name.
  If the resource cannot be found, FileNotFoundError is raised.
docstr_tok: ["Return","an","opened",",","file-like","object","for","binary","reading",".","The","'resource","'","argument","is","expected","to","represent","only","a","file","name",".","If","the","resource","can","not","be","found",",","FileNotFoundError","is","raised","."]
code: def open_resource(self, resource: Text) -> BinaryIO:
      """Return an opened, file-like object for binary reading.
  
      The 'resource' argument is expected to represent only a file name.
      If the resource cannot be found, FileNotFoundError is raised.
      """
      # 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 1 for calling the ResourceReader obj's underlying member method code with example usage: obj.open_resource(resource) without return types