class documentation

class LoadLazyAttribute: (source)

View In Hierarchy

semi-serializable loader object used by LazyLoader Historically, this object would be carried along with instances that needed to run lazyloaders, so it had to be serializable to support cached instances. this is no longer a general requirement, and the case where this object is used is exactly the case where we can't really serialize easily, which is when extra criteria in the loader option is present. We can't reliably serialize that as it refers to mapped entities and AliasedClass objects that are local to the current process, which would need to be matched up on deserialize e.g. the sqlalchemy.ext.serializer approach.

Method __call__ Undocumented
Method __getstate__ Undocumented
Method __init__ Undocumented
Instance Variable extra_criteria Undocumented
Instance Variable key Undocumented
Instance Variable loadopt Undocumented
Instance Variable strategy_key Undocumented
def __call__(self, state, passive=attributes.PASSIVE_OFF): (source)

Undocumented

def __getstate__(self): (source)

Undocumented

def __init__(self, key, initiating_strategy, loadopt, extra_criteria): (source)

Undocumented

extra_criteria = (source)

Undocumented

Undocumented

Undocumented

strategy_key = (source)

Undocumented