mirror of
https://github.com/Donkie/Spoolman.git
synced 2026-10-22 01:52:17 -05:00
Changed g to grams in API docs for clarity
This commit is contained in:
1 parent
23cfb42ba8
commit
dad446621f
2 files changed
+3
-3
No files matched your search
@@ -42,12 +42,12 @@ class SpoolParameters(BaseModel):
|
||||
)
|
||||
initial_weight: Optional[float] = Field(
|
||||
ge=0,
|
||||
description="The initial total weight of the filament and spool, in g. (gross weight)",
|
||||
description="The initial total weight of the filament and spool, in grams. (gross weight)",
|
||||
example=200,
|
||||
)
|
||||
empty_weight: Optional[float] = Field(
|
||||
ge=0,
|
||||
description="The weight of an empty spool, in g. (tare weight)",
|
||||
description="The weight of an empty spool, in grams. (tare weight)",
|
||||
example=200,
|
||||
)
|
||||
remaining_weight: Optional[float] = Field(
|
||||
|
||||
@@ -35,7 +35,7 @@ class VendorParameters(BaseModel):
|
||||
)
|
||||
empty_spool_weight: Optional[float] = Field(
|
||||
ge=0,
|
||||
description="The weight of an empty spool, in g.",
|
||||
description="The weight of an empty spool, in grams.",
|
||||
example=200,
|
||||
)
|
||||
extra: Optional[dict[str, str]] = Field(
|
||||
|
||||
Reference in new issue
Block a user