Nov-11-2018, 05:21 PM
First off, your indentation is incorrect. As you've posted it, it cannot generate an import error. The last two lines need to be indented further.
As for the problem you mentioned - you should either remove the type annotations, or add an import for List
As for the problem you mentioned - you should either remove the type annotations, or add an import for List
from typing import List