@@ -111,33 +111,33 @@ class ExecutionErrorCode(str, Enum):
111111class Execution (JsonModel ):
112112 """Information about an execution of a Jupyter notebook that has the cachedResult field added."""
113113
114- id : str
114+ id : Optional [ str ] = None
115115 """The ID of the execution."""
116116
117- notebook_id : str
117+ notebook_id : Optional [ str ] = None
118118 """The ID of the executed notebook."""
119119
120- organization_id : str = Field (alias = "orgId" )
120+ organization_id : Optional [ str ] = Field (alias = "orgId" )
121121 """The org ID of the user creating the request."""
122122
123- user_id : str
123+ user_id : Optional [ str ] = None
124124 """The user ID of the user creating the request."""
125125
126126 parameters : Optional [Dict [str , Any ]] = None
127127 """The input parameters for this execution of the notebook. The keys are strings and the values can be of any
128128 valid JSON type."""
129129
130- workspace_id : str
130+ workspace_id : Optional [ str ] = None
131131 """The ID of the workspace this execution belongs to."""
132132
133- timeout : int
133+ timeout : Optional [ int ] = None
134134 """The number of seconds the execution runs before it aborts if uncompleted. The timer starts once status is
135135 IN_PROGRESS. 0 means infinite."""
136136
137- status : ExecutionStatus
137+ status : Optional [ ExecutionStatus ] = None
138138 """Status of an execution."""
139139
140- queued_at : datetime
140+ queued_at : Optional [ datetime ] = None
141141 """Timestamp of when the notebook execution was queued."""
142142
143143 started_at : Optional [datetime ] = None
@@ -146,35 +146,35 @@ class Execution(JsonModel):
146146 completed_at : Optional [datetime ] = None
147147 """Timestamp of when the notebook execution was completed."""
148148
149- last_updated_timestamp : datetime
149+ last_updated_timestamp : Optional [ datetime ] = None
150150 """Timestamp of when the notebook execution was last updated."""
151151
152152 last_updated_by : Optional [str ] = None
153153 """"The user ID of the user who last updated the execution."""
154154
155- retry_count : int
155+ retry_count : Optional [ int ]
156156 """The number of manually retried attempts of the notebook execution."""
157157
158158 exception : Optional [str ] = None
159159 """Exception that occured during the execution. This is used only when status is FAILED."""
160160
161- error_code : ExecutionErrorCode
161+ error_code : Optional [ ExecutionErrorCode ] = None
162162 """Execution error code."""
163163
164164 report_id : Optional [str ] = None
165165 """The ID of the report this execution generates."""
166166
167- report_settings : ReportSettings
167+ report_settings : Optional [ ReportSettings ] = None
168168 """Settings of the Report"""
169169
170170 result : Optional [Dict [str , Optional [object ]]] = None
171171 """Result of the execution. This is used only when status is SUCCEEDED."""
172172
173- source : Source
173+ source : Optional [ Source ] = None
174174 """An object that defines properties set by routine service"""
175175
176- priority : ExecutionPriority
176+ priority : Optional [ ExecutionPriority ] = None
177177 """Execution priority. Can be one of Low, Medium or High."""
178178
179- resource_profile : ExecutionResourceProfile
179+ resource_profile : Optional [ ExecutionResourceProfile ] = None
180180 """Resource profile of the execution."""
0 commit comments