Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Naming a workflow task "get_task" causes "'TaskSpec' object is not callable" error #238

Open
szbergeron opened this issue Jun 28, 2021 · 0 comments
Labels

Comments

@szbergeron
Copy link

If any task in the task list is named "get_task", "has_task", or various other variations visible in

def get_task(self, task_id):
, the workflow will fail at runtime with an opaque error as seen above.

Possible resolution: use internal or hidden naming for properties of WorkflowGraph objects, or store tasks within a dictionary property of WorkflowGraph objects so that name collisions with workflow tasks can not occur or are unreasonable to accidentally discover

@nzlosh nzlosh added the bug label Aug 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants