simplebench.reporters.reporter.prioritized module🔗
Reporter Priority class for managing prioritized reporter options.
- class simplebench.reporters.reporter.prioritized.Prioritized(
- *,
- reporter: ReporterProtocol | Reporter,
- choice: Choice,
- case: Case,
Bases:
objectClass for managing prioritized reporter options.
This class encapsulates the prioritized options for a reporter, determining the effective configuration based on the choice and case provided. It retrieves prioritized settings such as default targets, subdirectory, file suffix, uniqueness, append mode, and reporter options based on the hierarchy of case-specific, choice-specific, and reporter default values.
It collates the relevant values from the various Reporter().get_prioritized_… methods and makes them accessible as proxied attributes of the Prioritized instance.
- options🔗
The prioritized reporter options.
- Type:
Initialize the Prioritized class with choice and case.
- Parameters:
- property options: ReporterOptions🔗
Get the prioritized reporter options.