Fix (UI): Corrected console outputs for UBOM.
This commit is contained in:
7
models/material.py
Normal file
7
models/material.py
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
from pydantic import BaseModel, Field
|
||||
|
||||
class Material(BaseModel):
|
||||
colour: str
|
||||
density: float = Field(gt = 0)
|
||||
name: str
|
||||
Reference in New Issue
Block a user