Skip to content

Commit ad4b5af

Browse files
committed
Regenerate code
1 parent 86d16a3 commit ad4b5af

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+2561
-4109
lines changed

src/commercetools/_schemas/_cart.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1926,7 +1926,7 @@ class CartSetCustomLineItemCustomTypeActionSchema(CartUpdateActionSchema):
19261926
allow_none=True,
19271927
missing=None,
19281928
)
1929-
fields = FieldContainerField(allow_none=True, missing=None)
1929+
fields = FieldContainerField(allow_none=True, missing=None) # type: ignore
19301930

19311931
class Meta:
19321932
unknown = marshmallow.EXCLUDE
@@ -2051,7 +2051,7 @@ class CartSetCustomTypeActionSchema(CartUpdateActionSchema):
20512051
allow_none=True,
20522052
missing=None,
20532053
)
2054-
fields = FieldContainerField(allow_none=True, missing=None)
2054+
fields = FieldContainerField(allow_none=True, missing=None) # type: ignore
20552055

20562056
class Meta:
20572057
unknown = marshmallow.EXCLUDE
@@ -2154,7 +2154,7 @@ class CartSetLineItemCustomTypeActionSchema(CartUpdateActionSchema):
21542154
allow_none=True,
21552155
missing=None,
21562156
)
2157-
fields = FieldContainerField(allow_none=True, missing=None)
2157+
fields = FieldContainerField(allow_none=True, missing=None) # type: ignore
21582158

21592159
class Meta:
21602160
unknown = marshmallow.EXCLUDE

src/commercetools/_schemas/_cart_discount.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ class CartDiscountSetCustomTypeActionSchema(CartDiscountUpdateActionSchema):
565565
allow_none=True,
566566
missing=None,
567567
)
568-
fields = marshmallow.fields.Dict(allow_none=True, missing=None)
568+
fields = marshmallow.fields.Dict(allow_none=True, missing=None) # type: ignore
569569

570570
class Meta:
571571
unknown = marshmallow.EXCLUDE
@@ -664,7 +664,7 @@ class Meta:
664664
@marshmallow.post_load
665665
def post_load(self, data, **kwargs):
666666
del data["type"]
667-
return types.CartDiscountShippingCostTarget(**data)
667+
return types.CartDiscountShippingCostTarget()
668668

669669

670670
class CartDiscountValueAbsoluteDraftSchema(CartDiscountValueDraftSchema):

src/commercetools/_schemas/_category.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ class CategorySetAssetCustomTypeActionSchema(CategoryUpdateActionSchema):
449449
allow_none=True,
450450
missing=None,
451451
)
452-
fields = marshmallow.fields.Dict(allow_none=True, missing=None)
452+
fields = marshmallow.fields.Dict(allow_none=True, missing=None) # type: ignore
453453

454454
class Meta:
455455
unknown = marshmallow.EXCLUDE
@@ -568,7 +568,7 @@ class CategorySetCustomTypeActionSchema(CategoryUpdateActionSchema):
568568
allow_none=True,
569569
missing=None,
570570
)
571-
fields = FieldContainerField(allow_none=True, missing=None)
571+
fields = FieldContainerField(allow_none=True, missing=None) # type: ignore
572572

573573
class Meta:
574574
unknown = marshmallow.EXCLUDE

src/commercetools/_schemas/_channel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ class ChannelSetCustomTypeActionSchema(ChannelUpdateActionSchema):
356356
allow_none=True,
357357
missing=None,
358358
)
359-
fields = FieldContainerField(allow_none=True, missing=None)
359+
fields = FieldContainerField(allow_none=True, missing=None) # type: ignore
360360

361361
class Meta:
362362
unknown = marshmallow.EXCLUDE

src/commercetools/_schemas/_customer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ class CustomerSetCustomTypeActionSchema(CustomerUpdateActionSchema):
744744
allow_none=True,
745745
missing=None,
746746
)
747-
fields = FieldContainerField(allow_none=True, missing=None)
747+
fields = FieldContainerField(allow_none=True, missing=None) # type: ignore
748748

749749
class Meta:
750750
unknown = marshmallow.EXCLUDE

src/commercetools/_schemas/_customer_group.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ class CustomerGroupSetCustomTypeActionSchema(CustomerGroupUpdateActionSchema):
216216
allow_none=True,
217217
missing=None,
218218
)
219-
fields = FieldContainerField(allow_none=True, missing=None)
219+
fields = FieldContainerField(allow_none=True, missing=None) # type: ignore
220220

