From 3f48d0f33f981d9007beec42241c1672f82b5b85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Du=C3=A9=C3=B1ez-Guzm=C3=A1n?= Date: Mon, 4 Dec 2023 08:48:43 -0800 Subject: [PATCH] Declare basic agent's state so the attribute is known to pytype. PiperOrigin-RevId: 587734720 Change-Id: Ia27b46ec286ab1671a14e2449d2851492638d6e8 --- concordia/agents/basic_agent.py | 1 + 1 file changed, 1 insertion(+) diff --git a/concordia/agents/basic_agent.py b/concordia/agents/basic_agent.py index d1ae5360..47a5ccf7 100644 --- a/concordia/agents/basic_agent.py +++ b/concordia/agents/basic_agent.py @@ -87,6 +87,7 @@ def __init__( self._under_interrogation = False self._state_lock = threading.Lock() + self._state: str | None self._components = {} for comp in components: