Skip to content

Commit cbf481e

Browse files
fix format
1 parent 96a93ac commit cbf481e

File tree

1 file changed

+20
-5
lines changed

1 file changed

+20
-5
lines changed

packages/models-library/src/models_library/api_schemas_webserver/resource_usage.py

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,21 @@ class CreatePricingPlanBodyParams(InputSchema):
9595
classification: PricingPlanClassification
9696
pricing_plan_key: str
9797

98-
model_config = ConfigDict(str_strip_whitespace=True, str_max_length=200)
98+
model_config = ConfigDict(
99+
str_strip_whitespace=True,
100+
str_max_length=200,
101+
)
99102

100103

101104
class UpdatePricingPlanBodyParams(InputSchema):
102105
display_name: str
103106
description: str
104107
is_active: bool
105108

106-
model_config = ConfigDict(str_strip_whitespace=True, str_max_length=200)
109+
model_config = ConfigDict(
110+
str_strip_whitespace=True,
111+
str_max_length=200,
112+
)
107113

108114

109115
class CreatePricingUnitBodyParams(InputSchema):
@@ -114,7 +120,10 @@ class CreatePricingUnitBodyParams(InputSchema):
114120
cost_per_unit: Decimal
115121
comment: str
116122

117-
model_config = ConfigDict(str_strip_whitespace=True, str_max_length=200)
123+
model_config = ConfigDict(
124+
str_strip_whitespace=True,
125+
str_max_length=200,
126+
)
118127

119128

120129
class UpdatePricingUnitBodyParams(InputSchema):
@@ -124,11 +133,17 @@ class UpdatePricingUnitBodyParams(InputSchema):
124133
specific_info: SpecificInfo
125134
pricing_unit_cost_update: PricingUnitCostUpdate | None
126135

127-
model_config = ConfigDict(str_strip_whitespace=True, str_max_length=200)
136+
model_config = ConfigDict(
137+
str_strip_whitespace=True,
138+
str_max_length=200,
139+
)
128140

129141

130142
class ConnectServiceToPricingPlanBodyParams(InputSchema):
131143
service_key: ServiceKey
132144
service_version: ServiceVersion
133145

134-
model_config = ConfigDict(str_strip_whitespace=True, str_max_length=200)
146+
model_config = ConfigDict(
147+
str_strip_whitespace=True,
148+
str_max_length=200,
149+
)

0 commit comments

Comments
 (0)