We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent beddb8c commit 5ac311fCopy full SHA for 5ac311f
polygon/rest/models/contracts.py
@@ -33,7 +33,7 @@ def from_dict(d):
33
return OptionsContract(
34
additional_underlyings=None
35
if "additional_underlyings" not in d
36
- else Underlying.from_dict(d["additional_underlyings"]),
+ else [Underlying.from_dict(u) for u in d["additional_underlyings"]],
37
cfi=d.get("cfi", None),
38
correction=d.get("correction", None),
39
exercise_style=d.get("exercise_style", None),
0 commit comments