class Options: (source)
Known subclasses: sqlalchemy.orm.bulk_persistence.BulkORMInsert.default_insert_options
, sqlalchemy.orm.bulk_persistence.BulkUDCompileState.default_update_options
, sqlalchemy.orm.context.QueryContext.default_load_options
, sqlalchemy.sql.base.CacheableOptions
, sqlalchemy.sql.lambdas.LambdaOptions
A cacheable option dictionary with defaults.
Class Method | from |
process Options argument in terms of execution options. |
Class Method | isinstance |
Undocumented |
Class Method | safe |
Undocumented |
Method | __add__ |
Undocumented |
Method | __delattr__ |
Undocumented |
Method | __eq__ |
Undocumented |
Method | __getattr__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | __init |
Undocumented |
Method | __repr__ |
Undocumented |
Method | __setattr__ |
Undocumented |
Method | add |
Undocumented |
Class Variable | __slots__ |
Undocumented |
Method | _state |
Undocumented |
Method | _state |
Undocumented |
Class Variable | _cache |
Undocumented |
def from_execution_options(cls, key, attrs, exec_options, statement_exec_options): (source) ¶
process Options argument in terms of execution options. e.g.:: ( load_options, execution_options, ) = QueryContext.default_load_options.from_execution_options( "_sa_orm_load_options", { "populate_existing", "autoflush", "yield_per" }, execution_options, statement._execution_options, ) get back the Options and refresh "_sa_orm_load_options" in the exec options dict w/ the Options as well