We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ee19ec commit 5d37195Copy full SHA for 5d37195
1 file changed
src/fastapi_cli/config.py
@@ -44,7 +44,6 @@ def resolve(cls, entrypoint: Optional[str] = None) -> "FastAPIConfig":
44
config["entrypoint"] = entrypoint
45
46
# Pydantic v2 uses model_validate, v1 uses parse_obj
47
- # Use getattr to avoid mypy errors with different Pydantic versions
48
if not PYDANTIC_V2:
49
return cls.parse_obj(config) # type: ignore[no-any-return, unused-ignore]
50
0 commit comments