m3resp.Preset#

class m3resp.Preset[source]#

A named preset that runs a fixed sequence of M3Session methods.

Methods

run

Run the preset's operations on a loaded session.

Attributes

name: str#
abstractmethod run(session, *, config=None)[source]#

Run the preset’s operations on a loaded session.

Parameters:
  • session (M3Session) – Session containing the recordings to process.

  • config (PresetConfig | None) – Settings grouped by the keys defined by the concrete preset. None uses each operation’s defaults.

Returns:

The supplied session with processing results and provenance

stored by the operations that ran.

Return type:

M3Session