prefect_submitit integration#3202
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3202 +/- ##
==========================================
- Coverage 97.64% 97.55% -0.09%
==========================================
Files 98 98
Lines 4282 4303 +21
==========================================
+ Hits 4181 4198 +17
- Misses 101 105 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@Andrew-S-Rosen - on So technically, the examples of |
|
This PR will keep failing till our PR to |
| return task(_func, namespace=_func.__module__, **kwargs) | ||
| elif settings.WORKFLOW_ENGINE == "prefect": | ||
| from prefect import task | ||
| from prefect_submitit import task |
There was a problem hiding this comment.
Guard in case user does not have prefect_submitit
There was a problem hiding this comment.
Use find_spec instead of a bare try: .. except ImportError.
Summary of Changes
>> Provide context and a description of your changes here. Make sure to reference any associated issues. <<
Requirements
main).Note: If you are an external contributor, you will see a comment from @buildbot-princeton. This is solely for the maintainers.