Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 18848

How to use blueprints in Azure functions v2 for python?

$
0
0

In looking at the guide What do blueprints offer that just importing doesn't?

Here are some points that are unclear:

  • It says to have a file called http_blueprint.py in which you'd define some routes but it just looks like the regular http trigger but the decorator is a bp.route instead of an app.route. Are these also app.functions since the main file has 2 decorators per def?

  • Does everything in the blueprint have to be an http trigger or is that just an example that they used?

  • Can you have multiple blueprint files or are we limited to the single one?


Viewing all articles
Browse latest Browse all 18848

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>