DeanWay / fastapi-versioning

api versioning for fastapi web applications
MIT License
644 stars 63 forks source link

Support bound methods #4

Closed tijptjik closed 4 years ago

tijptjik commented 4 years ago

In cases where FastAPI routes are defined as bound methods on a Class, attribute assignment for the method requires .__func__._api_version to access the underlying function.

DeanWay commented 4 years ago

sorry for the late merge @tijptjik Thanks for the contribution

DeanWay commented 4 years ago

released in version 0.5.0