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 missing imports to map_task example #1263

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

davidmirror-ops
Copy link
Contributor

Unless I'm missing something very obvious, there's no way this example could run without the missing imports.

Signed-off-by: davidmirror-ops <david [email protected]>

from flytekit import map_task
from flytekit import map_task, task, workflow
Copy link
Contributor

Choose a reason for hiding this comment

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

I believe these have been imported at the beginning for a different example.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Do we want to make each example "self-contained"?

While it's true that previous examples have the import, if a user goes directly to the Map Tasks section, the example won't be complete

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants