Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Orchestration Trigger via FastAPI

Abierto
#444 7 comentarios 3 reacciones 1 asignado Ver en GitHub

@bhagyshricompany ya está trabajando en esto.

Desde el 11/7/2023.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

Enhancement P2 question
Is your question related to a specific version? If so, please specify:

V2 Model

What binding does your question apply to, if any? (e.g. Blob Trigger, Event Hub Binding, etc)

Azure Durable Functions Orchestration Triggers

Question

We're planning to write several API endpoints using Azure Durable Functions. We'd like to use FastAPI and its several features like OpenAPI, JSON Schema validation. We cannot use non-Durable functions, because we have potentially long-running tasks such as approval flows, or tasks may intermittently fail and have to be retried until completed.

I've found an article how to use FastAPI with an HTTP Trigger, but you can't just use that information and do the same with the Orchestration Trigger.

The conceptual flow or the orchestration is this:

  1. Client sends JSON to Orchestration Trigger HTTP endpoint to start the orchestration e.g., to request the creation of an object in a cloud-application.
  2. The JSON describes what activies the orchestrator calls, in which order and what parameters is passes.
  3. If the JSON body is invalid, the orchestration trigger should return an error message and not start the orchestration at all.

And also, we want to provide a generated OpenAPI/Swagger documentation for the orchestration triggers.

Is this even possible at the moment?

Lenguaje dominante
Python
Estrellas
157
Forks
70
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Azure/azure-functions-durable-python

Todos los issues de Azure/azure-functions-durable-python

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.