cleanup unused check (#3590)

This commit is contained in:
benedikt-bartscher 2024-06-29 17:48:31 +02:00 committed by GitHub
parent f1dafc0373
commit ad1d82f7ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -401,11 +401,7 @@ class BaseState(Base, ABC, extra=pydantic.Extra.allow):
# Create a fresh copy of the backend variables for this instance
self._backend_vars = copy.deepcopy(
{
name: item
for name, item in self.backend_vars.items()
if name not in self.computed_vars
}
{name: item for name, item in self.backend_vars.items()}
)
def __repr__(self) -> str: