I recently run into an issue with generated models from the website https://stackoverflow.com/questions/74346565/fastapi-typeerror-issubclass-arg-1-must-be-a-class-with-modular-imports/75789412#75789412
Importing the __annotations__ from future was leading to some problems. Just reordering the models starting from the subclass and removing the future import could be a nice feature to implement.
