Scott Jones
02/02/2021, 6:46 PMAlex Cano
02/02/2021, 7:06 PM#prefect-community
channel (this is just about the open source server).
Second is that you theoretically should be able to implement your own executor (all you’d need to do is inherit from the Executor
class at prefect.executors.base
and implement those methods.
Executors are responsible for submitting work to an engine that schedules the work accordingly. Is there an engine that exists in the Julia ecosystem (I know very little about Julia so bear with me) that you’d like to leverage?
If you’re just looking to execute Julia code, you may be interested in creating a Julia
task that accepts your python objects as arguments, interfaces with Julia to execute some code, then returns the Python objects. I’m sure the exact process may vary depending on how you need the interface between the languages to work, but I think that’d be a great starting place!Scott Jones
02/02/2021, 7:09 PMJim Crist-Harif
02/02/2021, 7:18 PMScott Jones
02/02/2021, 7:20 PMpyjulia
is kind of a weird reverse PyCall
(it actually depends on PyCall
), and I would prefer to stick with Julia and use PyCall
when necessary, but if that’s all that is currently possible, it will have to do.PyCall
fairly frequently - it’s my preferred way of interaction with Python, to be honest!)