Skip to content

Commit

Permalink
Add missing fields
Browse files Browse the repository at this point in the history
  • Loading branch information
nadzyah committed Jan 25, 2024
1 parent 1e3749d commit b169a71
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/hwapi/data_models/data_validators/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class BoardValidator(BaseModel):
class ChassisValidator(BaseModel):
chassis_type: str
manufacturer: str
sku: str
version: str


Expand All @@ -58,6 +59,8 @@ class GPUValidator(BaseModel):
class NetworkAdapterValidator(BaseModel):
"""Validator for ethernet network adapters"""

bus: str
id: str
model: str
vendor: str
capacity: int
Expand Down

0 comments on commit b169a71

Please sign in to comment.