You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting error when trying to use method get_card_data with chosing data format 'json'
Traceback (most recent call last): File "<input>", line 1, in <module> File "/usr/local/lib/python3.9/site-packages/metabase_api/metabase_api.py", line 837, in get_card_data return eval(res.text) File "<string>", line 2, in <module> NameError: name 'null' is not defined
Seems like eval() does not like 'null', maybe using of json.loads() instead could help.
The text was updated successfully, but these errors were encountered:
@vvaezian there is the same problem with 'true' and 'false' (with lowercase letters at the beginning)... why dont you use json.loads() instead of replacing?
I am getting error when trying to use method get_card_data with chosing data format 'json'
Traceback (most recent call last): File "<input>", line 1, in <module> File "/usr/local/lib/python3.9/site-packages/metabase_api/metabase_api.py", line 837, in get_card_data return eval(res.text) File "<string>", line 2, in <module> NameError: name 'null' is not defined
Seems like eval() does not like 'null', maybe using of json.loads() instead could help.
The text was updated successfully, but these errors were encountered: