mini_arcade.modules.system_lab.processors ========================================= .. py:module:: mini_arcade.modules.system_lab.processors .. autoapi-nested-parse:: Processor for isolated system lab cases. Classes ------- .. autoapisummary:: mini_arcade.modules.system_lab.processors.SystemLabProcessor Module Contents --------------- .. py:class:: SystemLabProcessor(**kwargs) Bases: :py:obj:`mini_arcade.cli.base_command_processor.BaseCommandProcessor` Command processor for running isolated system lab cases. :ivar module (list[str]): List of registry module names to import before listing or running cases. :ivar case (str | None): Registered system lab case name to execute. If not provided, the processor will attempt to infer the case to run based on the number of registered cases (e.g. if exactly one case is registered, it will be run). :ivar list (bool): Whether to list registered cases and exit instead of running a case. :ivar steps (int): How many times to call system.step(ctx) when running a case (default is 1). :ivar json (bool): Whether to emit machine-readable JSON summary output instead of human-readable text. :ivar visual (bool): Whether to launch the case's interactive visual runner instead of stepping it headlessly. .. py:attribute:: module :type: SystemLabProcessor.list[str] :value: [] .. py:attribute:: case :type: str | None :value: None .. py:attribute:: list :type: bool :value: False .. py:attribute:: steps :type: int :value: 1 .. py:attribute:: json :type: bool :value: False .. py:attribute:: visual :type: bool :value: False .. py:attribute:: backend :type: str | None :value: None .. py:method:: run() -> int Run the command processor. :return: Optional result of the command execution. :rtype: Optional[Any]