TypeError: 'type' object is not subscriptable Python
While trying to get my python code to run on a build agent, i bump into this error "TypeError: 'type' object is not subscriptable Python". It turns out that my code was using python 3.8 and I had to do some import from typings with the code below
from typing import Dict. List
Then I had to update my code to use Dict instead of dict.
Comments