Share via


durable_functions Package

Base module for the Python Durable functions.

Exposes the different API components intended for public consumption

Packages

decorators

Decorator definitions for Durable Functions.

models

Model definitions for Durable Functions.

Modules

constants

Constants used to determine the local running context.

entity
orchestrator

Durable Orchestrator.

Responsible for orchestrating the execution of the user defined generator function.

Classes

Blueprint

Durable Functions (DF) Blueprint container.

It allows functions to be declared via trigger and binding decorators, but does not automatically index/register these functions.

To register these functions, utilize the register_functions method from any <xref:azure.durable_functions.FunctionRegister> subclass, such as DFApp.

Instantiate a Durable Functions app with which to register Functions.

DFApp

Durable Functions (DF) app.

Exports the decorators required to declare and index DF Function-types.

Instantiate a Durable Functions app with which to register Functions.

DurableEntityContext

Context of the durable entity context.

Describes the API used to specify durable entity user code.

Context of the durable entity context.

Describes the API used to specify durable entity user code.

DurableOrchestrationClient

Durable Orchestration Client.

Client for starting, querying, terminating and raising events to orchestration instances.

DurableOrchestrationContext

Context of the durable orchestration execution.

Parameter data for orchestration bindings that can be used to schedule function-based activities.

Entity

Durable Entity Class.

Responsible for executing the user-defined entity function.

Create a new entity for the user-defined entity.

Responsible for executing the user-defined entity function

EntityId

EntityId.

It identifies an entity by its name and its key.

Instantiate an EntityId object.

Identifies an entity by its name and its key.

ManagedIdentityTokenSource

Returns a ManagedIdentityTokenSource object.

Orchestrator

Durable Orchestration Class.

Responsible for orchestrating the execution of the user defined generator function.

Create a new orchestrator for the user defined generator.

Responsible for orchestrating the execution of the user defined generator function. :param activity_func: Generator function to orchestrate.

RetryOptions

Retry Options.

Defines retry policies that can be passed as parameters to various operations.

Enums

OrchestrationRuntimeStatus

The status of an orchestration instance.