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)
| 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. |