Closed superstar54 closed 4 weeks ago
Attention: Patch coverage is 76.74419%
with 30 lines
in your changes missing coverage. Please review.
Project coverage is 79.43%. Comparing base (
5937b88
) to head (f6e8efb
). Report is 33 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Have you tried out or thought about using cloudpickle.register_pickle_by_value of the imported modules so a installation is not necessary on remote machines?
Thanks for pointing out this. I wasn't aware of this before. However, I found that this feature is still experimental and may fail in certain cases. We can add this feature as optional. Maybe in another PR.
Implement the
PickledFunction
class as a subclass of orm.Data, the class handlesPythonJob adds
function
input, which acceptsPickledFunction
as input.Docs
Add docs: use the
PythonJob
task outside the WorkGraph to run a Python function on a remote computer. For example, in aWorkChain
or run a singleCalcJob
calculation.