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
109 stars 40 forks source link

Add contextRef to Json parsing #140

Closed pvmagacho-nde closed 1 month ago

pvmagacho-nde commented 1 month ago

Add to instance.py AbstractFact class the contextRef as contextId:

kwargs['dimensions']['contextId'] = self.context.xml_id