mirror of
https://github.com/lancedb/lancedb.git
synced 2026-11-26 12:33:59 +00:00
docs(python): qualify batch read cancellation behavior
This commit is contained in:
@@ -16,9 +16,11 @@ class AsyncRecordBatchReader:
|
||||
|
||||
Also allows access to the schema of the stream
|
||||
|
||||
Cancelling an active batch read closes its native query stream. Further reads
|
||||
of that stream raise ``RuntimeError``; run the query again to obtain a new
|
||||
reader.
|
||||
After cancelling a batch read, discard this reader and run the query again
|
||||
to obtain a new reader. For native query streams, cancellation that
|
||||
interrupts an active read closes the stream, and further reads raise
|
||||
``RuntimeError``. Completion can race with cancellation, so later reads
|
||||
may still return batches.
|
||||
"""
|
||||
|
||||
def __init__(
|
||||
|
||||
Reference in New Issue
Block a user