manusimidt / py-xbrl

Python-based parser for parsing XBRL and iXBRL files
https://py-xbrl.readthedocs.io/en/latest/
GNU General Public License v3.0
100 stars 37 forks source link

Fix annotations #14

Closed Pablompg closed 3 years ago

Pablompg commented 3 years ago

As stated from https://www.python.org/dev/peps/pep-0526/ to create List annotations the right way of doing it is List[int] = [] However from python 3.9 onwards, list[int] = [] is also accepted