Open GeigerJ2 opened 1 week ago
Currently, we expose both task, as well as Task at the top-level API, with the first being the decorator and the second one the class:
task
Task
https://github.com/aiidateam/aiida-workgraph/blob/2559c2111d1df1759638781c43d0ae95f7f37925/aiida_workgraph/__init__.py#L10-L14
I found this a bit confusing, personally.
EDIT: As noted by @superstar54, Task should not be exposed.
Currently, we expose both
task
, as well asTask
at the top-level API, with the first being the decorator and the second one the class:https://github.com/aiidateam/aiida-workgraph/blob/2559c2111d1df1759638781c43d0ae95f7f37925/aiida_workgraph/__init__.py#L10-L14
I found this a bit confusing, personally.
EDIT: As noted by @superstar54,
Task
should not be exposed.