We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 531d3dd commit bd60f94Copy full SHA for bd60f94
services/director-v2/src/simcore_service_director_v2/models/pricing.py
@@ -13,14 +13,15 @@ class PricingInfo(BaseModel):
13
pricing_unit_id: PricingUnitId
14
pricing_unit_cost_id: PricingUnitCostId
15
pricing_unit_cost: Decimal
16
+
17
model_config = ConfigDict(
18
json_schema_extra={
19
"examples": [
20
{
21
"pricing_plan_id": 1,
22
"pricing_unit_id": 1,
23
"pricing_unit_cost_id": 1,
- "pricing_unit_cost": Decimal(10),
24
+ "pricing_unit_cost": Decimal(10), # type: ignore
25
}
26
]
27
0 commit comments