simplebench.reporters.json.reporter.options package🔗

JSON reporter options package for simplebench.

class simplebench.reporters.json.reporter.options.JSONOptions(*, full_data: bool = False)[source]🔗

Bases: ReporterOptions

Class for holding JSON reporter specific options in a Choice or Case.

This class provides additional configuration options specific to the JSON reporter. It is accessed via the options attribute of a Choice or Case instance.

Variables:

full_data (bool) – Whether to include full data in the JSON output.

Initialize JSONChoiceOptions with default targets and subdirectory.

Parameters:

full_data (bool) – Whether to include full data in the JSON output. Defaults to False.

property full_data: bool🔗

Return whether to include full data in the JSON output.

Returns:

Whether to include full data in the JSON output.

Return type:

bool

Submodules🔗