MicroStrategy / mstrio-py

Python integration for MicroStrategy
Apache License 2.0
90 stars 60 forks source link

Report Object uses String of a id Field instead of the origin Type int #138

Closed mFeigeInvia closed 1 year ago

mFeigeInvia commented 1 year ago

I tried to request a Report from API and metrio-py and all Attributs are Strings, but the the origin type in Mstr are int Example: {'attribute_name': 'Nice ID', 'attribute_id': '3386325344275CD575C735A2D97C9C78', 'elements': [{'id': '3386325344275CD575C735A2D97C9C78:84', 'formValues': ['69']}, {'id': '3386325344275CD575C735A2D97C9C78:185', 'formValues': ['199']},

It would be better to get the type defined in Mstr

urszulajaczewska commented 1 year ago

Hi @mFeigeInvia, Data returned by API is provided to user via mstrio-py in an agreed format. If you wish to change that behaviour, please log the Enhancement Request to MSTR support.