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 authored Apr 11, 2024
1 parent ce501cd commit 63e38b5
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 63e38b5

Please sign in to comment.