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'm getting a null return consistently when using the --extended-accounts command-line switch. This happens irrespective of whether I also include the --accounts switch or have --extended-accounts on its own. Has anyone else run into this?
The text was updated successfully, but these errors were encountered:
I think this might be a configuration issue. The null is from an except clause thrown because a call to mintapi.make_accounts_presentable is failing because it can't find that function. When I tryfrom mintapi import make_accounts_presentable, I get
ImportError: cannot import name 'make_accounts_presentable'
Figured it out -- I didn't realize these methods were shadowed in the api module. In case anyone else runs into this, the following will allow you to access any method in the mintapi module.
from mintapi import api
from mintapi.api import make_accounts_presentable
from mintapi.api import get_accounts
This is useful if, for example, you want to write a different commandline client by copying and extending the existing main() method, which makes calls to make_accounts_presentable and get_accounts.
I'm getting a
null
return consistently when using the--extended-accounts
command-line switch. This happens irrespective of whether I also include the--accounts
switch or have--extended-accounts
on its own. Has anyone else run into this?The text was updated successfully, but these errors were encountered: