add __repr__ method to MutableProxy
This commit is contained in:
parent
a895eaaede
commit
ac68328d80
@ -3596,6 +3596,14 @@ class MutableProxy(wrapt.ObjectProxy):
|
||||
self._self_state = state
|
||||
self._self_field_name = field_name
|
||||
|
||||
def __repr__(self) -> str:
|
||||
"""Get the representation of the wrapped object.
|
||||
|
||||
Returns:
|
||||
The representation of the wrapped object.
|
||||
"""
|
||||
return f"{self.__class__.__name__}({self.__wrapped__})"
|
||||
|
||||
def _mark_dirty(
|
||||
self,
|
||||
wrapped=None,
|
||||
|
Loading…
Reference in New Issue
Block a user