Im trying to deploy a python app to heroku. I use a web framework called quart (an asyncio adaptation of flask). The build succeeds when I try to deploy, but in the heroku logs, I get this error message:
TypeError: __call__() takes 1 positional argument but 3 were
This is the code that runs the app:
if __name__ == '__main__':
app.run(host='0.0.0.0', port=int(os.environ['PORT']))
My procfile consists of this:
web: gunicorn main_loop:app
Help would be appreciated.