API Reference#

Protocols and Mixins#

Application interface protocols and matching mixins.

LoggingProtocol(*args, **kwargs)

General Logging Protocol

LogMixin()

Logging interfaces.

Classes#

Factory(*initial_prov_grs)

Dependency injection object.

ProviderGroup(*initial_providers)

Group of providers.

Provider(_constructor, /, *args, **kwargs)

Function wrapper that provides certain type of product.

SingletonProvider(_constructor, /, *args, ...)

Singleton provider always returns the same instance.

StatelessWorkflow(*args, **kwargs)

Protocol for stateless workflows.

WorkflowResult

alias of dict[str, DataArray]

Top-level functions#

async_retry(*exceptions[, max_trials, interval])

Retry calling an async method under expected exceptions.

retry(*exceptions[, max_trials, interval])

Retry calling a method under expected exceptions.

Submodules#

applications

Beamlime application module.

constructors

logging