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

Make validate_arguments decorator required #407

Closed
tcompa opened this issue Jun 8, 2023 · 0 comments · Fixed by #408
Closed

Make validate_arguments decorator required #407

tcompa opened this issue Jun 8, 2023 · 0 comments · Fixed by #408
Labels
High Priority Current Priorities & Blocking Issues

Comments

@tcompa
Copy link
Collaborator

tcompa commented Jun 8, 2023

Ref #386 (comment)

Since we are now saying that pydantic may become an actual dependency, we can switch from an optional coerce_and_validate=True/False (which is currently part of the fractal_tasks_core.tasks._utils.run_fractal_task function) to always coerce&validate arguments of tasks.

@tcompa tcompa added the High Priority Current Priorities & Blocking Issues label Jun 8, 2023
tcompa added a commit that referenced this issue Jun 8, 2023
…407)

Note that in previous version the coercion&validation was optional, and deferred to the `run_fractal_task` function in `tasks._utils` module.
@tcompa tcompa linked a pull request Jun 8, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
High Priority Current Priorities & Blocking Issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant