Skip to content

Commit

Permalink
fix(prompts): suppress pydantic warning (#6355)
Browse files Browse the repository at this point in the history
  • Loading branch information
axiomofjoy authored Feb 13, 2025
1 parent a23c7e6 commit 39ace3b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/phoenix/server/api/routers/v1/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,7 @@ class V1RoutesBaseModel(BaseModel):
model_config = ConfigDict(
json_encoders={datetime: datetime_encoder},
validate_assignment=True,
protected_namespaces=tuple(
[]
), # suppress warnings about protected namespaces starting with `model_` on pydantic 2.9
)

0 comments on commit 39ace3b

Please sign in to comment.