weac.components.presets module

Named presets for WEAC components.

weac.components.presets.weak_layer_from_preset(name, **overrides)[source]

Create a WeakLayer from a named preset, with optional overrides.

Without overrides, returns the shared frozen instance. With overrides, returns a new instance.

Parameters:

name (str)

Return type:

WeakLayer