Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Orchestration Trigger via FastAPI

Aperta
#444 7 commenti 3 reazioni 1 assegnatario Vedi su GitHub

@bhagyshricompany ci sta già lavorando.

Dal 11/7/2023.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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?

Lingua principale
Python
Stelle
157
Fork
70
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Azure/azure-functions-durable-python

Tutte le issue di Azure/azure-functions-durable-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.