From 9b4ecb00198aa210eeed5435c957e418c1359451 Mon Sep 17 00:00:00 2001 From: justinpolygon <123573436+justinpolygon@users.noreply.github.com> Date: Wed, 27 Sep 2023 08:42:59 -0700 Subject: [PATCH] Added last_updated to get_summaries (#526) --- polygon/rest/models/summaries.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/polygon/rest/models/summaries.py b/polygon/rest/models/summaries.py index 549c6fe0..21e6f395 100644 --- a/polygon/rest/models/summaries.py +++ b/polygon/rest/models/summaries.py @@ -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 @@ -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"]),