Skip to content

Commit

Permalink
fix: Suppress pydantic warning over model_id field in DeployedModel
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreyftang committed Apr 11, 2024
1 parent ce501cd commit cf5797b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions clients/python/lorax/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,3 +336,6 @@ class StreamResponse(BaseModel):
class DeployedModel(BaseModel):
model_id: str
sha: str

# Suppress pydantic warning over `model_id` field.
model_config = ConfigDict(protected_namespaces=())

0 comments on commit cf5797b

Please sign in to comment.