-
Notifications
You must be signed in to change notification settings - Fork 310
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
Enable queuing_budget in Workflow Metadata #97
Conversation
return _core_workflow.WorkflowMetadata() | ||
workflow_metadata = _core_workflow.WorkflowMetadata() | ||
if self._queuing_budget: | ||
workflow_metadata.queuing_budget.FromTimedelta(self.queuing_budget) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this sets the value?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is correct.
flytekit/__init__.py
Outdated
@@ -1,4 +1,4 @@ | |||
from __future__ import absolute_import | |||
import flytekit.plugins | |||
|
|||
__version__ = '0.7.0b1' | |||
__version__ = '0.7.0b2' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
b3 please.
* support queuing budget in workflow metadata * add queuing budget to wf * add typehint to docstring * add test_workflow_queueing_budget * b3 and add test with queuing budget not set * add test_workflow_with_queuing_budget * upd test name Co-authored-by: Yee Hing Tong <[email protected]>
TL;DR
Allow a user to specify
queueing_budget
parameter for their workflow. This parameter corresponds to the amount of time a user is willing to wait for a workflow to be executed.FlyteIDL PR: flyteorg/flyteidl#50
Type
Are all requirements met?
Complete description
How did you fix the bug, make the feature etc. Link to any design docs etc
Tracking Issue
flyteorg/flyte#245
Follow-up issue
NA