Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/getting_started/optimizing_tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ scale our workload:

```{code-cell} ipython3
import math
from typing import Tuple
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



@task
Expand Down