Skip to content

Commit 0c936ab

Browse files
authored
Merge pull request #47 from ARKlab/hotfix/v4.2.1
fix: prevent error in ReadMarketData when UnitOfMeasure is null
2 parents f6456cf + e071f41 commit 0c936ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Artesian/MarketData/_Dto/UnitOfMeasure.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from dataclasses import dataclass
2+
from typing import Optional
23

34

45
@dataclass
@@ -12,4 +13,4 @@ class UnitOfMeasure:
1213
1314
"""
1415

15-
value: str
16+
value: Optional[str]

0 commit comments

Comments
 (0)