MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / stream

Method stream

lib/sqlalchemy/ext/asyncio/session.py:638–646  ·  view source on GitHub ↗
(
        self,
        statement: TypedReturnsRows[_T],
        params: Optional[_CoreAnyExecuteParams] = None,
        *,
        execution_options: OrmExecuteOptionsParameter = util.EMPTY_DICT,
        bind_arguments: Optional[_BindArguments] = None,
        **kw: Any,
    )

Source from the content-addressed store, hash-verified

636
637 @overload
638 async def stream(
639 self,
640 statement: TypedReturnsRows[_T],
641 params: Optional[_CoreAnyExecuteParams] = None,
642 *,
643 execution_options: OrmExecuteOptionsParameter = util.EMPTY_DICT,
644 bind_arguments: Optional[_BindArguments] = None,
645 **kw: Any,
646 ) -> AsyncResult[_T]: ...
647
648 @overload
649 async def stream(

Callers 15

stream_scalarsMethod · 0.95
asyncioFunction · 0.45
test_allMethod · 0.45
test_aiterMethod · 0.45

Calls 3

AsyncResultClass · 0.85
greenlet_spawnFunction · 0.50
unionMethod · 0.45

Tested by 15

test_allMethod · 0.36
test_aiterMethod · 0.36
test_keysMethod · 0.36
test_unique_allMethod · 0.36
test_columns_allMethod · 0.36
test_partitionsMethod · 0.36
test_one_successMethod · 0.36
test_one_no_resultMethod · 0.36
test_one_multi_resultMethod · 0.36