221221
class Meta:
222222
unknown = marshmallow.EXCLUDE

src/commercetools/_schemas/_discount_code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ class DiscountCodeSetCustomTypeActionSchema(DiscountCodeUpdateActionSchema):
371371
allow_none=True,
372372
missing=None,
373373
)
374-
fields = FieldContainerField(allow_none=True, missing=None)
374+
fields = FieldContainerField(allow_none=True, missing=None) # type: ignore
375375

376376
class Meta:
377377
unknown = marshmallow.EXCLUDE

src/commercetools/_schemas/_inventory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ class InventoryEntrySetCustomTypeActionSchema(InventoryEntryUpdateActionSchema):
285285
allow_none=True,
286286
missing=None,
287287
)
288-
fields = FieldContainerField(allow_none=True, missing=None)
288+
fields = FieldContainerField(allow_none=True, missing=None) # type: ignore
289289

290290
class Meta:
291291
unknown = marshmallow.EXCLUDE

src/commercetools/_schemas/_me.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1460,7 +1460,7 @@ class MyCartSetCustomTypeActionSchema(MyCartUpdateActionSchema):
14601460
allow_none=True,
14611461
missing=None,
14621462
)
1463-
fields = FieldContainerField(allow_none=True, missing=None)
1463+
fields = FieldContainerField(allow_none=True, missing=None) # type: ignore
14641464

14651465
class Meta:
14661466
unknown = marshmallow.EXCLUDE
@@ -1513,7 +1513,7 @@ class MyCartSetLineItemCustomTypeActionSchema(MyCartUpdateActionSchema):
15131513
allow_none=True,
15141514
missing=None,
15151515
)
1516-
fields = FieldContainerField(allow_none=True, missing=None)
1516+
fields = FieldContainerField(allow_none=True, missing=None) # type: ignore
15171517

15181518
class Meta:
15191519
unknown = marshmallow.EXCLUDE
@@ -1784,7 +1784,7 @@ class MyCustomerSetCustomTypeActionSchema(MyCustomerUpdateActionSchema):
17841784
allow_none=True,
17851785
missing=None,
17861786
)
1787-
fields = FieldContainerField(allow_none=True, missing=None)
1787+
fields = FieldContainerField(allow_none=True, missing=None) # type: ignore
17881788

17891789
class Meta:
17901790
unknown = marshmallow.EXCLUDE
@@ -2254,7 +2254,7 @@ class MyShoppingListSetCustomTypeActionSchema(MyShoppingListUpdateActionSchema):
22542254
allow_none=True,
22552255
missing=None,
22562256
)
2257-
fields = FieldContainerField(allow_none=True, missing=None)
2257+
fields = FieldContainerField(allow_none=True, missing=None) # type: ignore
22582258

22592259
class Meta:
22602260
unknown = marshmallow.EXCLUDE
@@ -2325,7 +2325,7 @@ class MyShoppingListSetLineItemCustomTypeActionSchema(MyShoppingListUpdateAction
23252325
allow_none=True,
23262326
missing=None,
23272327
)
2328-
fields = FieldContainerField(allow_none=True, missing=None)
2328+
fields = FieldContainerField(allow_none=True, missing=None) # type: ignore
23292329

23302330
class Meta:
23312331
unknown = marshmallow.EXCLUDE
@@ -2370,7 +2370,7 @@ class MyShoppingListSetTextLineItemCustomTypeActionSchema(
23702370
allow_none=True,
23712371
missing=None,
23722372
)
2373-
fields = FieldContainerField(allow_none=True, missing=None)
2373+
fields = FieldContainerField(allow_none=True, missing=None) # type: ignore
23742374

23752375
class Meta:
23762376
unknown = marshmallow.EXCLUDE

src/commercetools/_schemas/_message.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ class Meta:
791791
@marshmallow.post_load
792792
def post_load(self, data, **kwargs):
793793
del data["type"]
794-
return types.CustomerEmailVerifiedMessagePayload(**data)
794+
return types.CustomerEmailVerifiedMessagePayload()
795795

796796

797797
class CustomerEmailVerifiedMessageSchema(MessageSchema):
@@ -3215,7 +3215,7 @@ class Meta:
32153215
@marshmallow.post_load
32163216
def post_load(self, data, **kwargs):
32173217
del data["type"]
3218-
return types.ProductUnpublishedMessagePayload(**data)
3218+
return types.ProductUnpublishedMessagePayload()
32193219

32203220

32213221
class ProductUnpublishedMessageSchema(MessageSchema):

0 commit comments

Comments
 (0)