AttributeError: module 'dohq_teamcity.models.file' has no attribute 'swagger_types'
Expected:
Files instance returned.
It works when monkey-patched by assigning dohq_teamcity.custom.models.file = dohq_teamcity.models.File, so it's likely that star imports gone wrong somewhere.
Reproducible example (using https://teamcity.jetbrains.com/viewType.html?buildTypeId=DemoProjects_TeamCity_Net_Build for build having artifacts):
Result:
Expected:
Files
instance returned.It works when monkey-patched by assigning
dohq_teamcity.custom.models.file = dohq_teamcity.models.File
, so it's likely that star imports gone wrong somewhere.