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

Method _create_orm_context

lib/sqlalchemy/orm/context.py:455–463  ·  view source on GitHub ↗
(
        cls,
        statement: Union[Select, FromStatement],
        *,
        toplevel: bool,
        compiler: Optional[SQLCompiler],
        **kw: Any,
    )

Source from the content-addressed store, hash-verified

453
454 @classmethod
455 def _create_orm_context(
456 cls,
457 statement: Union[Select, FromStatement],
458 *,
459 toplevel: bool,
460 compiler: Optional[SQLCompiler],
461 **kw: Any,
462 ) -> ORMCompileState:
463 raise NotImplementedError()
464
465 def _append_dedupe_col_collection(self, obj, col_collection):
466 dedupe = self.dedupe_columns

Callers 4

create_for_statementMethod · 0.45
_compile_stateMethod · 0.45
test_no_uniquing_colsMethod · 0.45

Calls

no outgoing calls

Tested by 2

test_no_uniquing_colsMethod · 0.36