From c391a9e79c8562f38a96498b2aa44b899254f22f Mon Sep 17 00:00:00 2001 From: Ahmad Nofal Date: Sat, 9 Sep 2023 18:03:03 +0400 Subject: [PATCH] lint mypy --- ninja/schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ninja/schema.py b/ninja/schema.py index ab9c7423b..bb4ce8d6c 100644 --- a/ninja/schema.py +++ b/ninja/schema.py @@ -55,7 +55,7 @@ def __getattr__(self, key: str) -> Any: # if key.startswith("__pydantic"): # return getattr(self._obj, key) - resolver = self._schema_cls._ninja_resolvers.get(key) # type: ignore + resolver = self._schema_cls._ninja_resolvers.get(key) if resolver: value = resolver(getter=self) else: