@@ -72,10 +72,10 @@ class Run(BaseModel):
72
72
execution of this run.
73
73
"""
74
74
75
- cancelled_at : Optional [int ]
75
+ cancelled_at : Optional [int ] = None
76
76
"""The Unix timestamp (in seconds) for when the run was cancelled."""
77
77
78
- completed_at : Optional [int ]
78
+ completed_at : Optional [int ] = None
79
79
"""The Unix timestamp (in seconds) for when the run was completed."""
80
80
81
81
created_at : int
@@ -84,7 +84,7 @@ class Run(BaseModel):
84
84
expires_at : int
85
85
"""The Unix timestamp (in seconds) for when the run will expire."""
86
86
87
- failed_at : Optional [int ]
87
+ failed_at : Optional [int ] = None
88
88
"""The Unix timestamp (in seconds) for when the run failed."""
89
89
90
90
file_ids : List [str ]
@@ -101,10 +101,10 @@ class Run(BaseModel):
101
101
this run.
102
102
"""
103
103
104
- last_error : Optional [LastError ]
104
+ last_error : Optional [LastError ] = None
105
105
"""The last error associated with this run. Will be `null` if there are no errors."""
106
106
107
- metadata : Optional [builtins .object ]
107
+ metadata : Optional [builtins .object ] = None
108
108
"""Set of 16 key-value pairs that can be attached to an object.
109
109
110
110
This can be useful for storing additional information about the object in a
@@ -122,13 +122,13 @@ class Run(BaseModel):
122
122
object : Literal ["thread.run" ]
123
123
"""The object type, which is always `thread.run`."""
124
124
125
- required_action : Optional [RequiredAction ]
125
+ required_action : Optional [RequiredAction ] = None
126
126
"""Details on the action required to continue the run.
127
127
128
128
Will be `null` if no action is required.
129
129
"""
130
130
131
- started_at : Optional [int ]
131
+ started_at : Optional [int ] = None
132
132
"""The Unix timestamp (in seconds) for when the run was started."""
133
133
134
134
status : Literal [
0 commit comments