Thank you very much WackyRabbit7 and TimelyPenguin76 . I will try it later : )
the Task
object has a method called Task.execute_remotely
Look it up here:
https://allegro.ai/docs/task.html#trains.task.Task.execute_remotely
FierceFly22 like Elior wrote, you can use Task.execute_remotely
, just need to supply the queue name 🙂