File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 1- from pydantic import RootModel
21# generated by datamodel-codegen:
32# filename: QuantConnect-Platform-2.0.0.yaml
4- # timestamp: 2025-06-24T17:03:17 +00:00
3+ # timestamp: 2025-06-24T22:43:08 +00:00
54
65from __future__ import annotations
6+ from pydantic import RootModel , ConfigDict
77
88from datetime import date , datetime
99from enum import Enum
@@ -1552,8 +1552,8 @@ class Direction1(Enum):
15521552class GoodTilCanceledTimeInForce (BaseModel ):
15531553 pass
15541554
1555- class Config :
1556- extra = Extra . forbid
1555+ model_config = ConfigDict ( extra = 'forbid' )
1556+
15571557
15581558
15591559class Type3 (Enum ):
@@ -1563,8 +1563,8 @@ class Type3(Enum):
15631563
15641564
15651565class DayTimeInForce (BaseModel ):
1566- class Config :
1567- extra = Extra . forbid
1566+ model_config = ConfigDict ( extra = 'forbid' )
1567+
15681568
15691569 type : Annotated [Type3 , Field (alias = '$type' , description = 'The type of TimeInForce.' )]
15701570
@@ -1576,8 +1576,8 @@ class Type4(Enum):
15761576
15771577
15781578class GoodTilDateTimeInForce (BaseModel ):
1579- class Config :
1580- extra = Extra . forbid
1579+ model_config = ConfigDict ( extra = 'forbid' )
1580+
15811581
15821582 type : Annotated [Type4 , Field (alias = '$type' , description = 'The type of TimeInForce.' )]
15831583 Expiry : Annotated [
You can’t perform that action at this time.
0 commit comments