Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fix] PythonJob not need
aiida_workgraph
on remote computer (#396)
In the decorated function of PythonJob, we attached the WorkGraph's `Task` class to the function, this will be pickled together with the function, thus, when unpickling the function on the remote computer, it require `aiida-workgraph`. Thsi PR deletes the workgraph related attributes of the decorated func if exist.
- Loading branch information