[Python] Azure Function v2 Python deployed functions are not showing

Discussão em 'Python' iniciado por Stack, Março 19, 2025.

  1. Stack

    Stack Membro Participativo

    Locally the functions debug just fine, if I deploy via vscode to my azure function I get No HTTP Triggers found and the devops pipeline does not deploy triggers either.

    I have "AzureWebJobsFeatureFlags": "EnableWorkerIndexing" set locally and as a function app setting.

    Code is appropriately decorated

    @app.route(route="functionname", auth_level=func.AuthLevel.FUNCTION)
    def functioname(req: func.HttpRequest) -> func.HttpResponse:


    Deployments succeed both ways but no functions show

    Azure Pipeline shows correct files: [​IMG]

    Azure function app files show function_app.py at the root folder

    test function

    app = func.FunctionApp(http_auth_level=func.AuthLevel.ANONYMOUS)
    @app.function_name("personas")
    @app.route(route="character-managment/personas")
    def personas(req: func.HttpRequest) -> func.HttpResponse:
    logging.info('Python HTTP trigger function processed a request.')
    return func.HttpResponse("ok", status_code=200)


    Folder structure

    [​IMG]

    Works locally

    [​IMG]

    Continue reading...

Compartilhe esta Página