How to Solve NameError: name 'Iterable' is not defined -- typing

Solution: Import the 'Iterable' module

# Add the following line to the top of your code
from typing import Iterable

 

For more information:
typing Iterable