Skip to content

Commit

Permalink
Added last_updated to get_summaries (#526)
Browse files Browse the repository at this point in the history
  • Loading branch information
justinpolygon authored Sep 27, 2023
1 parent e16370e commit 9b4ecb0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions polygon/rest/models/summaries.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class SummaryResult:
ticker: Optional[str] = None
branding: Optional[Branding] = None
market_status: Optional[str] = None
last_updated: Optional[int] = None
type: Optional[str] = None
session: Optional[Session] = None
options: Optional[Options] = None
Expand All @@ -62,6 +63,7 @@ def from_dict(d):
ticker=d.get("ticker", None),
branding=None if "branding" not in d else Branding.from_dict(d["branding"]),
market_status=d.get("market_status", None),
last_updated=d.get("last_updated", None),
type=d.get("type", None),
session=None if "session" not in d else Session.from_dict(d["session"]),
options=None if "options" not in d else Options.from_dict(d["options"]),
Expand Down

0 comments on commit 9b4ecb0

Please sign in to comment.