fix: add reserved variables in args (#2371)

* fix: add reserved variables in args

* fix: only get job when necessary
This commit is contained in:
HugoCasa
2023-10-03 18:14:37 +02:00
committed by GitHub
parent ab2ba72f04
commit e7165f3357
17 changed files with 148 additions and 29 deletions
@@ -289,7 +289,7 @@ pub async fn handle_python_job(
.collect::<Vec<String>>()
.join("");
let client = client.get_authed().await;
create_args_and_out_file(&client, job, job_dir).await?;
create_args_and_out_file(&client, job, job_dir, db).await?;
let import_loader = if relative_imports {
"import loader"