Skip to content

Commit 1ada551

Browse files
corke2013Keegan Cordeiro
andauthored
make unit descriptor optional (#109)
Co-authored-by: Keegan Cordeiro <[email protected]>
1 parent 1147241 commit 1ada551

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

predicthq/endpoints/v1/beam/schemas.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,15 +100,15 @@ class DemandTypeGroup(BaseModel):
100100
interval: str
101101
week_start_day: Optional[str] = None
102102
industry: Optional[str] = None
103-
unit_descriptor: str
103+
unit_descriptor: Optional[str] = None
104104
currency_code: str
105105

106106

107107
class DemandType(DemandTypeGroup):
108108
interval: str
109109
week_start_day: Optional[str] = None
110110
industry: Optional[str] = None
111-
unit_descriptor: str
111+
unit_descriptor: Optional[str] = None
112112
unit_currency_multiplier: float
113113
currency_code: str
114114

predicthq/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "4.2.1"
1+
__version__ = "4.3.0"

0 commit comments

Comments
 (0)