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

Error when resolving dynamic tasks #2234

Open
JohnL17 opened this issue Jun 20, 2024 · 0 comments
Open

Error when resolving dynamic tasks #2234

JohnL17 opened this issue Jun 20, 2024 · 0 comments

Comments

@JohnL17
Copy link
Contributor

JohnL17 commented Jun 20, 2024

If a dynamic task that returns a queryset instead of a list of strings is followed by another task, Caluma will try to merge and flatten the queryset of task pks with a list of strings which will fail. When resolving dynamic tasks there should be a check if the return value is a queryset and if yes, the queryset should be converted to a list of strings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant