cityofaustin / atd-micromobility-api

A dockless mobility data API built with Python/Sanic
12 stars 4 forks source link

Consider Middleware and Listeners #8

Closed johnclary closed 5 years ago

johnclary commented 5 years ago

Sanic has middleware and listener decorators, but it's not clear to me what advantage they have over plain old functions.

https://sanic.readthedocs.io/en/latest/sanic/middleware.html

johnclary commented 5 years ago

Closing because there is not a clear need driving this.