[Bug]: execute_command_sync receives 300 (int) as context instead of timeout. #537 (#538)

Happened when requested to include a file using the api.

Tests Done:
. Requested again to include the same file, and it did not throw any
error.
. After, I requested the include of lots of other files, and had no
issue.

Co-authored-by: Luiza Carneiro <luiza.carneiro@cloudera.com>
This commit is contained in:
Luiza 2026-02-06 10:54:32 -08:00 committed by GitHub
parent 2137758103
commit 36ac10d5f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -461,7 +461,7 @@ async def create_source(
"open_notebook", # app name
"process_source", # command name
command_input.model_dump(),
300, # 5 minute timeout for sync processing
timeout=300, # 5 minute timeout for sync processing
)
if not result.is_success():