Skip to content

Commit 9c2dc86

Browse files
authored
feat(product_catalog): handle new countable units in catalog APIs (#1223)
1 parent 29939e1 commit 9c2dc86

File tree

2 files changed

+4
-0
lines changed
  • scaleway-async/scaleway_async/product_catalog/v2alpha1
  • scaleway/scaleway/product_catalog/v2alpha1

2 files changed

+4
-0
lines changed

scaleway-async/scaleway_async/product_catalog/v2alpha1/types.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ class PublicCatalogProductUnitOfMeasureCountableUnit(str, Enum, metaclass=StrEnu
8282
SETUP = "setup"
8383
DAY = "day"
8484
SECOND = "second"
85+
SAMPLE_DAY = "sample_day"
86+
GIGABYTE_DAY = "gigabyte_day"
8587

8688
def __str__(self) -> str:
8789
return str(self.value)

scaleway/scaleway/product_catalog/v2alpha1/types.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ class PublicCatalogProductUnitOfMeasureCountableUnit(str, Enum, metaclass=StrEnu
8282
SETUP = "setup"
8383
DAY = "day"
8484
SECOND = "second"
85+
SAMPLE_DAY = "sample_day"
86+
GIGABYTE_DAY = "gigabyte_day"
8587

8688
def __str__(self) -> str:
8789
return str(self.value)

0 commit comments

Comments
 (0)