args dictionary parameter.runScriptAsyncrun_script_asyncrun_script_asyncimport * as wmill from "windmill-client"
export async function main() {
const jobId = await wmill.runScriptAsync('u/username/script_path', null, {
"param1": "value1",
"param2": "value2"
}) ;
console.log(`Got jobId = ${jobId}`) ;
const result = await wmill.waitJob(jobId, true) ;
}import { scriptFunction } from './other_script.ts';from windmill import Windmill
# Initialize the client
wmill = Windmill()
# Trigger script asynchronously with a list parameter
job_id = wmill.run_script_async(
hash="script_hash_here",
args={
"my_list_param": ["item1", "item2", "item3"],
"other_param": "value"
}
)
print(f"Job started with ID: {job_id}")