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

Add single task execution docs #354

Merged
merged 4 commits into from
Jun 22, 2020
Merged

Add single task execution docs #354

merged 4 commits into from
Jun 22, 2020

Conversation

katrogan
Copy link
Contributor

No description provided.

my_task = _task.SdkTask.fetch("my_flyte_project", "production", "workflows.my_task", "abc123") # project, domain, name, version

my_task_exec = my_task.launch(project="my_other_project", domain="development", inputs={'plant': 'philodendron'})
my_task_exec.wait_for_completion()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can Admin withstand potentially tens of thousands of these polling?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think we should move to websockets?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Following up offline

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why websockets? These should be converted to long poll if needed. But we don’t need it at all I feel. This is a usecase only for testing

Copy link
Contributor

@wild-endeavor wild-endeavor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving with questions

@katrogan katrogan merged commit 8f32851 into master Jun 22, 2020
eapolinario pushed a commit to eapolinario/flyte that referenced this pull request Dec 6, 2022
eapolinario pushed a commit to eapolinario/flyte that referenced this pull request Dec 6, 2022
* revert

Signed-off-by: Katrina Rogan <[email protected]>

* lint

Signed-off-by: Katrina Rogan <[email protected]>
eapolinario pushed a commit to eapolinario/flyte that referenced this pull request Dec 20, 2022
Current Behavior is to fetch only 10 launch-plans per workflow . This causes issues for users who have > 10 launch-plans with no way of fetching/triggering them via the UI.

Signed-off-by: Anmol Khurana <[email protected]>
eapolinario pushed a commit to eapolinario/flyte that referenced this pull request Dec 20, 2022
* update launch_plan.go

add links to activating and deactivating a launch plan
Signed-off-by: SmritiSatyanV [email protected]

* render correctly

Fix rendering
Signed-off-by: SmritiSatyanV [email protected]
eapolinario pushed a commit to eapolinario/flyte that referenced this pull request Jul 24, 2023
* Improve demystifying GKE spot node preemtion

Signed-off-by: Bernhard Stadlbauer <[email protected]>

* Add test

Signed-off-by: Bernhard Stadlbauer <[email protected]>

---------

Signed-off-by: Bernhard Stadlbauer <[email protected]>
eapolinario pushed a commit to eapolinario/flyte that referenced this pull request Aug 9, 2023
eapolinario pushed a commit to eapolinario/flyte that referenced this pull request Aug 21, 2023
* revert

Signed-off-by: Katrina Rogan <[email protected]>

* lint

Signed-off-by: Katrina Rogan <[email protected]>
eapolinario pushed a commit to eapolinario/flyte that referenced this pull request Aug 21, 2023
* Improve demystifying GKE spot node preemtion

Signed-off-by: Bernhard Stadlbauer <[email protected]>

* Add test

Signed-off-by: Bernhard Stadlbauer <[email protected]>

---------

Signed-off-by: Bernhard Stadlbauer <[email protected]>
eapolinario pushed a commit to eapolinario/flyte that referenced this pull request Apr 30, 2024
* update launch_plan.go

add links to activating and deactivating a launch plan
Signed-off-by: SmritiSatyanV [email protected]

* render correctly

Fix rendering
Signed-off-by: SmritiSatyanV [email protected]
austin362667 pushed a commit to austin362667/flyte that referenced this pull request May 7, 2024
* update launch_plan.go

add links to activating and deactivating a launch plan
Signed-off-by: SmritiSatyanV [email protected]

* render correctly

Fix rendering
Signed-off-by: SmritiSatyanV [email protected]
robert-ulbrich-mercedes-benz pushed a commit to robert-ulbrich-mercedes-benz/flyte that referenced this pull request Jul 2, 2024
* update launch_plan.go

add links to activating and deactivating a launch plan
Signed-off-by: SmritiSatyanV [email protected]

* render correctly

Fix rendering
Signed-off-by: SmritiSatyanV [email protected]
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.

3 participants