class documentation
class HasShallowCopy(HasTraverseInternals): (source)
Known subclasses: sqlalchemy.sql.traversals.GenerativeOnTraversal
, sqlalchemy.orm.strategy_options._LoadElement
attribute-wide operations that are useful for classes that use __slots__ and therefore can't operate on their attributes in a dictionary.
Class Variable | __slots__ |
Undocumented |
Class Method | _generate |
Undocumented |
Class Method | _generate |
Undocumented |
Class Method | _generate |
Undocumented |
Method | _clone |
Create a shallow copy |
Method | _generated |
Undocumented |
Method | _generated |
Undocumented |
Method | _generated |
Undocumented |
Method | _shallow |
Undocumented |
Method | _shallow |
Undocumented |
Method | _shallow |
Undocumented |
Inherited from HasTraverseInternals
:
Method | get |
Return immediate child :class:`.visitors.HasTraverseInternals` elements of this :class:`.visitors.HasTraverseInternals`. |
Class Variable | _is |
Undocumented |
Class Variable | _traverse |
Undocumented |
overridden in
sqlalchemy.sql.traversals.GenerativeOnTraversal
, sqlalchemy.orm.strategy_options._LoadElement
Undocumented
@classmethod
def _generate_shallow_copy(cls, internal_dispatch:
def _generate_shallow_copy(cls, internal_dispatch:
_TraverseInternalsType
, method_name: str
) -> Callable[ [ Self, Self], None]
:
(source)
¶
Undocumented
@classmethod
def _generate_shallow_from_dict(cls, internal_dispatch:
def _generate_shallow_from_dict(cls, internal_dispatch:
_TraverseInternalsType
, method_name: str
) -> Callable[ [ Self, Dict[ str, Any]], None]
:
(source)
¶
Undocumented
@classmethod
def _generate_shallow_to_dict(cls, internal_dispatch:
def _generate_shallow_to_dict(cls, internal_dispatch:
_TraverseInternalsType
, method_name: str
) -> Callable[ [ Self], Dict[ str, Any]]
:
(source)
¶
Undocumented