Some observations and suggestions:
[ ] Functions auth not set. Suggest Functions level auth set at the app level in the constructure, so all functions operators inherit.
[ ] Do we need to set app.Functionname if app.route is set?
[ ] http_post should explicitly set methods["post"], and http_get should do methods["get"] to control exposure and be clear
[ ] emit a log entry similar to other quickstarts
[ ] imports logging and time unused (logging will be used once above is fixed)
[ ] style and old convention to leave empty line at the end of the file for linux users
Suggest comparing with this one:
https://github.com/paulyuk/musicstore-orders-function/blob/main/function_app.py
Some observations and suggestions:
[ ] Functions auth not set. Suggest Functions level auth set at the
applevel in the constructure, so all functions operators inherit.[ ] Do we need to set app.Functionname if app.route is set?
[ ] http_post should explicitly set methods["post"], and http_get should do methods["get"] to control exposure and be clear
[ ] emit a log entry similar to other quickstarts
[ ] imports logging and time unused (logging will be used once above is fixed)
[ ] style and old convention to leave empty line at the end of the file for linux users
Suggest comparing with this one:
https://github.com/paulyuk/musicstore-orders-function/blob/main/function_app.py