@@ -220,12 +220,12 @@ def _process_upload_media_job(
220220 upload_url_response = self ._request_with_backoff (
221221 self ._api_client .media .get_upload_url ,
222222 request = GetMediaUploadUrlRequest (
223- contentLength = data ["content_length" ],
224- contentType = cast (MediaContentType , data ["content_type" ]),
225- sha256Hash = data ["content_sha256_hash" ],
223+ content_length = data ["content_length" ],
224+ content_type = cast (MediaContentType , data ["content_type" ]),
225+ sha_256_hash = data ["content_sha256_hash" ],
226226 field = data ["field" ],
227- traceId = data ["trace_id" ],
228- observationId = data ["observation_id" ],
227+ trace_id = data ["trace_id" ],
228+ observation_id = data ["observation_id" ],
229229 ),
230230 )
231231
@@ -267,10 +267,10 @@ def _process_upload_media_job(
267267 self ._api_client .media .patch ,
268268 media_id = data ["media_id" ],
269269 request = PatchMediaBody (
270- uploadedAt = _get_timestamp (),
271- uploadHttpStatus = upload_response .status_code ,
272- uploadHttpError = upload_response .text ,
273- uploadTimeMs = upload_time_ms ,
270+ uploaded_at = _get_timestamp (),
271+ upload_http_status = upload_response .status_code ,
272+ upload_http_error = upload_response .text ,
273+ upload_time_ms = upload_time_ms ,
274274 ),
275275 )
276276
0 commit comments