class documentation

class _WildcardLoad(_AbstractLoad): (source)

View In Hierarchy

represent a standalone '*' load operation

Method __getstate__ Undocumented
Method __init__ Undocumented
Method __setstate__ Undocumented
Method options Apply a series of options as sub-options to this :class:`_orm._AbstractLoad` object.
Class Variable __slots__ Undocumented
Class Variable cache_key_traversal Undocumented
Class Variable propagate_to_loaders if True, indicate this option should be carried along to "secondary" SELECT statements that occur for relationship lazy loaders as well as attribute load / refresh operations.
Instance Variable local_opts Undocumented
Instance Variable path Undocumented
Instance Variable strategy Undocumented
Method _apply_to_parent apply this :class:`_orm._WildcardLoad` object as a sub-option of a :class:`_orm.Load` object.
Method _clone_for_bind_strategy Undocumented
Method _find_entity_basestring Undocumented
Method _process implemented by subclasses
Class Variable _traverse_internals Undocumented

Inherited from _AbstractLoad:

Method contains_eager Indicate that the given attribute should be eagerly loaded from columns stated manually in the query.
Method defaultload Indicate an attribute should load using its default loader style.
Method defer Indicate that the given column-oriented attribute should be deferred, e.g. not loaded until accessed.
Method immediateload Indicate that the given attribute should be loaded using an immediate load with a per-attribute SELECT statement.
Method joinedload Indicate that the given attribute should be loaded using joined eager loading.
Method lazyload Indicate that the given attribute should be loaded using "lazy" loading.
Method load_only Indicate that for a particular entity, only the given list of column-based attribute names should be loaded; all others will be deferred.
Method noload Indicate that the given relationship attribute should remain unloaded.
Method process_compile_state Apply a modification to a given :class:`.ORMCompileState`.
Method process_compile_state_replaced_entities Apply a modification to a given :class:`.ORMCompileState`, given entities that were replaced by with_only_columns() or with_entities().
Method raiseload Indicate that the given attribute should raise an error if accessed.
Method selectin_polymorphic Indicate an eager load should take place for all attributes specific to a subclass.
Method selectinload Indicate that the given attribute should be loaded using SELECT IN eager loading.
Method subqueryload Indicate that the given attribute should be loaded using subquery eager loading.
Method undefer Indicate that the given column-oriented attribute should be undeferred, e.g. specified within the SELECT statement of the entity as a whole.
Method undefer_group Indicate that columns within the given deferred group name should be undeferred.
Method with_expression Apply an ad-hoc SQL expression to a "deferred expression" attribute.
Class Method _chop_path Undocumented
Method _coerce_strat Undocumented
Method _set_class_strategy Undocumented
Method _set_column_strategy Undocumented
Method _set_generic_strategy Undocumented
Method _set_relationship_strategy Undocumented
Class Variable _is_strategy_option Undocumented

Inherited from GenerativeOnTraversal (via _AbstractLoad):

Method _generate Undocumented

Inherited from HasShallowCopy (via _AbstractLoad, GenerativeOnTraversal):

Class Method _generate_shallow_copy Undocumented
Class Method _generate_shallow_from_dict Undocumented
Class Method _generate_shallow_to_dict Undocumented
Method _clone Create a shallow copy
Method _generated_shallow_copy_traversal Undocumented
Method _generated_shallow_from_dict_traversal Undocumented
Method _generated_shallow_to_dict_traversal Undocumented
Method _shallow_copy_to Undocumented
Method _shallow_from_dict Undocumented
Method _shallow_to_dict Undocumented

Inherited from CompileStateOption (via _AbstractLoad, GenerativeOnTraversal, HasShallowCopy, LoaderOption):

Class Variable _is_compile_state Undocumented

Inherited from HasCacheKey (via _AbstractLoad, GenerativeOnTraversal, HasShallowCopy, LoaderOption, CompileStateOption):

Class Variable inherit_cache Indicate if this :class:`.HasCacheKey` instance should make use of the cache key generation scheme used by its immediate superclass.
Class Method _generate_cache_attrs generate cache key dispatcher for a new class.
Class Method _generate_cache_key_for_object Undocumented
Method _gen_cache_key return an optional cache key.
Method _generate_cache_key return a cache key.
Class Variable _generated_cache_key_traversal Undocumented
Class Variable _hierarchy_supports_caching private attribute which may be set to False to prevent the inherit_cache warning from being emitted for a hierarchy of subclasses.
Class Variable _is_has_cache_key Undocumented

Inherited from ORMOption (via _AbstractLoad, GenerativeOnTraversal, HasShallowCopy, LoaderOption, CompileStateOption, HasCacheKey):

Method _adapt_cached_option_to_uncached_option adapt this option to the "uncached" version of itself in a loader strategy context.
Class Variable _is_core Undocumented
Class Variable _is_criteria_option Undocumented
Class Variable _is_legacy_option Undocumented
Class Variable _is_user_defined Undocumented

Inherited from ExecutableOption (via _AbstractLoad, GenerativeOnTraversal, HasShallowCopy, LoaderOption, CompileStateOption, HasCacheKey, ORMOption):

Class Variable __visit_name__ Undocumented

Inherited from HasCopyInternals (via _AbstractLoad, GenerativeOnTraversal, HasShallowCopy, LoaderOption, CompileStateOption, HasCacheKey, ORMOption, ExecutableOption):

Method _copy_internals Reassign internal elements to be clones of themselves.

Inherited from HasTraverseInternals (via _AbstractLoad, GenerativeOnTraversal, HasShallowCopy, LoaderOption, CompileStateOption, HasCacheKey, ORMOption, ExecutableOption, HasCopyInternals):

Method get_children Return immediate child :class:`.visitors.HasTraverseInternals` elements of this :class:`.visitors.HasTraverseInternals`.
Class Variable _is_immutable Undocumented
def __getstate__(self) -> Dict[str, Any]: (source)

Undocumented

def __init__(self): (source)

Undocumented

def __setstate__(self, state: Dict[str, Any]): (source)

Undocumented

def options(self, *opts: _AbstractLoad) -> Self: (source)

Apply a series of options as sub-options to this :class:`_orm._AbstractLoad` object. Implementation is provided by subclasses.

Undocumented

propagate_to_loaders: bool = (source)

if True, indicate this option should be carried along to "secondary" SELECT statements that occur for relationship lazy loaders as well as attribute load / refresh operations.

local_opts = (source)

Undocumented

Undocumented

strategy = (source)

Undocumented

def _apply_to_parent(self, parent: Load): (source)

apply this :class:`_orm._WildcardLoad` object as a sub-option of a :class:`_orm.Load` object. This method is used by the :meth:`_orm.Load.options` method. Note that :class:`_orm.WildcardLoad` itself can't have sub-options, but it may be used as the sub-option of a :class:`_orm.Load` object.

def _clone_for_bind_strategy(self, attrs, strategy, wildcard_key, opts=None, attr_group=None, propagate_to_loaders=True, reconcile_to_other=None): (source)
def _find_entity_basestring(self, entities: Iterable[_InternalEntityType[Any]], token: str, raiseerr: bool) -> Optional[_InternalEntityType[Any]]: (source)

Undocumented

def _process(self, compile_state, mapper_entities, raiseerr): (source)

implemented by subclasses