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

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm