Skip to content

autonomy.cli.helpers.fsm_spec

FSM spec helpers.

import_and_validate_app_class

def import_and_validate_app_class(module_path: Path,
                                  app_class: str) -> ModuleType

Import and validate rounds.py module.

update_one

def update_one(
        package_path: Path,
        app_class: Optional[str] = None,
        spec_format: str = FSMSpecificationLoader.OutputFormats.YAML) -> None

Update FSM specification for one package.

check_one

def check_one(
        package_path: Path,
        app_class: Optional[str] = None,
        spec_format: str = FSMSpecificationLoader.OutputFormats.YAML) -> None

Check for one.

check_all

def check_all(
        packages_dir: Path,
        spec_format: str = FSMSpecificationLoader.OutputFormats.YAML) -> None

Check all the available definitions.