diff --git a/lib/tsetmc_api/day_details/shareholder.py b/lib/tsetmc_api/day_details/shareholder.py index 8d8b3bf..9737a52 100644 --- a/lib/tsetmc_api/day_details/shareholder.py +++ b/lib/tsetmc_api/day_details/shareholder.py @@ -33,6 +33,9 @@ class DayDetailsShareHolderChartRow(BaseModel): count: int percentage: float + class Config: + arbitrary_types_allowed = True + class DayDetailsShareHolderDataRow(BaseModel): symbol_id: str diff --git a/pyproject.toml b/pyproject.toml index e70e724..59d8c6a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "tsetmc-api" -version = "5.0.2" +version = "5.0.3" description = "simple package to communicate and crawl data from tsetmc.com (Tehran Stock Exchange Website)" license = "MIT" repository = "https://github.com/mahs4d/tsetmc-api"