Skip to content

Commit 86a8298

Browse files
committed
габариты товара стали стандартным полем
1 parent 4fde3f6 commit 86a8298

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

src/openinflation_dataclass/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Pydantic models for products, categories, and retail geolocation."""
22

3-
__version__ = "0.1.2"
3+
__version__ = "0.1.3"
44

55
from .card import Card, MetaData, WholesalePrice
66
from .geolocation import AdministrativeUnit, RetailUnit, Schedule

src/openinflation_dataclass/card.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ class Card(NetworkModel):
7171
package_quantity: float | None = None
7272
package_unit: Literal["KGM", "LTR"] | None = None
7373

74+
dimension_height: float | None = None
75+
dimension_width: float | None = None
76+
dimension_depth: float | None = None
77+
7478
categories_uid: list[str] | None = Field(default_factory=list)
7579

7680
main_image: str | None = Field(default=None, repr=False)

0 commit comments

Comments
 (0)