ms32035 / firefly-iii-client

Python client for Firefly III API. Please read .generator/Readme.md
23 stars 9 forks source link

import Configuration defined twice in __init__.py #7

Closed zhuqf closed 2 years ago

zhuqf commented 3 years ago

because of this configuration = firefly_iii_client.Configuration(host = "https://demo.firefly-iii.org") would not work, it only work with configuration = firefly_iii_client.configuration.Configuration(host = "https://demo.firefly-iii.org")`

ms32035 commented 3 years ago

Right, name clash between OpenApi objects and Firefly-III models. The code is autogenerated and as such I try to not modify it, but I'll see if there's anything I can do next time I generate it for a new version

ms32035 commented 3 years ago

If still an issue, feel free to submit a PR here https://github.com/ms32035/firefly-iii-client/blob/master/.generator/postprocess.py