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: