fix darglint

This commit is contained in:
Elijah 2024-10-02 22:20:52 +00:00
parent cd91136de6
commit bb8d7c5d15

View File

@ -1263,7 +1263,7 @@ class BaseState(Base, ABC, extra=pydantic.Extra.allow):
value: The value of the attribute.
Raises:
SetUndefinedStateVar: If a value of a var is set without first defining it.
SetUndefinedStateVarError: If a value of a var is set without first defining it.
"""
if isinstance(value, MutableProxy):
# unwrap proxy objects when assigning back to the state