Skip to content

Commit e24d359

Browse files
committed
function app set
1 parent cd48409 commit e24d359

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.funcignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ __blobstorage__
55
__queuestorage__
66
local.settings.json
77
test
8-
.venv
8+
.venv
9+
.azure_function_fastapi_venv

function_app.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import azure.functions as func
2+
3+
from fastapi_project.main import app as fastapi_app
4+
5+
app = func.AsgiFunctionApp(app=fastapi_app, http_auth_level=func.AuthLevel.ANONYMOUS)

0 commit comments

Comments
 (0)