Skip to content

Commit

Permalink
function app set
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafa6765 committed May 18, 2024
1 parent cd48409 commit e24d359
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .funcignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ __blobstorage__
__queuestorage__
local.settings.json
test
.venv
.venv
.azure_function_fastapi_venv
5 changes: 5 additions & 0 deletions function_app.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import azure.functions as func

from fastapi_project.main import app as fastapi_app

app = func.AsgiFunctionApp(app=fastapi_app, http_auth_level=func.AuthLevel.ANONYMOUS)

0 comments on commit e24d359

Please sign in to comment.