Skip to content

Commit

Permalink
fixed arbitrary type in shareholder
Browse files Browse the repository at this point in the history
  • Loading branch information
mahs4d committed Nov 3, 2022
1 parent 86c2e80 commit 5b40bfd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions lib/tsetmc_api/day_details/shareholder.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ class DayDetailsShareHolderChartRow(BaseModel):
count: int
percentage: float

class Config:
arbitrary_types_allowed = True


class DayDetailsShareHolderDataRow(BaseModel):
symbol_id: str
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 5b40bfd

Please sign in to comment.