Add missing @classmethod decorator to model_validator

Co-authored-by: blackboxprogramming <118287761+blackboxprogramming@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-11-19 21:29:29 +00:00
parent 7266c614f1
commit 8da5488693

View File

@@ -48,6 +48,7 @@ class Settings(BaseSettings):
return value return value
@model_validator(mode="after") @model_validator(mode="after")
@classmethod
def validate_required(cls, values: "Settings") -> "Settings": def validate_required(cls, values: "Settings") -> "Settings":
if values.env.lower() != "development": if values.env.lower() != "development":
missing = [] missing = []