precommit fix
This commit is contained in:
parent
c3a2688948
commit
dbf43b1b09
@ -1260,6 +1260,9 @@ class BaseState(Base, ABC, extra=pydantic.Extra.allow):
|
|||||||
Args:
|
Args:
|
||||||
name: The name of the attribute.
|
name: The name of the attribute.
|
||||||
value: The value of the attribute.
|
value: The value of the attribute.
|
||||||
|
|
||||||
|
Raises:
|
||||||
|
AttributeError: If a value of a var is set without first defining it.
|
||||||
"""
|
"""
|
||||||
if isinstance(value, MutableProxy):
|
if isinstance(value, MutableProxy):
|
||||||
# unwrap proxy objects when assigning back to the state
|
# unwrap proxy objects when assigning back to the state
|
||||||
|
Loading…
Reference in New Issue
Block a user