didn't add that file

This commit is contained in:
Danglewood
2024-11-09 00:10:04 -08:00
parent f9d00c1d15
commit 2c317a346b

View File

@@ -775,15 +775,6 @@ MODEL_MAP = {
class PolygonWebSocketData(Data):
"""Polygon WebSocket data model."""
# model_config = ConfigDict(
# extra="allow",
# populate_by_alias=True,
# arbitrary_types_allowed=True,
# validate_default=False,
# frozen=False,
# strict=False,
# )
def __new__(cls, **data):
"""Create new instance of appropriate model type."""
model = MODEL_MAP.get(data.get("ev")) or MODEL_MAP.get(data.get("type"))