Skip to content

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 typing import Tuple, List
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

Development

Successfully merging this pull request may close these issues.

3 participants