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

Simplify how Prefect tasks are defined in Dataset class #120

Closed

Conversation

jacobwhall
Copy link
Member

This should get us closer to resolving #113

- both run() and run_tasks() take two new parameters, retry and
  retry_delay. the former sets the number of times a task will
  re-run if it fails, and the latter the number of seconds to wait
  between retries
- run_tasks() overrides run() parameters for that specific run
- works with Prefect as well as other backends
- if a Prefect task fails, its exception repr() will be logged
  as the task's status message
@jacobwhall
Copy link
Member Author

I'm going to close this in favor of lumping it with #120, because it's a small change and would likely require a merge anyways

@jacobwhall jacobwhall closed this Dec 12, 2022
@jacobwhall jacobwhall deleted the prefect-decorator-simplify branch December 14, 2022 16:40
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

Successfully merging this pull request may close these issues.

1 participant