Skip to content

Commit f793705

Browse files
committed
Update SDK using contracts version bc8ced3df85b8afbc96f668ebb9d192d18a65583
1 parent 3d528ae commit f793705

2 files changed

Lines changed: 18 additions & 22 deletions

File tree

eolymp/commerce/product_pb2.py

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

eolymp/commerce/product_pb2.pyi

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
99
DESCRIPTOR: _descriptor.FileDescriptor
1010

1111
class Product(_message.Message):
12-
__slots__ = ("id", "name", "description", "images", "out_of_stock", "currency", "unit_price", "credit_equivalence", "attributes", "variants")
12+
__slots__ = ("id", "name", "description", "images", "out_of_stock", "currency", "unit_price", "attributes", "variants")
1313
class Extra(_message.Message):
1414
__slots__ = ()
1515
class Field(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
@@ -35,7 +35,6 @@ class Product(_message.Message):
3535
DESCRIPTION: _ClassVar[Product.Patch.Field]
3636
IMAGES: _ClassVar[Product.Patch.Field]
3737
UNIT_PRICE: _ClassVar[Product.Patch.Field]
38-
CREDIT_EQUIVALENCE: _ClassVar[Product.Patch.Field]
3938
ATTRIBUTES: _ClassVar[Product.Patch.Field]
4039
VARIANTS: _ClassVar[Product.Patch.Field]
4140
UNKNOWN_FIELD: Product.Patch.Field
@@ -44,7 +43,6 @@ class Product(_message.Message):
4443
DESCRIPTION: Product.Patch.Field
4544
IMAGES: Product.Patch.Field
4645
UNIT_PRICE: Product.Patch.Field
47-
CREDIT_EQUIVALENCE: Product.Patch.Field
4846
ATTRIBUTES: Product.Patch.Field
4947
VARIANTS: Product.Patch.Field
5048
def __init__(self) -> None: ...
@@ -80,7 +78,6 @@ class Product(_message.Message):
8078
OUT_OF_STOCK_FIELD_NUMBER: _ClassVar[int]
8179
CURRENCY_FIELD_NUMBER: _ClassVar[int]
8280
UNIT_PRICE_FIELD_NUMBER: _ClassVar[int]
83-
CREDIT_EQUIVALENCE_FIELD_NUMBER: _ClassVar[int]
8481
ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
8582
VARIANTS_FIELD_NUMBER: _ClassVar[int]
8683
id: str
@@ -90,7 +87,6 @@ class Product(_message.Message):
9087
out_of_stock: bool
9188
currency: str
9289
unit_price: int
93-
credit_equivalence: int
9490
attributes: _containers.RepeatedCompositeFieldContainer[Product.Attribute]
9591
variants: _containers.RepeatedCompositeFieldContainer[Product.Variant]
96-
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[_Union[_content_pb2.Content, _Mapping]] = ..., images: _Optional[_Iterable[str]] = ..., out_of_stock: bool = ..., currency: _Optional[str] = ..., unit_price: _Optional[int] = ..., credit_equivalence: _Optional[int] = ..., attributes: _Optional[_Iterable[_Union[Product.Attribute, _Mapping]]] = ..., variants: _Optional[_Iterable[_Union[Product.Variant, _Mapping]]] = ...) -> None: ...
92+
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[_Union[_content_pb2.Content, _Mapping]] = ..., images: _Optional[_Iterable[str]] = ..., out_of_stock: bool = ..., currency: _Optional[str] = ..., unit_price: _Optional[int] = ..., attributes: _Optional[_Iterable[_Union[Product.Attribute, _Mapping]]] = ..., variants: _Optional[_Iterable[_Union[Product.Variant, _Mapping]]] = ...) -> None: ...

0 commit comments

Comments
 (0)