parameters: (self)
docstring: Read whole file in one shot, without caching
  
          This is only called when position is still at zero,
          and read() is called without a byte-count.
docstring_summary: Read whole file in one shot, without caching
docstring_tokens: Read whole file in one shot without caching
function: def _fetch_all(self):
          """Read whole file in one shot, without caching
  
          This is only called when position is still at zero,
          and read() is called without a byte-count.
          """
          if not isinstance(self.cache, AllBytes):
              r = self.session.get(self.url, **self.kwargs)
              r.raise_for_status()
              out = r.content
              self.cache = AllBytes(out)
              self.size = len(out)
function_tokens: def _fetch_all ( self ) : if not isinstance ( self . cache , AllBytes ) : r = self . session . get ( self . url , * * self . kwargs ) r . raise_for_status ( ) out = r . content self . cache = AllBytes ( out ) self . size = len ( out )