class documentation

class Options(util.with_metaclass(_MetaOptions)):

Known subclasses: sqlalchemy.orm.persistence.BulkUDCompileState.default_update_options, sqlalchemy.orm.query.QueryContext.default_load_options, sqlalchemy.sql.base.CacheableOptions, sqlalchemy.sql.lambdas.LambdaOptions

View In Hierarchy

A cacheable option dictionary with defaults.
Class Method from​_execution​_options process Options argument in terms of execution options.
Class Method isinstance Undocumented
Class Method safe​_merge Undocumented
Method __add__ Undocumented
Method __eq__ Undocumented
Method __init__ Undocumented
Method __repr__ Undocumented
Method ​_state​_dict Undocumented
Method add​_to​_element Undocumented
Class Variable ​_state​_dict​_const Undocumented
@classmethod
def from_execution_options(cls, key, attrs, exec_options, statement_exec_options):

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

@classmethod
def isinstance(cls, klass):

Undocumented

@classmethod
def safe_merge(cls, other):

Undocumented

def __add__(self, other):

Undocumented

def __eq__(self, other):

Undocumented

def __init__(self, **kw):

Undocumented

def __repr__(self):

Undocumented

@_state_dict.classlevel
def _state_dict(cls):

Undocumented

@hybridmethod
def add_to_element(self, name, value):

Undocumented

_state_dict_const =

Undocumented