Skip to content

Commit ea168f0

Browse files
authored
Update models.py
1 parent 3030dd0 commit ea168f0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/models.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# generated by datamodel-codegen:
22
# filename: QuantConnect-Platform-2.0.0.yaml
3-
# timestamp: 2025-06-25T21:34:11+00:00
3+
# timestamp: 2025-06-25T23:02:44+00:00
44

55
from __future__ import annotations
66
from pydantic import RootModel, ConfigDict
@@ -260,7 +260,8 @@ class BybitUseTestnet(Enum):
260260
class Card(BaseModel):
261261
brand: Annotated[Optional[str], Field(description='Credit card brand.')] = None
262262
expiration: Annotated[
263-
Optional[datetime], Field(description='The credit card expiration.')
263+
Optional[str],
264+
Field(description='The credit card expiration (mm/yy).', examples='12/27'),
264265
] = None
265266
last4: Annotated[
266267
Optional[str], Field(description='The last 4 digits of the card.')

0 commit comments

Comments
 (0)