Skip to content

Instantly share code, notes, and snippets.

@csiebler csiebler/__init__.py
Created Jun 14, 2019

Embed
What would you like to do?
Dummy Python Function
import logging
import json
import azure.functions as func
def main(req: func.HttpRequest) -> func.HttpResponse:
products = [
{
"name": "Azure DevOps",
"price": 4.99
},
{
"name": "Azure Functions",
"price": 0.01
}
]
return func.HttpResponse(json.dumps(products))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.