class documentation

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_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 HasTraverseInternals:

Method get_children Return immediate child :class:`.visitors.HasTraverseInternals` elements of this :class:`.visitors.HasTraverseInternals`.
Class Variable _is_immutable Undocumented
Class Variable _traverse_internals Undocumented
@classmethod
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: _TraverseInternalsType, method_name: str) -> Callable[[Self, Dict[str, Any]], None]: (source)

Undocumented

@classmethod
def _generate_shallow_to_dict(cls, internal_dispatch: _TraverseInternalsType, method_name: str) -> Callable[[Self], Dict[str, Any]]: (source)

Undocumented

def _clone(self, **kw: Any) -> Self: (source)

Create a shallow copy

def _generated_shallow_copy_traversal(self, other: Self): (source)

Undocumented

def _generated_shallow_from_dict_traversal(self, d: Dict[str, Any]): (source)

Undocumented

def _generated_shallow_to_dict_traversal(self) -> Dict[str, Any]: (source)

Undocumented

def _shallow_copy_to(self, other: Self): (source)

Undocumented

def _shallow_from_dict(self, d: Dict[str, Any]): (source)

Undocumented

def _shallow_to_dict(self) -> Dict[str, Any]: (source)

Undocumented