Skip to content

autonomy.cli.helpers.analyse

Helpers for analyse command

load_package_tree

def load_package_tree(packages_dir: Path) -> None

Load package tree.

list_all_skill_yaml_files

def list_all_skill_yaml_files(registry_path: Path) -> List[Path]

List all skill yaml files in a local registry

run_dialogues_check

def run_dialogues_check(packages_dir: Path, ignore: List[str],
                        dialogues: List[str]) -> None

Run dialogues check.

ParseLogs Objects

class ParseLogs()

Parse agent logs.

__init__

def __init__() -> None

Initialize object.

agents

@property
def agents() -> List[str]

Available agents.

n_agents

@property
def n_agents() -> int

Available agents.

from_dir

def from_dir(logs_dir: Path) -> "ParseLogs"

From directory

create_tables

def create_tables(reset: bool = False) -> "ParseLogs"

Create required tables.

select

def select(agents: List[str], start_time: Optional[datetime],
           end_time: Optional[datetime], log_level: Optional[str],
           period: Optional[int], round_name: Optional[str],
           behaviour_name: Optional[str]) -> "ParseLogs"

Query and return results.

re_include

def re_include(regexes: List[str]) -> "ParseLogs"

Apply a set of regexes on the result.

re_exclude

def re_exclude(regexes: List[str]) -> "ParseLogs"

Apply a set of regexes on the result.

execution_path

def execution_path() -> None

Output FSM path

table

def table() -> None

Print table.

check_service_readiness

def check_service_readiness(token_id: Optional[int],
                            public_id: Optional[PublicId],
                            chain_type: ChainType,
                            packages_dir: Path,
                            skip_warnings: bool = False) -> None

Check deployment readiness of a service.