The following gist describes a detected cycle dependency in the v1.4 of Adobe Analytics API. See public.json for inspection.
Here the pyswagger package was used. However, the problem occurs also with a python client generated via Swagger Editor.
- Prepare a virtualenv
venvusing Python 3.5 and make sure, you have pip installed. source venv/bin/activatepip install -r requirements.txt3.1pip install python-client/if you generated the code via Swagger Editorpython app.py
The log message, that the app is running.
See pasted output.txt
Looking into the code, there is a cycle dependency between report_description_search and report_description_searches:
# Line 19 in swagger_client.models.report_description_searches.py
from swagger_client.models.report_description_search import ReportDescriptionSearch # noqa: F401,E501# Line 20 in swagger_client.models.report_description_search.py
from swagger_client.models.report_description_searches import ReportDescriptionSearches # noqa: F401,E501This makes it impossible to consume the app with a Python client. Looking at the output.txt there could be more cycle dependencies like this.