MCPcopy Index your code
hub / github.com/googleapis/google-api-python-client / has_stream

Method has_stream

googleapiclient/http.py:357–367  ·  view source on GitHub ↗

Does the underlying upload support a streaming interface. Streaming means it is an io.IOBase subclass that supports seek, i.e. seekable() returns True. Returns: True if the call to stream() will return an instance of a seekable io.Base subclass.

(self)

Source from the content-addressed store, hash-verified

355 raise NotImplementedError()
356
357 def has_stream(self):
358 """Does the underlying upload support a streaming interface.
359
360 Streaming means it is an io.IOBase subclass that supports seek, i.e.
361 seekable() returns True.
362
363 Returns:
364 True if the call to stream() will return an instance of a seekable io.Base
365 subclass.
366 """
367 return False
368
369 def stream(self):
370 """A stream interface to the data being uploaded.

Callers 1

next_chunkMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected