SYMBOL INDEX (14578 symbols across 926 files) FILE: aea/__init__.py function get_current_aea_version (line 45) | def get_current_aea_version() -> Version: FILE: aea/abstract_agent.py class AbstractAgent (line 27) | class AbstractAgent(ABC): method name (line 32) | def name(self) -> str: method storage_uri (line 37) | def storage_uri(self) -> Optional[str]: method start (line 41) | def start(self) -> None: method stop (line 49) | def stop(self) -> None: method setup (line 57) | def setup(self) -> None: method act (line 65) | def act(self) -> None: method handle_envelope (line 73) | def handle_envelope(self, envelope: Envelope) -> None: method get_periodic_tasks (line 82) | def get_periodic_tasks( method get_message_handlers (line 92) | def get_message_handlers(self) -> List[Tuple[Callable[[Any], None], Ca... method exception_handler (line 100) | def exception_handler( method teardown (line 113) | def teardown(self) -> None: FILE: aea/aea.py class AEA (line 61) | class AEA(Agent): method __init__ (line 72) | def __init__( method get_build_dir (line 237) | def get_build_dir(cls) -> str: method context (line 242) | def context(self) -> AgentContext: method resources (line 247) | def resources(self) -> Resources: method resources (line 252) | def resources(self, resources: "Resources") -> None: method filter (line 257) | def filter(self) -> Filter: method active_behaviours (line 262) | def active_behaviours(self) -> List[Behaviour]: method setup (line 266) | def setup(self) -> None: method act (line 274) | def act(self) -> None: method _get_error_handler (line 282) | def _get_error_handler(self) -> AbstractErrorHandler: method _get_msg_and_handlers_for_envelope (line 286) | def _get_msg_and_handlers_for_envelope( method _handle_decoding (line 304) | def _handle_decoding( method handle_envelope (line 336) | def handle_envelope(self, envelope: Envelope) -> None: method _setup_loggers (line 360) | def _setup_loggers(self) -> None: method get_periodic_tasks (line 377) | def get_periodic_tasks( method _get_behaviours_tasks (line 389) | def _get_behaviours_tasks( method get_message_handlers (line 404) | def get_message_handlers(self) -> List[Tuple[Callable[[Any], None], Ca... method exception_handler (line 418) | def exception_handler(self, exception: Exception, function: Callable) ... method teardown (line 454) | def teardown(self) -> None: method get_task_result (line 464) | def get_task_result(self, task_id: int) -> AsyncResult: method enqueue_task (line 473) | def enqueue_task( FILE: aea/aea_builder.py class _DependenciesManager (line 113) | class _DependenciesManager: method __init__ (line 116) | def __init__(self) -> None: method all_dependencies (line 130) | def all_dependencies(self) -> Set[ComponentId]: method dependencies_highest_version (line 136) | def dependencies_highest_version(self) -> Set[ComponentId]: method get_components_by_type (line 140) | def get_components_by_type( method protocols (line 147) | def protocols(self) -> Dict[ComponentId, ProtocolConfig]: method connections (line 155) | def connections(self) -> Dict[ComponentId, ConnectionConfig]: method skills (line 163) | def skills(self) -> Dict[ComponentId, SkillConfig]: method contracts (line 171) | def contracts(self) -> Dict[ComponentId, ContractConfig]: method add_component (line 178) | def add_component(self, configuration: ComponentConfiguration) -> None: method remove_component (line 200) | def remove_component(self, component_id: ComponentId) -> None: method pypi_dependencies (line 237) | def pypi_dependencies(self) -> Dependencies: method install_dependencies (line 256) | def install_dependencies(self) -> None: class AEABuilder (line 262) | class AEABuilder(WithLogger): # pylint: disable=too-many-public-methods method __init__ (line 327) | def __init__( method reset (line 346) | def reset(self, is_full_reset: bool = False) -> None: method _reset (line 360) | def _reset(self, is_full_reset: bool = False) -> None: method _remove_components_from_dependency_manager (line 416) | def _remove_components_from_dependency_manager(self) -> None: method set_period (line 428) | def set_period(self, period: Optional[float]) -> "AEABuilder": method set_execution_timeout (line 439) | def set_execution_timeout(self, execution_timeout: Optional[float]) ->... method set_max_reactions (line 450) | def set_max_reactions(self, max_reactions: Optional[int]) -> "AEABuild... method set_decision_maker_handler_details (line 461) | def set_decision_maker_handler_details( method _load_decision_maker_handler_class (line 481) | def _load_decision_maker_handler_class( method _load_error_handler_class (line 528) | def _load_error_handler_class( method set_error_handler_details (line 573) | def set_error_handler_details( method set_skill_exception_policy (line 590) | def set_skill_exception_policy( method set_connection_exception_policy (line 603) | def set_connection_exception_policy( method set_default_routing (line 616) | def set_default_routing( method set_loop_mode (line 647) | def set_loop_mode( method set_runtime_mode (line 659) | def set_runtime_mode( method set_task_manager_mode (line 671) | def set_task_manager_mode( method set_storage_uri (line 683) | def set_storage_uri( method set_data_dir (line 695) | def set_data_dir(self, data_dir: Optional[str]) -> "AEABuilder": # pr... method set_logging_config (line 705) | def set_logging_config( method set_search_service_address (line 721) | def set_search_service_address( method _add_default_packages (line 733) | def _add_default_packages(self) -> None: method _check_can_remove (line 760) | def _check_can_remove(self, component_id: ComponentId) -> None: method _check_can_add (line 774) | def _check_can_add(self, configuration: ComponentConfiguration) -> None: method set_name (line 784) | def set_name(self, name: str) -> "AEABuilder": # pragma: nocover method set_default_connection (line 794) | def set_default_connection( method add_private_key (line 814) | def add_private_key( method remove_private_key (line 841) | def remove_private_key( method private_key_paths (line 858) | def private_key_paths(self) -> Dict[str, Optional[str]]: method connection_private_key_paths (line 863) | def connection_private_key_paths(self) -> Dict[str, Optional[str]]: method set_default_ledger (line 867) | def set_default_ledger( method set_required_ledgers (line 881) | def set_required_ledgers( method set_build_entrypoint (line 899) | def set_build_entrypoint( method set_currency_denominations (line 911) | def set_currency_denominations( method add_component (line 923) | def add_component( method _set_component_build_directory (line 951) | def _set_component_build_directory( method add_component_instance (line 966) | def add_component_instance(self, component: Component) -> "AEABuilder": method set_context_namespace (line 987) | def set_context_namespace( method set_agent_pypi_dependencies (line 994) | def set_agent_pypi_dependencies(self, dependencies: Dependencies) -> "... method remove_component (line 1004) | def remove_component(self, component_id: ComponentId) -> "AEABuilder": method _remove (line 1015) | def _remove(self, component_id: ComponentId) -> None: method add_protocol (line 1018) | def add_protocol(self, directory: PathLike) -> "AEABuilder": method remove_protocol (line 1028) | def remove_protocol(self, public_id: PublicId) -> "AEABuilder": method add_connection (line 1038) | def add_connection(self, directory: PathLike) -> "AEABuilder": method remove_connection (line 1048) | def remove_connection(self, public_id: PublicId) -> "AEABuilder": method add_skill (line 1058) | def add_skill(self, directory: PathLike) -> "AEABuilder": method remove_skill (line 1068) | def remove_skill(self, public_id: PublicId) -> "AEABuilder": method add_contract (line 1078) | def add_contract(self, directory: PathLike) -> "AEABuilder": method remove_contract (line 1088) | def remove_contract(self, public_id: PublicId) -> "AEABuilder": method call_all_build_entrypoints (line 1098) | def call_all_build_entrypoints(self) -> None: method get_build_root_directory (line 1113) | def get_build_root_directory(self) -> str: method run_build_for_component_configuration (line 1118) | def run_build_for_component_configuration( method _run_build_entrypoint (line 1143) | def _run_build_entrypoint( method _run_in_subprocess (line 1174) | def _run_in_subprocess( method _build_wallet (line 1197) | def _build_wallet( method _build_identity_from_wallet (line 1231) | def _build_identity_from_wallet(self, wallet: Wallet) -> Identity: method _process_connection_ids (line 1266) | def _process_connection_ids( # pylint: disable=unsubscriptable-object method install_pypi_dependencies (line 1326) | def install_pypi_dependencies(self) -> None: method build (line 1330) | def build( # pylint: disable=unsubscriptable-object method get_default_ledger (line 1399) | def get_default_ledger(self) -> str: method get_required_ledgers (line 1407) | def get_required_ledgers(self) -> List[str]: method _get_agent_act_period (line 1417) | def _get_agent_act_period(self) -> float: method _get_execution_timeout (line 1425) | def _get_execution_timeout(self) -> float: method _get_max_reactions (line 1437) | def _get_max_reactions(self) -> int: method _get_error_handler_class (line 1449) | def _get_error_handler_class( method _get_error_handler_config (line 1459) | def _get_error_handler_config( method _get_decision_maker_handler_class (line 1469) | def _get_decision_maker_handler_class( method _get_decision_maker_handler_config (line 1479) | def _get_decision_maker_handler_config( method _get_skill_exception_policy (line 1489) | def _get_skill_exception_policy(self) -> ExceptionPolicyEnum: method _get_connection_exception_policy (line 1501) | def _get_connection_exception_policy(self) -> ExceptionPolicyEnum: method _get_currency_denominations (line 1513) | def _get_currency_denominations(self) -> Dict[str, str]: method _get_default_routing (line 1525) | def _get_default_routing(self) -> Dict[PublicId, PublicId]: method _get_default_connection (line 1533) | def _get_default_connection(self) -> Optional[PublicId]: method _get_loop_mode (line 1541) | def _get_loop_mode(self) -> str: method _get_runtime_mode (line 1551) | def _get_runtime_mode(self) -> str: method _get_task_manager_mode (line 1563) | def _get_task_manager_mode(self) -> str: method _get_storage_uri (line 1575) | def _get_storage_uri(self) -> Optional[str]: method _get_data_dir (line 1583) | def _get_data_dir(self) -> str: method _get_search_service_address (line 1591) | def _get_search_service_address(self) -> str: method _check_configuration_not_already_added (line 1603) | def _check_configuration_not_already_added( method _check_package_dependencies (line 1622) | def _check_package_dependencies( method _check_pypi_dependencies (line 1644) | def _check_pypi_dependencies(self, configuration: ComponentConfigurati... method try_to_load_agent_configuration_file (line 1663) | def try_to_load_agent_configuration_file( method _check_valid_entrypoint (line 1692) | def _check_valid_entrypoint(build_entrypoint: str, directory: str) -> ... method set_from_configuration (line 1721) | def set_from_configuration( method _find_import_order (line 1809) | def _find_import_order( method from_aea_project (line 1864) | def from_aea_project( method get_configuration_file_path (line 1912) | def get_configuration_file_path(aea_project_path: Union[Path, str]) ->... method _load_and_add_components (line 1916) | def _load_and_add_components( method _check_we_can_build (line 1956) | def _check_we_can_build(self) -> None: method _overwrite_custom_configuration (line 1965) | def _overwrite_custom_configuration( method _add_components_of_type (line 1984) | def _add_components_of_type( method _preliminary_checks_before_build (line 2020) | def _preliminary_checks_before_build(self) -> None: function make_component_logger (line 2035) | def make_component_logger( FILE: aea/agent.py class Agent (line 40) | class Agent(AbstractAgent, WithLogger): method __init__ (line 53) | def __init__( method _set_runtime_and_mail_boxes (line 96) | def _set_runtime_and_mail_boxes( method _get_runtime_class (line 114) | def _get_runtime_class(self) -> Type[BaseRuntime]: method storage_uri (line 123) | def storage_uri(self) -> Optional[str]: method is_running (line 128) | def is_running(self) -> bool: method is_stopped (line 133) | def is_stopped(self) -> bool: method identity (line 138) | def identity(self) -> Identity: method inbox (line 143) | def inbox(self) -> InBox: # pragma: nocover method outbox (line 155) | def outbox(self) -> OutBox: # pragma: nocover method name (line 167) | def name(self) -> str: method tick (line 172) | def tick(self) -> int: # pragma: nocover method state (line 183) | def state(self) -> RuntimeStates: method period (line 192) | def period(self) -> float: method runtime (line 197) | def runtime(self) -> BaseRuntime: method setup (line 201) | def setup(self) -> None: method start (line 205) | def start(self) -> None: method handle_envelope (line 221) | def handle_envelope(self, envelope: Envelope) -> None: method act (line 229) | def act(self) -> None: method stop (line 233) | def stop(self) -> None: method teardown (line 245) | def teardown(self) -> None: method get_periodic_tasks (line 249) | def get_periodic_tasks( method get_message_handlers (line 259) | def get_message_handlers(self) -> List[Tuple[Callable[[Any], None], Ca... method exception_handler (line 269) | def exception_handler( FILE: aea/agent_loop.py class AgentLoopException (line 42) | class AgentLoopException(AEAException): class AgentLoopStates (line 46) | class AgentLoopStates(Enum): class BaseAgentLoop (line 57) | class BaseAgentLoop(Runnable, WithLogger, ABC): method __init__ (line 60) | def __init__( method agent (line 82) | def agent(self) -> AbstractAgent: # pragma: nocover method state (line 87) | def state(self) -> AgentLoopStates: method wait_state (line 91) | async def wait_state( method is_running (line 105) | def is_running(self) -> bool: method set_loop (line 109) | def set_loop(self, loop: AbstractEventLoop) -> None: method _setup (line 113) | def _setup(self) -> None: method _teardown (line 118) | def _teardown(self) -> None: method run (line 123) | async def run(self) -> None: method _stop (line 136) | async def _stop(self) -> None: method _gather_tasks (line 147) | async def _gather_tasks(self) -> None: method _set_tasks (line 152) | def _set_tasks(self) -> None: # pragma: nocover method _stop_tasks (line 156) | def _stop_tasks(self) -> None: method send_to_skill (line 162) | def send_to_skill( method skill2skill_queue (line 178) | def skill2skill_queue(self) -> Queue: class AsyncAgentLoop (line 182) | class AsyncAgentLoop(BaseAgentLoop): method __init__ (line 187) | def __init__( method _setup (line 206) | def _setup(self) -> None: method skill2skill_queue (line 212) | def skill2skill_queue(self) -> Queue: method send_to_skill (line 218) | def send_to_skill( method _periodic_task_exception_callback (line 254) | def _periodic_task_exception_callback( # pylint: disable=unused-argument method _execution_control (line 265) | def _execution_control( method _register_periodic_task (line 304) | def _register_periodic_task( method _register_periodic_tasks (line 334) | def _register_periodic_tasks(self) -> None: method _unregister_periodic_task (line 342) | def _unregister_periodic_task(self, task_callable: Callable) -> None: method _stop_all_behaviours (line 354) | def _stop_all_behaviours(self) -> None: method _task_wait_for_error (line 359) | async def _task_wait_for_error(self) -> None: method _stop_tasks (line 364) | def _stop_tasks(self) -> None: method _set_tasks (line 369) | def _set_tasks(self) -> None: method _create_tasks (line 374) | def _create_tasks(self) -> List[Task]: method _message_processor (line 387) | async def _message_processor( method _message_handlers (line 403) | def _message_handlers(self) -> List[Tuple[Callable[[Any], None], Calla... method _process_messages (line 407) | async def _process_messages(self) -> None: method _task_register_periodic_tasks (line 418) | async def _task_register_periodic_tasks(self) -> None: FILE: aea/cli/add.py function add (line 57) | def add(click_context: click.Context, local: bool, remote: bool) -> None: function connection (line 77) | def connection(ctx: Context, connection_public_id: PublicId) -> None: function contract (line 85) | def contract(ctx: Context, contract_public_id: PublicId) -> None: function protocol (line 93) | def protocol(ctx: Context, protocol_public_id: PublicId) -> None: function skill (line 101) | def skill(ctx: Context, skill_public_id: PublicId) -> None: function add_item (line 107) | def add_item(ctx: Context, item_type: str, item_public_id: PublicId) -> ... function _add_item_deps (line 154) | def _add_item_deps( function find_item_locally_or_distributed (line 189) | def find_item_locally_or_distributed( function fetch_item_mixed (line 212) | def fetch_item_mixed( FILE: aea/cli/add_key.py function add_key (line 61) | def add_key( function _add_private_key (line 72) | def _add_private_key( function _try_add_key (line 100) | def _try_add_key( FILE: aea/cli/build.py function build (line 33) | def build(click_context: click.Context) -> None: function build_aea (line 40) | def build_aea(skip_consistency_check: bool) -> None: FILE: aea/cli/config.py function config (line 39) | def config(click_context: click.Context) -> None: # pylint: disable=unu... function get (line 46) | def get(ctx: Context, json_path: str) -> None: function set_command (line 71) | def set_command( FILE: aea/cli/core.py function cli (line 87) | def cli( FILE: aea/cli/create.py function create (line 73) | def create( function create_aea (line 87) | def create_aea( function _create_agent_config (line 183) | def _create_agent_config(ctx: Context, agent_name: str, set_author: str)... function _check_is_parent_folders_are_aea_projects_recursively (line 214) | def _check_is_parent_folders_are_aea_projects_recursively() -> None: function _setup_package_folder (line 231) | def _setup_package_folder(path: Path) -> None: FILE: aea/cli/delete.py function delete (line 39) | def delete(click_context: click.Context, agent_name: str) -> None: function delete_aea (line 46) | def delete_aea(ctx: Context, agent_name: str) -> None: FILE: aea/cli/eject.py function eject (line 89) | def eject(click_context: click.core.Context, quiet: bool, with_symlinks:... function connection (line 99) | def connection(ctx: Context, public_id: PublicId) -> None: function contract (line 109) | def contract(ctx: Context, public_id: PublicId) -> None: function protocol (line 119) | def protocol(ctx: Context, public_id: PublicId) -> None: function skill (line 129) | def skill(ctx: Context, public_id: PublicId) -> None: function _eject_item (line 137) | def _eject_item( FILE: aea/cli/fetch.py function fetch (line 61) | def fetch( function do_fetch (line 73) | def do_fetch( function _is_version_correct (line 111) | def _is_version_correct(ctx: Context, agent_public_id: PublicId) -> bool: function fetch_agent_locally (line 127) | def fetch_agent_locally( function _fetch_agent_deps (line 188) | def _fetch_agent_deps(ctx: Context) -> None: function fetch_mixed (line 201) | def fetch_mixed( FILE: aea/cli/fingerprint.py function fingerprint (line 49) | def fingerprint( function connection (line 60) | def connection(ctx: Context, connection_public_id: PublicId) -> None: function contract (line 68) | def contract(ctx: Context, contract_public_id: PublicId) -> None: function protocol (line 76) | def protocol(ctx: Context, protocol_public_id: PublicId) -> None: function skill (line 84) | def skill(ctx: Context, skill_public_id: PublicId) -> None: function by_path (line 92) | def by_path(ctx: Context, path: str) -> None: function fingerprint_item (line 102) | def fingerprint_item(ctx: Context, item_type: str, item_public_id: Publi... function fingerprint_package_by_path (line 124) | def fingerprint_package_by_path(package_dir: Path) -> None: function determine_package_type_for_directory (line 134) | def determine_package_type_for_directory(package_dir: Path) -> PackageType: function fingerprint_package (line 163) | def fingerprint_package( function fingerprint_agent (line 193) | def fingerprint_agent(click_context: click.Context) -> None: FILE: aea/cli/freeze.py function freeze (line 33) | def freeze(click_context: click.Context) -> None: function _get_deps (line 40) | def _get_deps(click_context: click.core.Context) -> List[str]: FILE: aea/cli/generate.py function generate (line 50) | def generate( function protocol (line 67) | def protocol(ctx: Context, protocol_specification_path: str, language: s... function _generate_protocol (line 74) | def _generate_protocol(ctx: Context, protocol_specification_path: str) -... function _generate_full_mode (line 147) | def _generate_full_mode( function _generate_protobuf_mode (line 188) | def _generate_protobuf_mode( FILE: aea/cli/generate_key.py function generate_key (line 56) | def generate_key( function _generate_private_key (line 74) | def _generate_private_key( function _can_write (line 100) | def _can_write(path: str) -> bool: FILE: aea/cli/generate_wealth.py function generate_wealth (line 46) | def generate_wealth( function _try_generate_wealth (line 58) | def _try_generate_wealth( FILE: aea/cli/get_address.py function get_address (line 43) | def get_address( function _try_get_address (line 52) | def _try_get_address(ctx: Context, type_: str, password: Optional[str] =... FILE: aea/cli/get_multiaddress.py function get_multiaddress (line 82) | def get_multiaddress( function _try_get_multiaddress (line 106) | def _try_get_multiaddress( function _try_get_peerid (line 163) | def _try_get_peerid(crypto: Crypto) -> str: function _read_host_and_port_from_config (line 172) | def _read_host_and_port_from_config( function _try_get_connection_multiaddress (line 228) | def _try_get_connection_multiaddress( FILE: aea/cli/get_public_key.py function get_public_key (line 41) | def get_public_key( function _try_get_public_key (line 50) | def _try_get_public_key( FILE: aea/cli/get_wealth.py function get_wealth (line 47) | def get_wealth( function _try_get_wealth (line 56) | def _try_get_wealth(ctx: Context, type_: str, password: Optional[str] = ... FILE: aea/cli/init.py function init (line 44) | def init( # pylint: disable=unused-argument function do_init (line 51) | def do_init(author: str, reset: bool, registry: bool, no_subscribe: bool... function _registry_init (line 79) | def _registry_init(username: str, no_subscribe: bool) -> None: FILE: aea/cli/install.py function install (line 45) | def install(click_context: click.Context, requirement: Optional[str]) ->... function do_install (line 51) | def do_install(ctx: Context, requirement: Optional[str] = None) -> None: function _find_unsatisfiable_dependencies (line 86) | def _find_unsatisfiable_dependencies(dependencies: Dependencies) -> Depe... function _install_from_requirement (line 103) | def _install_from_requirement(file: str, install_timeout: float = 300) -... FILE: aea/cli/interact.py function interact (line 70) | def interact( function _load_packages (line 78) | def _load_packages(agent_identity: Identity) -> None: function _run_interaction_channel (line 115) | def _run_interaction_channel() -> None: function _process_envelopes (line 177) | def _process_envelopes( function _check_for_incoming_envelope (line 201) | def _check_for_incoming_envelope(inbox: InBox, message_class: Type[Messa... function _construct_message (line 211) | def _construct_message( function _try_construct_envelope (line 233) | def _try_construct_envelope( FILE: aea/cli/issue_certificates.py function issue_certificates (line 43) | def issue_certificates(click_context: click.Context, password: Optional[... function issue_certificates_ (line 50) | def issue_certificates_( function _get_cert_requests (line 76) | def _get_cert_requests( function _process_certificate (line 104) | def _process_certificate( function _process_connection (line 160) | def _process_connection( FILE: aea/cli/launch.py function launch (line 40) | def launch( function _launch_agents (line 50) | def _launch_agents( FILE: aea/cli/list.py function list_command (line 44) | def list_command( function all_command (line 52) | def all_command(ctx: Context) -> None: function connections (line 66) | def connections(ctx: Context) -> None: function contracts (line 74) | def contracts(ctx: Context) -> None: function protocols (line 82) | def protocols(ctx: Context) -> None: function skills (line 90) | def skills(ctx: Context) -> None: function list_agent_items (line 96) | def list_agent_items(ctx: Context, item_type: str) -> List[Dict]: FILE: aea/cli/local_registry_sync.py function local_registry_sync (line 43) | def local_registry_sync(ctx: Context) -> None: function do_local_registry_update (line 49) | def do_local_registry_update( function replace_package (line 70) | def replace_package( function get_package_latest_public_id (line 90) | def get_package_latest_public_id(package_id: PackageId) -> PublicId: function enlist_packages (line 104) | def enlist_packages( FILE: aea/cli/login.py function login (line 32) | def login(username: str, password: str) -> None: function do_login (line 37) | def do_login(username: str, password: str) -> None: FILE: aea/cli/logout.py function logout (line 30) | def logout() -> None: function do_logout (line 37) | def do_logout() -> None: FILE: aea/cli/plugin.py function with_plugins (line 30) | def with_plugins(plugins: Iterable[pkg_resources.EntryPoint]) -> Callable: class BrokenCommand (line 58) | class BrokenCommand(click.Command): method __init__ (line 69) | def __init__(self, name: str) -> None: method invoke (line 88) | def invoke(self, ctx: click.Context) -> None: method parse_args (line 98) | def parse_args(self, ctx: click.Context, args: List) -> List: FILE: aea/cli/publish.py function publish (line 69) | def publish( function _validate_config (line 85) | def _validate_config(ctx: Context) -> None: function _validate_pkp (line 99) | def _validate_pkp(private_key_paths: CRUDCollection) -> None: class BaseRegistry (line 112) | class BaseRegistry(ABC): method check_item_present (line 116) | def check_item_present(self, item_type_plural: str, public_id: PublicI... method push_item (line 129) | def push_item(self, item_type_plural: str, public_id: PublicId) -> None: method check_item_present_and_push (line 139) | def check_item_present_and_push( class LocalRegistry (line 171) | class LocalRegistry(BaseRegistry): method __init__ (line 174) | def __init__(self, ctx: Context): method check_item_present (line 182) | def check_item_present(self, item_type_plural: str, public_id: PublicI... method push_item (line 200) | def push_item(self, item_type_plural: str, public_id: PublicId) -> None: class MixedRegistry (line 211) | class MixedRegistry(LocalRegistry): method check_item_present (line 214) | def check_item_present(self, item_type_plural: str, public_id: PublicI... class RemoteRegistry (line 239) | class RemoteRegistry(BaseRegistry): method __init__ (line 242) | def __init__(self, ctx: Context) -> None: method check_item_present (line 246) | def check_item_present(self, item_type_plural: str, public_id: PublicI... method push_item (line 263) | def push_item(self, item_type_plural: str, public_id: PublicId) -> None: function _check_dependencies_in_registry (line 274) | def _check_dependencies_in_registry( function _save_agent_locally (line 287) | def _save_agent_locally( function _publish_agent_remote (line 325) | def _publish_agent_remote(ctx: Context, push_missing: bool) -> None: FILE: aea/cli/push.py function push (line 43) | def push(click_context: click.Context, local: bool) -> None: function connection (line 52) | def connection(ctx: Context, connection_id: PublicId) -> None: function contract (line 63) | def contract(ctx: Context, contract_id: PublicId) -> None: function protocol (line 74) | def protocol(ctx: Context, protocol_id: PublicId) -> None: function skill (line 85) | def skill(ctx: Context, skill_id: PublicId) -> None: function _save_item_locally (line 93) | def _save_item_locally(ctx: Context, item_type: str, item_id: PublicId) ... FILE: aea/cli/register.py function register (line 38) | def register( function do_register (line 45) | def do_register( FILE: aea/cli/registry/add.py function fetch_package (line 30) | def fetch_package(obj_type: str, public_id: PublicId, cwd: str, dest: st... FILE: aea/cli/registry/fetch.py function fetch_agent (line 46) | def fetch_agent( FILE: aea/cli/registry/login.py function registry_login (line 27) | def registry_login(username: str, password: str) -> str: function registry_reset_password (line 47) | def registry_reset_password(email: str) -> None: FILE: aea/cli/registry/logout.py function registry_logout (line 24) | def registry_logout() -> None: FILE: aea/cli/registry/publish.py function _compress (line 49) | def _compress(output_filename: str, *filepaths: str) -> None: function publish_agent (line 57) | def publish_agent(ctx: Context) -> None: FILE: aea/cli/registry/push.py function _remove_pycache (line 49) | def _remove_pycache(source_dir: str) -> None: function _compress_dir (line 55) | def _compress_dir(output_filename: str, source_dir: str) -> None: function load_component_public_id (line 61) | def load_component_public_id(source_path: str, item_type: str) -> PublicId: function check_package_public_id (line 70) | def check_package_public_id( function push_item (line 102) | def push_item(ctx: Context, item_type: str, item_id: PublicId) -> None: FILE: aea/cli/registry/registration.py function register (line 28) | def register( FILE: aea/cli/registry/utils.py function get_auth_token (line 42) | def get_auth_token() -> str: function request_api (line 52) | def request_api( function _perform_registry_request (line 132) | def _perform_registry_request( function download_file (line 153) | def download_file(url: str, cwd: str, timeout: float = FILE_DOWNLOAD_TIM... function extract (line 177) | def extract(source: str, target: str) -> None: function _rm_tarfiles (line 194) | def _rm_tarfiles() -> None: function clean_tarfiles (line 202) | def clean_tarfiles(func: Callable) -> Callable: function check_is_author_logged_in (line 218) | def check_is_author_logged_in(author_name: str) -> None: function is_auth_token_present (line 236) | def is_auth_token_present() -> bool: function get_package_meta (line 245) | def get_package_meta( function get_latest_public_id_mixed (line 265) | def get_latest_public_id_mixed( function get_latest_version_available_in_registry (line 298) | def get_latest_version_available_in_registry( function list_missing_packages (line 338) | def list_missing_packages( FILE: aea/cli/remove.py function remove (line 66) | def remove( function connection (line 78) | def connection(ctx: Context, connection_id: PublicId) -> None: function contract (line 86) | def contract(ctx: Context, contract_id: PublicId) -> None: function protocol (line 94) | def protocol(ctx: Context, protocol_id: PublicId) -> None: function skill (line 102) | def skill(ctx: Context, skill_id: PublicId) -> None: class ItemRemoveHelper (line 107) | class ItemRemoveHelper: method __init__ (line 110) | def __init__(self, ctx: Context, ignore_non_vendor: bool = False) -> N... method get_agent_dependencies_with_reverse_dependencies (line 116) | def get_agent_dependencies_with_reverse_dependencies( method get_item_config (line 140) | def get_item_config(cls, package_id: PackageId) -> PackageConfiguration: method get_component_directory (line 156) | def get_component_directory(package_id: PackageId) -> Path: method _get_item_requirements (line 169) | def _get_item_requirements( method get_item_dependencies_with_reverse_dependencies (line 192) | def get_item_dependencies_with_reverse_dependencies( method is_present_in_agent_config (line 225) | def is_present_in_agent_config(self, package_id: PackageId) -> bool: method check_remove (line 235) | def check_remove( function remove_unused_component_configurations (line 268) | def remove_unused_component_configurations(ctx: Context) -> Generator: class RemoveItem (line 300) | class RemoveItem: method __init__ (line 303) | def __init__( method get_current_item (line 347) | def get_current_item(self) -> PublicId: method remove (line 361) | def remove(self) -> None: method agent_items (line 370) | def agent_items(self) -> Set[PublicId]: method is_required_by (line 375) | def is_required_by(self) -> bool: method remove_item (line 379) | def remove_item(self) -> None: method cwd (line 396) | def cwd(self) -> str: method agent_config (line 401) | def agent_config(self) -> AgentConfig: method agent_name (line 406) | def agent_name(self) -> str: # pragma: nocover method _get_item_folder (line 410) | def _get_item_folder(self) -> Path: method _remove_package (line 416) | def _remove_package(self) -> None: method _remove_from_config (line 426) | def _remove_from_config(self) -> None: method remove_dependencies (line 438) | def remove_dependencies(self) -> None: function remove_item (line 458) | def remove_item(ctx: Context, item_type: str, item_id: PublicId) -> None: FILE: aea/cli/remove_key.py function remove_key (line 46) | def remove_key(click_context: click.Context, type_: str, connection: boo... function _remove_private_key (line 51) | def _remove_private_key( function _try_remove_key (line 67) | def _try_remove_key(ctx: Context, type_: str, connection: bool = False) ... FILE: aea/cli/reset_password.py function reset_password (line 31) | def reset_password(email: str) -> None: function _do_password_reset (line 36) | def _do_password_reset(email: str) -> None: FILE: aea/cli/run.py function run (line 89) | def run( function _calculate_connection_ids (line 116) | def _calculate_connection_ids( function _profiling_context (line 137) | def _profiling_context(period: int) -> Generator: function run_aea (line 172) | def run_aea( function _prepare_environment (line 210) | def _prepare_environment(ctx: Context, env_file: str, is_install_deps: b... function _build_aea (line 224) | def _build_aea( FILE: aea/cli/scaffold.py function scaffold (line 65) | def scaffold( function connection (line 76) | def connection(ctx: Context, connection_name: str) -> None: function contract (line 84) | def contract(ctx: Context, contract_name: str) -> None: function protocol (line 93) | def protocol(ctx: Context, protocol_name: str, yes: bool) -> None: function skill (line 106) | def skill(ctx: Context, skill_name: str) -> None: function decision_maker_handler (line 113) | def decision_maker_handler(ctx: Context) -> None: function error_handler (line 120) | def error_handler(ctx: Context) -> None: function scaffold_item (line 126) | def scaffold_item(ctx: Context, item_type: str, item_name: str) -> None: function _scaffold_dm_handler (line 221) | def _scaffold_dm_handler(ctx: Context) -> None: function _scaffold_error_handler (line 232) | def _scaffold_error_handler(ctx: Context) -> None: function _scaffold_non_package_item (line 239) | def _scaffold_non_package_item( FILE: aea/cli/search.py function search (line 56) | def search(click_context: click.Context, local: bool) -> None: function connections (line 67) | def connections(ctx: Context, query: str, page: int) -> None: function contracts (line 77) | def contracts(ctx: Context, query: str, page: int) -> None: function protocols (line 87) | def protocols(ctx: Context, query: str, page: int) -> None: function skills (line 97) | def skills(ctx: Context, query: str, page: int) -> None: function agents (line 107) | def agents(ctx: Context, query: str, page: int) -> None: function _is_invalid_item (line 113) | def _is_invalid_item(name: str, dir_path: Path, config_path: Path) -> bool: function _get_details_from_dir (line 122) | def _get_details_from_dir( function _search_items_locally (line 139) | def _search_items_locally(ctx: Context, item_type_plural: str) -> List[D... function search_items (line 183) | def search_items( function _output_search_results (line 215) | def _output_search_results( FILE: aea/cli/transfer.py function transfer (line 67) | def transfer( function wait_tx_settled (line 109) | def wait_tx_settled( function do_transfer (line 130) | def do_transfer( FILE: aea/cli/upgrade.py function upgrade (line 76) | def upgrade( function connection (line 93) | def connection(ctx: Context, connection_public_id: PublicId) -> None: function contract (line 101) | def contract(ctx: Context, contract_public_id: PublicId) -> None: function protocol (line 109) | def protocol(ctx: Context, protocol_public_id: PublicId) -> None: function skill (line 117) | def skill(ctx: Context, skill_public_id: PublicId) -> None: function update_agent_config (line 122) | def update_agent_config(ctx: Context) -> None: function update_aea_version_in_nonvendor_packages (line 142) | def update_aea_version_in_nonvendor_packages(cwd: str) -> None: function upgrade_project (line 156) | def upgrade_project(ctx: Context) -> None: # pylint: disable=unused-arg... class UpgraderException (line 226) | class UpgraderException(Exception): class NotAddedException (line 230) | class NotAddedException(UpgraderException): class AlreadyActualVersionException (line 234) | class AlreadyActualVersionException(UpgraderException): method __init__ (line 237) | def __init__(self, version: str) -> None: class IsRequiredException (line 243) | class IsRequiredException(UpgraderException): method __init__ (line 246) | def __init__(self, required_by: Iterable[PackageId]) -> None: class ProjectUpgrader (line 252) | class ProjectUpgrader: method __init__ (line 257) | def __init__(self, ctx: Context, yes_by_default: bool = False) -> None: method upgrade (line 264) | def upgrade(self) -> bool: method _unpack_fetched_agent (line 313) | def _unpack_fetched_agent(self) -> None: method _ask_user_if_wants_to_upgrade (line 321) | def _ask_user_if_wants_to_upgrade( class ItemUpgrader (line 339) | class ItemUpgrader: method __init__ (line 342) | def __init__(self, ctx: Context, item_type: str, item_public_id: Publi... method get_current_item (line 367) | def get_current_item(self) -> PublicId: method check_item_present (line 380) | def check_item_present(self) -> None: method get_dependencies (line 393) | def get_dependencies( method is_non_vendor (line 406) | def is_non_vendor(self) -> bool: method check_in_requirements (line 413) | def check_in_requirements(self) -> None: method check_is_non_vendor (line 418) | def check_is_non_vendor(self) -> None: method check_not_at_latest_version (line 423) | def check_not_at_latest_version(self) -> str: method check_upgrade_is_required (line 444) | def check_upgrade_is_required(self) -> str: method remove_item (line 454) | def remove_item(self) -> None: method add_item (line 466) | def add_item(self) -> None: class InteractiveEjectHelper (line 471) | class InteractiveEjectHelper: method __init__ (line 479) | def __init__( method get_latest_versions (line 501) | def get_latest_versions(self) -> None: method _reverse_adjacency_list (line 523) | def _reverse_adjacency_list( method eject (line 534) | def eject(self) -> None: method get_updated_inverse_adjacency_list (line 540) | def get_updated_inverse_adjacency_list(self) -> Dict[PackageId, Set[Pa... method can_eject (line 549) | def can_eject(self) -> bool: method _prompt (line 575) | def _prompt( function _try_to_confirm (line 596) | def _try_to_confirm(message: str, yes_by_default: bool) -> bool: function upgrade_item (line 614) | def upgrade_item(ctx: Context, item_type: str, item_public_id: PublicId)... function _compute_replacements (line 655) | def _compute_replacements( function _compute_upgraders_and_shared_deps_to_remove (line 670) | def _compute_upgraders_and_shared_deps_to_remove( FILE: aea/cli/utils/click_utils.py class ConnectionsOption (line 35) | class ConnectionsOption(click.Option): method type_cast_value (line 38) | def type_cast_value( class PublicIdParameter (line 71) | class PublicIdParameter(click.ParamType): method __init__ (line 74) | def __init__( # pylint: disable=useless-super-delegation method get_metavar (line 87) | def get_metavar(self, param: Any) -> str: method convert (line 91) | def convert( # pylint: disable=inconsistent-return-statements class AgentDirectory (line 101) | class AgentDirectory(click.Path): method __init__ (line 104) | def __init__(self) -> None: method get_metavar (line 110) | def get_metavar(self, param: Any) -> str: method convert (line 114) | def convert(self, value: str, param: Any, ctx: click.Context) -> str: ... function registry_flag (line 134) | def registry_flag( function registry_path_option (line 161) | def registry_path_option(f: Callable) -> Callable: class MutuallyExclusiveOption (line 171) | class MutuallyExclusiveOption(Option): method __init__ (line 174) | def __init__(self, *args: Any, **kwargs: Any) -> None: method handle_parse_result (line 186) | def handle_parse_result( function password_option (line 206) | def password_option(confirmation_prompt: bool = False, **kwargs) -> Call... FILE: aea/cli/utils/config.py function try_to_load_agent_config (line 45) | def try_to_load_agent_config( function _init_cli_config (line 85) | def _init_cli_config() -> None: function update_cli_config (line 94) | def update_cli_config(dict_conf: Dict) -> None: function get_or_create_cli_config (line 106) | def get_or_create_cli_config() -> Dict: function set_cli_author (line 119) | def set_cli_author(click_context: click.Context) -> None: function get_registry_path_from_cli_config (line 136) | def get_registry_path_from_cli_config() -> Optional[str]: function load_item_config (line 142) | def load_item_config(item_type: str, package_path: Path) -> PackageConfi... function dump_item_config (line 159) | def dump_item_config( function update_item_config (line 179) | def update_item_config(item_type: str, package_path: Path, **kwargs: Any... function validate_item_config (line 199) | def validate_item_config(item_type: str, package_path: Path) -> None: function get_non_vendor_package_path (line 221) | def get_non_vendor_package_path(aea_project_path: Path) -> Set[Path]: FILE: aea/cli/utils/context.py class Context (line 46) | class Context: method __init__ (line 51) | def __init__(self, cwd: str, verbosity: str, registry_path: Optional[s... method registry_path (line 60) | def registry_path(self) -> str: method skip_aea_validation (line 82) | def skip_aea_validation(self) -> bool: method agent_loader (line 94) | def agent_loader(self) -> ConfigLoader: method protocol_loader (line 101) | def protocol_loader(self) -> ConfigLoader: method connection_loader (line 108) | def connection_loader(self) -> ConfigLoader: method skill_loader (line 115) | def skill_loader(self) -> ConfigLoader: method contract_loader (line 122) | def contract_loader(self) -> ConfigLoader: method set_config (line 128) | def set_config(self, key: str, value: Any) -> None: method _get_item_dependencies (line 139) | def _get_item_dependencies(item_type: str, public_id: PublicId) -> Dep... method get_dependencies (line 160) | def get_dependencies(self) -> Dependencies: method dump_agent_config (line 194) | def dump_agent_config(self) -> None: FILE: aea/cli/utils/decorators.py function _validate_config_consistency (line 50) | def _validate_config_consistency(ctx: Context, check_aea_version: bool =... function _check_aea_project (line 120) | def _check_aea_project( function check_aea_project (line 145) | def check_aea_project( function _rmdirs (line 171) | def _rmdirs(*paths: str) -> None: function _cast_ctx (line 182) | def _cast_ctx(context: Union[Context, click.core.Context]) -> Context: function clean_after (line 201) | def clean_after(func: Callable) -> Callable: FILE: aea/cli/utils/exceptions.py class AEAConfigException (line 25) | class AEAConfigException(AEAException): class InterruptInputException (line 29) | class InterruptInputException(Exception): FILE: aea/cli/utils/formatting.py function format_items (line 30) | def format_items(items: List[Dict]) -> str: function retrieve_details (line 53) | def retrieve_details(name: str, loader: ConfigLoader, config_filepath: s... function sort_items (line 68) | def sort_items(items: List[Dict]) -> List[Dict]: FILE: aea/cli/utils/generic.py function load_yaml (line 29) | def load_yaml(filepath: str) -> Dict: function is_readme_present (line 47) | def is_readme_present(readme_path: str) -> bool: FILE: aea/cli/utils/loggers.py class ColorFormatter (line 35) | class ColorFormatter(logging.Formatter): method format (line 47) | def format(self, record: logging.LogRecord) -> str: function simple_verbosity_option (line 59) | def simple_verbosity_option( function default_logging_config (line 99) | def default_logging_config( FILE: aea/cli/utils/package_utils.py function verify_private_keys_ctx (line 79) | def verify_private_keys_ctx( function validate_package_name (line 109) | def validate_package_name(package_name: str) -> None: function _is_valid_author_handle (line 124) | def _is_valid_author_handle(author: str) -> bool: function _is_permitted_author_handle (line 143) | def _is_permitted_author_handle(author: str) -> bool: function is_path_exist (line 155) | def is_path_exist(path: Union[str, Path]) -> bool: function try_get_item_source_path (line 166) | def try_get_item_source_path( function try_get_item_target_path (line 190) | def try_get_item_target_path( function get_package_path (line 212) | def get_package_path( function get_package_path_unified (line 237) | def get_package_path_unified( function get_dotted_package_path_unified (line 268) | def get_dotted_package_path_unified( function copy_package_directory (line 286) | def copy_package_directory(src: Path, dst: str) -> Path: function find_item_locally (line 309) | def find_item_locally( function find_item_in_distribution (line 368) | def find_item_in_distribution( # pylint: disable=unused-argument function validate_author_name (line 418) | def validate_author_name(author: Optional[str] = None) -> str: function is_fingerprint_correct (line 461) | def is_fingerprint_correct( function register_item (line 477) | def register_item(ctx: Context, item_type: str, item_public_id: PublicId... function is_item_present_unified (line 494) | def is_item_present_unified( function is_item_present (line 520) | def is_item_present( function get_item_id_present (line 559) | def get_item_id_present( function get_item_public_id_by_author_name (line 580) | def get_item_public_id_by_author_name( function get_items (line 599) | def get_items(agent_config: AgentConfig, item_type: str) -> Set[PublicId]: function is_distributed_item (line 612) | def is_distributed_item(item_public_id: PublicId) -> bool: function _override_ledger_configurations (line 627) | def _override_ledger_configurations(agent_config: AgentConfig) -> None: function try_get_balance (line 644) | def try_get_balance( # pylint: disable=unused-argument function get_wallet_from_context (line 670) | def get_wallet_from_context(ctx: Context, password: Optional[str] = None... function update_item_public_id_in_init (line 684) | def update_item_public_id_in_init( function update_references (line 709) | def update_references( function create_symlink_vendor_to_local (line 744) | def create_symlink_vendor_to_local( function create_symlink_packages_to_vendor (line 762) | def create_symlink_packages_to_vendor(ctx: Context) -> None: function replace_all_import_statements (line 772) | def replace_all_import_statements( function fingerprint_all (line 812) | def fingerprint_all(ctx: Context) -> None: function update_aea_version_range (line 825) | def update_aea_version_range(package_configuration: PackageConfiguration... FILE: aea/components/base.py class Component (line 42) | class Component(ABC, WithLogger): method __init__ (line 47) | def __init__( method component_type (line 66) | def component_type(self) -> ComponentType: method is_vendor (line 71) | def is_vendor(self) -> bool: method prefix_import_path (line 76) | def prefix_import_path(self) -> str: method component_id (line 81) | def component_id(self) -> ComponentId: method public_id (line 86) | def public_id(self) -> PublicId: method configuration (line 91) | def configuration(self) -> ComponentConfiguration: method directory (line 98) | def directory(self) -> Path: method directory (line 105) | def directory(self, path: Path) -> None: method build_directory (line 112) | def build_directory(self) -> Optional[str]: function load_aea_package (line 117) | def load_aea_package(configuration: ComponentConfiguration) -> None: function perform_load_aea_package (line 134) | def perform_load_aea_package( FILE: aea/components/loader.py function component_type_to_class (line 39) | def component_type_to_class(component_type: ComponentType) -> Type[Compo... function load_component_from_config (line 55) | def load_component_from_config( # type: ignore # pylint: disable=incon... class AEAPackageNotFound (line 84) | class AEAPackageNotFound(Exception): function _handle_error_while_loading_component_module_not_found (line 88) | def _handle_error_while_loading_component_module_not_found( function _handle_error_while_loading_component_generic_error (line 168) | def _handle_error_while_loading_component_generic_error( FILE: aea/components/utils.py function _enlist_component_packages (line 34) | def _enlist_component_packages() -> Dict[str, List[Dict[str, str]]]: function _populate_packages (line 56) | def _populate_packages(packages: dict) -> None: # pragma: nocover FILE: aea/configurations/base.py function dependencies_from_json (line 94) | def dependencies_from_json(obj: Dict[str, Dict]) -> Dependencies: function dependencies_to_json (line 104) | def dependencies_to_json(dependencies: Dependencies) -> Dict[str, Dict]: function _get_default_configuration_file_name_from_type (line 123) | def _get_default_configuration_file_name_from_type( class ProtocolSpecificationParseError (line 143) | class ProtocolSpecificationParseError(Exception): class Configuration (line 147) | class Configuration(JSONSerializable, ABC): method __init__ (line 152) | def __init__(self) -> None: method from_json (line 159) | def from_json(cls, obj: Dict) -> "Configuration": method ordered_json (line 163) | def ordered_json(self) -> OrderedDict: class PackageConfiguration (line 197) | class PackageConfiguration(Configuration, ABC): method __init__ (line 228) | def __init__( method name (line 271) | def name(self) -> str: method name (line 276) | def name(self, value: SimpleIdOrStr) -> None: method author (line 281) | def author(self) -> str: method author (line 286) | def author(self, value: SimpleIdOrStr) -> None: method aea_version (line 291) | def aea_version(self) -> str: method aea_version (line 296) | def aea_version(self, new_aea_version: str) -> None: method check_aea_version (line 301) | def check_aea_version(self) -> None: method directory (line 310) | def directory(self) -> Optional[Path]: method directory (line 315) | def directory(self, directory: Path) -> None: method package_id (line 322) | def package_id(self) -> PackageId: method parse_aea_version_specifier (line 327) | def parse_aea_version_specifier(aea_version_specifiers: str) -> Specif... method aea_version_specifiers (line 345) | def aea_version_specifiers(self) -> SpecifierSet: method public_id (line 350) | def public_id(self) -> PublicId: method package_dependencies (line 355) | def package_dependencies(self) -> Set[ComponentId]: method update (line 359) | def update(self, data: Dict, env_vars_friendly: bool = False) -> None: method validate_config_data (line 375) | def validate_config_data( method from_json (line 384) | def from_json(cls, obj: Dict) -> "PackageConfiguration": method _create_or_update_from_json (line 389) | def _create_or_update_from_json( method make_resulting_config_data (line 395) | def make_resulting_config_data(self, overrides: Dict) -> Dict: method check_overrides_valid (line 408) | def check_overrides_valid( method _check_overrides_corresponds_to_overridable (line 421) | def _check_overrides_corresponds_to_overridable( method get_overridable (line 434) | def get_overridable(self) -> dict: method _apply_params_to_instance (line 439) | def _apply_params_to_instance( class ComponentConfiguration (line 458) | class ComponentConfiguration(PackageConfiguration, ABC): method __init__ (line 465) | def __init__( method build_directory (line 495) | def build_directory(self) -> Optional[str]: method build_directory (line 500) | def build_directory(self, value: Optional[str]) -> None: method component_type (line 505) | def component_type(self) -> ComponentType: method component_id (line 510) | def component_id(self) -> ComponentId: method prefix_import_path (line 515) | def prefix_import_path(self) -> str: method is_abstract_component (line 522) | def is_abstract_component(self) -> bool: method _check_configuration_consistency (line 526) | def _check_configuration_consistency(self, directory: Path) -> None: method check_fingerprint (line 532) | def check_fingerprint(self, directory: Path) -> None: method check_public_id_consistency (line 547) | def check_public_id_consistency(self, directory: Path) -> None: class ConnectionConfig (line 561) | class ConnectionConfig(ComponentConfiguration): method __init__ (line 585) | def __init__( method package_dependencies (line 669) | def package_dependencies(self) -> Set[ComponentId]: method is_abstract_component (line 682) | def is_abstract_component(self) -> bool: method json (line 687) | def json(self) -> Dict: method _create_or_update_from_json (line 722) | def _create_or_update_from_json( class ProtocolConfig (line 777) | class ProtocolConfig(ComponentConfiguration): method __init__ (line 787) | def __init__( method json (line 826) | def json(self) -> Dict: method _create_or_update_from_json (line 850) | def _create_or_update_from_json( class SkillComponentConfiguration (line 877) | class SkillComponentConfiguration: method __init__ (line 882) | def __init__( method json (line 897) | def json(self) -> Dict: method from_json (line 905) | def from_json(cls, obj: Dict) -> "SkillComponentConfiguration": method _create_or_update_from_json (line 910) | def _create_or_update_from_json( method _apply_params_to_instance (line 926) | def _apply_params_to_instance( class SkillConfig (line 937) | class SkillConfig(ComponentConfiguration): method __init__ (line 966) | def __init__( method package_dependencies (line 1011) | def package_dependencies(self) -> Set[ComponentId]: method is_abstract_component (line 1036) | def is_abstract_component(self) -> bool: method json (line 1041) | def json(self) -> Dict: method _create_or_update_from_json (line 1072) | def _create_or_update_from_json( method get_overridable (line 1128) | def get_overridable(self) -> dict: class AgentConfig (line 1150) | class AgentConfig(PackageConfiguration): method __init__ (line 1219) | def __init__( # pylint: disable=too-many-arguments method component_configurations (line 1322) | def component_configurations(self) -> Dict[ComponentId, Dict]: method component_configurations (line 1327) | def component_configurations(self, d: Dict[ComponentId, Dict]) -> None: method package_dependencies (line 1347) | def package_dependencies(self) -> Set[ComponentId]: method private_key_paths_dict (line 1369) | def private_key_paths_dict(self) -> Dict[str, str]: method connection_private_key_paths_dict (line 1376) | def connection_private_key_paths_dict(self) -> Dict[str, str]: method component_configurations_json (line 1382) | def component_configurations_json(self) -> List[OrderedDict]: method json (line 1396) | def json(self) -> Dict: method _create_or_update_from_json (line 1462) | def _create_or_update_from_json( method all_components_id (line 1560) | def all_components_id(self) -> List[ComponentId]: method update (line 1575) | def update(self, data: Dict, env_vars_friendly: bool = False) -> None: class SpeechActContentConfig (line 1607) | class SpeechActContentConfig(Configuration): method __init__ (line 1612) | def __init__(self, **args: Any) -> None: method json (line 1618) | def json(self) -> Dict: method from_json (line 1623) | def from_json(cls, obj: Dict) -> "SpeechActContentConfig": class ProtocolSpecification (line 1628) | class ProtocolSpecification(ProtocolConfig): method __init__ (line 1633) | def __init__( method protobuf_snippets (line 1658) | def protobuf_snippets(self) -> Dict: method protobuf_snippets (line 1663) | def protobuf_snippets(self, protobuf_snippets: Dict) -> None: method dialogue_config (line 1668) | def dialogue_config(self) -> Dict: method dialogue_config (line 1673) | def dialogue_config(self, dialogue_config: Dict) -> None: method json (line 1678) | def json(self) -> Dict: method _create_or_update_from_json (line 1698) | def _create_or_update_from_json( # type: ignore class ContractConfig (line 1728) | class ContractConfig(ComponentConfiguration): method __init__ (line 1744) | def __init__( method json (line 1781) | def json(self) -> Dict: method _create_or_update_from_json (line 1806) | def _create_or_update_from_json( function _compute_fingerprint (line 1841) | def _compute_fingerprint( # pylint: disable=unsubscriptable-object function _compare_fingerprints (line 1872) | def _compare_fingerprints( class AEAVersionError (line 1934) | class AEAVersionError(ValueError): method __init__ (line 1937) | def __init__( function _check_aea_version (line 1949) | def _check_aea_version(package_configuration: PackageConfiguration) -> N... function _compare_public_ids (line 1960) | def _compare_public_ids( function _get_public_id_from_file (line 1979) | def _get_public_id_from_file( FILE: aea/configurations/data_types.py class JSONSerializable (line 65) | class JSONSerializable(ABC): method json (line 70) | def json(self) -> Dict: method from_json (line 75) | def from_json(cls, obj: Dict) -> "JSONSerializable": class PackageVersion (line 80) | class PackageVersion: method __init__ (line 85) | def __init__(self, version_like: PackageVersionLike) -> None: method is_latest (line 103) | def is_latest(self) -> bool: method __str__ (line 107) | def __str__(self) -> str: method __eq__ (line 111) | def __eq__(self, other: Any) -> bool: method __lt__ (line 115) | def __lt__(self, other: Any) -> bool: class PackageType (line 127) | class PackageType(Enum): method to_plural (line 136) | def to_plural(self) -> str: method __str__ (line 155) | def __str__(self) -> str: class ComponentType (line 160) | class ComponentType(Enum): method to_package_type (line 168) | def to_package_type(self) -> PackageType: method plurals (line 173) | def plurals() -> Collection[str]: # pylint: disable=unsubscriptable-o... method to_plural (line 184) | def to_plural(self) -> str: method __str__ (line 201) | def __str__(self) -> str: class PublicId (line 209) | class PublicId(JSONSerializable): method __init__ (line 249) | def __init__( method author (line 265) | def author(self) -> str: method name (line 270) | def name(self) -> str: method version (line 275) | def version(self) -> str: method package_version (line 280) | def package_version(self) -> PackageVersion: method to_any (line 284) | def to_any(self) -> "PublicId": method same_prefix (line 288) | def same_prefix(self, other: "PublicId") -> bool: method to_latest (line 292) | def to_latest(self) -> "PublicId": method is_valid_str (line 297) | def is_valid_str(cls, public_id_string: str) -> bool: method from_str (line 308) | def from_str(cls, public_id_string: str) -> "PublicId": method try_from_str (line 336) | def try_from_str(cls, public_id_string: str) -> Optional["PublicId"]: method from_uri_path (line 351) | def from_uri_path(cls, public_id_uri_path: str) -> "PublicId": method to_uri_path (line 378) | def to_uri_path(self) -> str: method json (line 389) | def json(self) -> Dict: method from_json (line 394) | def from_json(cls, obj: Dict) -> "PublicId": method __hash__ (line 402) | def __hash__(self) -> int: method __str__ (line 406) | def __str__(self) -> str: method __repr__ (line 412) | def __repr__(self) -> str: method __eq__ (line 416) | def __eq__(self, other: Any) -> bool: method __lt__ (line 425) | def __lt__(self, other: Any) -> bool: class PackageId (line 459) | class PackageId: method __init__ (line 475) | def __init__( method package_type (line 488) | def package_type(self) -> PackageType: method public_id (line 493) | def public_id(self) -> PublicId: method author (line 498) | def author(self) -> str: method name (line 503) | def name(self) -> str: method version (line 508) | def version(self) -> str: method package_prefix (line 513) | def package_prefix(self) -> Tuple[PackageType, str, str]: method from_uri_path (line 518) | def from_uri_path(cls, package_id_uri_path: str) -> "PackageId": method to_uri_path (line 547) | def to_uri_path(self) -> str: method __hash__ (line 555) | def __hash__(self) -> int: method __str__ (line 559) | def __str__(self) -> str: method __repr__ (line 566) | def __repr__(self) -> str: method __eq__ (line 570) | def __eq__(self, other: Any) -> bool: method __lt__ (line 578) | def __lt__(self, other: Any) -> bool: class ComponentId (line 583) | class ComponentId(PackageId): method __init__ (line 598) | def __init__( method component_type (line 611) | def component_type(self) -> ComponentType: method component_prefix (line 616) | def component_prefix(self) -> PackageIdPrefix: method same_prefix (line 622) | def same_prefix(self, other: "ComponentId") -> bool: method prefix_import_path (line 630) | def prefix_import_path(self) -> str: method json (line 637) | def json(self) -> Dict: method from_json (line 642) | def from_json(cls, json_data: Dict) -> "ComponentId": class PyPIPackageName (line 649) | class PyPIPackageName(RegexConstrainedString): class GitRef (line 655) | class GitRef(RegexConstrainedString): class Dependency (line 665) | class Dependency: method __init__ (line 681) | def __init__( method name (line 705) | def name(self) -> str: method version (line 710) | def version(self) -> str: method index (line 715) | def index(self) -> Optional[str]: method git (line 720) | def git(self) -> Optional[str]: method ref (line 725) | def ref(self) -> Optional[str]: method _parse_version (line 730) | def _parse_version(version: Union[str, SpecifierSet]) -> SpecifierSet: method from_json (line 740) | def from_json(cls, obj: Dict[str, Dict[str, str]]) -> "Dependency": method to_json (line 757) | def to_json(self) -> Dict[str, Dict[str, str]]: method get_pip_install_args (line 770) | def get_pip_install_args(self) -> List[str]: method __str__ (line 786) | def __str__(self) -> str: method __eq__ (line 790) | def __eq__(self, other: Any) -> bool: class CRUDCollection (line 812) | class CRUDCollection(Generic[T]): method __init__ (line 817) | def __init__(self) -> None: method create (line 821) | def create(self, item_id: str, item: T) -> None: method read (line 833) | def read(self, item_id: str) -> Optional[T]: method update (line 842) | def update(self, item_id: str, item: T) -> None: method delete (line 851) | def delete(self, item_id: str) -> None: method read_all (line 856) | def read_all(self) -> List[Tuple[str, T]]: method keys (line 862) | def keys(self) -> Set[str]: FILE: aea/configurations/loader.py class BaseConfigLoader (line 61) | class BaseConfigLoader: method __init__ (line 64) | def __init__(self, schema_filename: str) -> None: method validator (line 73) | def validator(self) -> ConfigValidator: method validate (line 77) | def validate(self, json_data: Dict) -> None: method required_fields (line 86) | def required_fields(self) -> List[str]: class ConfigLoader (line 95) | class ConfigLoader(Generic[T], BaseConfigLoader): method __init__ (line 98) | def __init__( method configuration_class (line 116) | def configuration_class(self) -> Type[T]: method validate (line 120) | def validate(self, json_data: Dict) -> None: method load_protocol_specification (line 140) | def load_protocol_specification( method load (line 181) | def load(self, file_pointer: TextIO) -> T: method dump (line 192) | def dump(self, configuration: T, file_pointer: TextIO) -> None: method from_configuration_type (line 204) | def from_configuration_type( method _load_component_config (line 217) | def _load_component_config(self, file_pointer: TextIO) -> T: method _load_from_json (line 222) | def _load_from_json(self, configuration_file_json: Dict) -> T: method load_agent_config_from_json (line 232) | def load_agent_config_from_json( method _get_component_configurations (line 262) | def _get_component_configurations( method _load_agent_config (line 286) | def _load_agent_config(self, file_pointer: TextIO) -> AgentConfig: method _dump_agent_config (line 291) | def _dump_agent_config( method _dump_component_config (line 301) | def _dump_component_config(self, configuration: T, file_pointer: TextI... method _process_component_section (line 307) | def _process_component_section( class ConfigLoaders (line 331) | class ConfigLoaders: method from_package_type (line 335) | def from_package_type( function load_component_configuration (line 351) | def load_component_configuration( function load_package_configuration (line 374) | def load_package_configuration( function _load_configuration_object (line 401) | def _load_configuration_object( FILE: aea/configurations/manager.py class VariableDoesNotExist (line 78) | class VariableDoesNotExist(ValueError): function _try_get_configuration_object_from_aea_config (line 86) | def _try_get_configuration_object_from_aea_config( function _try_get_component_id_from_prefix (line 115) | def _try_get_component_id_from_prefix( function handle_dotted_path (line 141) | def handle_dotted_path( function find_component_directory_from_component_id (line 263) | def find_component_directory_from_component_id( class AgentConfigManager (line 290) | class AgentConfigManager: method __init__ (line 296) | def __init__( method load_component_configuration (line 313) | def load_component_configuration( method agent_config_file_path (line 337) | def agent_config_file_path(self) -> Path: method _get_agent_config_file_path (line 342) | def _get_agent_config_file_path(cls, aea_project_path: Union[str, Path... method load (line 347) | def load( method _load_config_data (line 362) | def _load_config_data(cls, aea_project_path: Path) -> List[Dict]: method set_variable (line 367) | def set_variable(self, path: VariablePath, value: JSON_TYPES) -> None: method _make_dict_for_path_and_value (line 386) | def _make_dict_for_path_and_value(json_path: JsonPath, value: JSON_TYP... method get_variable (line 403) | def get_variable(self, path: VariablePath) -> JSON_TYPES: method _get_value_for_json_path (line 434) | def _get_value_for_json_path( method _parse_path (line 459) | def _parse_path(self, path: VariablePath) -> Tuple[Optional[ComponentI... method update_config (line 486) | def update_config(self, overrides: Dict) -> None: method _filter_overrides (line 514) | def _filter_overrides(self, overrides: Dict) -> Dict: method validate_current_config (line 523) | def validate_current_config(self) -> None: method json (line 535) | def json(self) -> Dict: method dump_config (line 539) | def dump_config(self) -> None: method verify_private_keys (line 551) | def verify_private_keys( method get_overridables (line 578) | def get_overridables(self) -> Tuple[Dict, Dict[ComponentId, Dict]]: FILE: aea/configurations/pypi.py function and_ (line 34) | def and_(s1: SpecifierSet, s2: SpecifierSet) -> SpecifierSet: function _handle_compatibility_operator (line 39) | def _handle_compatibility_operator( function is_satisfiable (line 79) | def is_satisfiable(specifier_set: SpecifierSet) -> bool: function _handle_range_constraints (line 181) | def _handle_range_constraints( function is_simple_dep (line 219) | def is_simple_dep(dep: Dependency) -> bool: function to_set_specifier (line 231) | def to_set_specifier(dep: Dependency) -> SpecifierSet: function merge_dependencies (line 236) | def merge_dependencies(dep1: Dependencies, dep2: Dependencies) -> Depend... function merge_dependencies_list (line 297) | def merge_dependencies_list(*deps: Dependencies) -> Dependencies: FILE: aea/configurations/utils.py function replace_component_ids (line 39) | def replace_component_ids( function _ (line 51) | def _( function _ (line 114) | def _( function _ (line 122) | def _( function _ (line 144) | def _( # type: ignore function _ (line 152) | def _( function _replace_component_id (line 169) | def _replace_component_id( function get_latest_component_id_from_prefix (line 192) | def get_latest_component_id_from_prefix( FILE: aea/configurations/validation.py function make_jsonschema_base_uri (line 50) | def make_jsonschema_base_uri(base_uri_path: Path) -> str: function _get_path_to_custom_config_schema_from_type (line 64) | def _get_path_to_custom_config_schema_from_type(component_type: Componen... class ExtraPropertiesError (line 80) | class ExtraPropertiesError(ValueError): method __str__ (line 83) | def __str__(self) -> str: # pragma: nocover method __repr__ (line 89) | def __repr__(self) -> str: # pragma: nocover class CustomTypeChecker (line 94) | class CustomTypeChecker(TypeChecker): method is_type (line 97) | def is_type(self, instance, type) -> bool: # type: ignore # pylint: d... function own_additional_properties (line 104) | def own_additional_properties(validator, aP, instance, schema) -> Iterat... class ConfigValidator (line 125) | class ConfigValidator: method __init__ (line 128) | def __init__(self, schema_filename: str, env_vars_friendly: bool = Fal... method split_component_id_and_config (line 150) | def split_component_id_and_config( method validate_component_configuration (line 176) | def validate_component_configuration( method validate (line 209) | def validate(self, json_data: Dict) -> None: method _validate (line 228) | def _validate(self, instance: Dict) -> None: method _build_message_from_errors (line 238) | def _build_message_from_errors(errors: List[jsonschema.ValidationError... method validate_agent_components_configuration (line 249) | def validate_agent_components_configuration( method required_fields (line 266) | def required_fields(self) -> List[str]: function validate_data_with_pattern (line 275) | def validate_data_with_pattern( function filter_data (line 345) | def filter_data(base: Any, updates: Any) -> Any: FILE: aea/connections/base.py class ConnectionStates (line 50) | class ConnectionStates(Enum): class Connection (line 59) | class Connection(Component, ABC): method __init__ (line 64) | def __init__( method loop (line 108) | def loop(self) -> asyncio.AbstractEventLoop: method _ensure_connected (line 113) | def _ensure_connected(self) -> None: # pragma: nocover method _ensure_valid_envelope_for_external_comms (line 119) | def _ensure_valid_envelope_for_external_comms(envelope: "Envelope") ->... method _connect_context (line 131) | def _connect_context(self) -> Generator: method address (line 141) | def address(self) -> "Address": # pragma: nocover method crypto_store (line 150) | def crypto_store(self) -> CryptoStore: # pragma: nocover method has_crypto_store (line 157) | def has_crypto_store(self) -> bool: # pragma: nocover method data_dir (line 162) | def data_dir(self) -> str: # pragma: nocover method component_type (line 167) | def component_type(self) -> ComponentType: # pragma: nocover method configuration (line 172) | def configuration(self) -> ConnectionConfig: method restricted_to_protocols (line 179) | def restricted_to_protocols(self) -> Set[PublicId]: # pragma: nocover method excluded_protocols (line 186) | def excluded_protocols(self) -> Set[PublicId]: # pragma: nocover method state (line 193) | def state(self) -> ConnectionStates: method state (line 198) | def state(self, value: ConnectionStates) -> None: method connect (line 205) | async def connect(self) -> None: method disconnect (line 209) | async def disconnect(self) -> None: method send (line 213) | async def send(self, envelope: "Envelope") -> None: method receive (line 222) | async def receive(self, *args: Any, **kwargs: Any) -> Optional["Envelo... method from_dir (line 232) | def from_dir( method from_config (line 260) | def from_config( method is_connected (line 318) | def is_connected(self) -> bool: # pragma: nocover method is_connecting (line 323) | def is_connecting(self) -> bool: # pragma: nocover method is_disconnected (line 328) | def is_disconnected(self) -> bool: # pragma: nocover class BaseSyncConnection (line 333) | class BaseSyncConnection(Connection): method __init__ (line 342) | def __init__( method _set_executor_pool (line 378) | def _set_executor_pool(self, max_workers: Optional[int] = None) -> None: method _task_done_callback (line 388) | def _task_done_callback(self, task: asyncio.Task) -> None: method _run_in_pool (line 399) | async def _run_in_pool(self, fn: Callable, *args: Any) -> Any: method put_envelope (line 403) | def put_envelope(self, envelope: Optional["Envelope"]) -> None: method connect (line 410) | async def connect(self) -> None: method disconnect (line 419) | async def disconnect(self) -> None: method send (line 432) | async def send(self, envelope: "Envelope") -> None: method _send_wrapper (line 441) | def _send_wrapper(self, *args: Any) -> None: method receive (line 446) | async def receive(self, *args: Any, **kwargs: Any) -> Optional["Envelo... method start_main (line 451) | def start_main(self) -> None: method main (line 463) | def main(self) -> None: method on_connect (line 467) | def on_connect(self) -> None: method on_disconnect (line 471) | def on_disconnect(self) -> None: method on_send (line 475) | def on_send(self, envelope: "Envelope") -> None: FILE: aea/connections/scaffold/connection.py class MyScaffoldAsyncConnection (line 36) | class MyScaffoldAsyncConnection(Connection): method __init__ (line 41) | def __init__(self, **kwargs: Any) -> None: method connect (line 60) | async def connect(self) -> None: method disconnect (line 68) | async def disconnect(self) -> None: method send (line 76) | async def send(self, envelope: Envelope) -> None: method receive (line 84) | async def receive(self, *args: Any, **kwargs: Any) -> Optional[Envelope]: class MyScaffoldSyncConnection (line 95) | class MyScaffoldSyncConnection(BaseSyncConnection): method __init__ (line 102) | def __init__(self, *args: Any, **kwargs: Any) -> None: # pragma: no c... method main (line 123) | def main(self) -> None: method on_send (line 149) | def on_send(self, envelope: Envelope) -> None: method on_connect (line 157) | def on_connect(self) -> None: method on_disconnect (line 165) | def on_disconnect(self) -> None: FILE: aea/context/base.py class AgentContext (line 34) | class AgentContext: method __init__ (line 57) | def __init__( method send_to_skill (line 114) | def send_to_skill( method storage (line 132) | def storage(self) -> Optional[Storage]: method data_dir (line 137) | def data_dir(self) -> str: method shared_state (line 142) | def shared_state(self) -> Dict[str, Any]: method identity (line 155) | def identity(self) -> Identity: method agent_name (line 160) | def agent_name(self) -> str: method addresses (line 165) | def addresses(self) -> Dict[str, Address]: method public_keys (line 170) | def public_keys(self) -> Dict[str, str]: method address (line 175) | def address(self) -> Address: method public_key (line 180) | def public_key(self) -> str: method connection_status (line 185) | def connection_status(self) -> MultiplexerStatus: method outbox (line 190) | def outbox(self) -> OutBox: method decision_maker_message_queue (line 195) | def decision_maker_message_queue(self) -> Queue: method decision_maker_handler_context (line 200) | def decision_maker_handler_context(self) -> SimpleNamespace: method task_manager (line 205) | def task_manager(self) -> TaskManager: method search_service_address (line 210) | def search_service_address(self) -> Address: method decision_maker_address (line 215) | def decision_maker_address(self) -> Address: method default_ledger_id (line 220) | def default_ledger_id(self) -> str: method currency_denominations (line 225) | def currency_denominations(self) -> Dict[str, str]: method default_connection (line 230) | def default_connection(self) -> Optional[PublicId]: method default_routing (line 235) | def default_routing(self) -> Dict[PublicId, PublicId]: method namespace (line 240) | def namespace(self) -> SimpleNamespace: FILE: aea/contracts/base.py class Contract (line 42) | class Contract(Component): method __init__ (line 48) | def __init__(self, contract_config: ContractConfig, **kwargs: Any) -> ... method id (line 58) | def id(self) -> PublicId: method configuration (line 63) | def configuration(self) -> ContractConfig: method get_instance (line 70) | def get_instance( method from_dir (line 87) | def from_dir(cls, directory: str, **kwargs: Any) -> "Contract": method from_config (line 103) | def from_config(cls, configuration: ContractConfig, **kwargs: Any) -> ... method get_deploy_transaction (line 134) | def get_deploy_transaction( method get_raw_transaction (line 155) | def get_raw_transaction( method get_raw_message (line 172) | def get_raw_message( method get_state (line 189) | def get_state( function _try_to_register_contract (line 206) | def _try_to_register_contract(configuration: ContractConfig) -> None: function _load_contract_interfaces (line 233) | def _load_contract_interfaces( FILE: aea/contracts/scaffold/contract.py class MyScaffoldContract (line 30) | class MyScaffoldContract(Contract): method get_raw_transaction (line 36) | def get_raw_transaction( method get_raw_message (line 53) | def get_raw_message( method get_state (line 70) | def get_state( FILE: aea/crypto/base.py class Crypto (line 32) | class Crypto(Generic[EntityClass], ABC): method __init__ (line 37) | def __init__( method generate_private_key (line 65) | def generate_private_key(cls) -> EntityClass: method load_private_key_from_path (line 74) | def load_private_key_from_path( method entity (line 86) | def entity(self) -> EntityClass: method private_key (line 96) | def private_key(self) -> str: method public_key (line 105) | def public_key(self) -> str: method address (line 114) | def address(self) -> str: method sign_message (line 122) | def sign_message(self, message: bytes, is_deprecated_mode: bool = Fals... method sign_transaction (line 132) | def sign_transaction(self, transaction: JSONLike) -> JSONLike: method load (line 141) | def load(cls, private_key_file: str, password: Optional[str] = None) -... method dump (line 158) | def dump(self, private_key_file: str, password: Optional[str] = None) ... method encrypt (line 174) | def encrypt(self, password: str) -> str: method decrypt (line 184) | def decrypt(cls, keyfile_json: str, password: str) -> str: class Helper (line 194) | class Helper(ABC): method is_transaction_settled (line 199) | def is_transaction_settled(tx_receipt: JSONLike) -> bool: method is_transaction_valid (line 209) | def is_transaction_valid( method get_contract_address (line 229) | def get_contract_address(tx_receipt: JSONLike) -> Optional[str]: method generate_tx_nonce (line 239) | def generate_tx_nonce(seller: Address, client: Address) -> str: method get_address_from_public_key (line 250) | def get_address_from_public_key(cls, public_key: str) -> str: method recover_message (line 260) | def recover_message( method recover_public_keys_from_message (line 274) | def recover_public_keys_from_message( method get_hash (line 288) | def get_hash(message: bytes) -> str: method is_valid_address (line 298) | def is_valid_address(cls, address: Address) -> bool: method load_contract_interface (line 307) | def load_contract_interface(cls, file_path: Path) -> Dict[str, str]: class LedgerApi (line 316) | class LedgerApi(Helper, ABC): method api (line 323) | def api(self) -> Any: method get_balance (line 332) | def get_balance(self, address: Address) -> Optional[int]: method get_state (line 343) | def get_state( method get_transfer_transaction (line 358) | def get_transfer_transaction( method send_signed_transaction (line 380) | def send_signed_transaction(self, tx_signed: JSONLike) -> Optional[str]: method get_transaction_receipt (line 390) | def get_transaction_receipt(self, tx_digest: str) -> Optional[JSONLike]: method get_transaction (line 399) | def get_transaction(self, tx_digest: str) -> Optional[JSONLike]: method get_contract_instance (line 408) | def get_contract_instance( method get_deploy_transaction (line 420) | def get_deploy_transaction( method update_with_gas_estimate (line 436) | def update_with_gas_estimate(self, transaction: JSONLike) -> JSONLike: class FaucetApi (line 445) | class FaucetApi(ABC): method get_wealth (line 452) | def get_wealth(self, address: Address, url: Optional[str] = None) -> N... FILE: aea/crypto/helpers.py function try_validate_private_key_path (line 38) | def try_validate_private_key_path( function create_private_key (line 65) | def create_private_key( function try_generate_testnet_wealth (line 80) | def try_generate_testnet_wealth( function private_key_verify (line 96) | def private_key_verify( function make_certificate (line 140) | def make_certificate( function get_wallet_from_agent_config (line 166) | def get_wallet_from_agent_config( class DecryptError (line 188) | class DecryptError(ValueError): method __init__ (line 193) | def __init__(self, msg: Optional[str] = None) -> None: class KeyIsIncorrect (line 198) | class KeyIsIncorrect(ValueError): function hex_to_bytes_for_key (line 202) | def hex_to_bytes_for_key(data: str) -> bytes: FILE: aea/crypto/ledger_apis.py class LedgerApis (line 74) | class LedgerApis: method has_ledger (line 80) | def has_ledger(identifier: str) -> bool: method get_api (line 85) | def get_api(cls, identifier: str) -> LedgerApi: method get_balance (line 95) | def get_balance(cls, identifier: str, address: str) -> Optional[int]: method get_transfer_transaction (line 112) | def get_transfer_transaction( method send_signed_transaction (line 151) | def send_signed_transaction(cls, identifier: str, tx_signed: Any) -> O... method get_transaction_receipt (line 168) | def get_transaction_receipt(cls, identifier: str, tx_digest: str) -> O... method get_transaction (line 185) | def get_transaction(cls, identifier: str, tx_digest: str) -> Optional[... method get_contract_address (line 202) | def get_contract_address(identifier: str, tx_receipt: Any) -> Optional... method is_transaction_settled (line 219) | def is_transaction_settled(identifier: str, tx_receipt: Any) -> bool: method is_transaction_valid (line 236) | def is_transaction_valid( method generate_tx_nonce (line 264) | def generate_tx_nonce(identifier: str, seller: Address, client: Addres... method recover_message (line 282) | def recover_message( method get_hash (line 308) | def get_hash(identifier: str, message: bytes) -> str: method is_valid_address (line 326) | def is_valid_address(identifier: str, address: Address) -> bool: FILE: aea/crypto/plugin.py class Plugin (line 47) | class Plugin: method __init__ (line 52) | def __init__(self, group: str, entry_point: EntryPoint): method _check_consistency (line 63) | def _check_consistency(self) -> None: method name (line 96) | def name(self) -> str: method group (line 101) | def group(self) -> str: method attr (line 106) | def attr(self) -> str: method entry_point_path (line 111) | def entry_point_path(self) -> str: function _check_no_duplicates (line 117) | def _check_no_duplicates(plugins: List[EntryPoint]) -> None: function _get_plugins (line 125) | def _get_plugins(group: str) -> List[Plugin]: function _get_cryptos (line 137) | def _get_cryptos() -> List[Plugin]: function _get_ledger_apis (line 142) | def _get_ledger_apis() -> List[Plugin]: function _get_faucet_apis (line 147) | def _get_faucet_apis() -> List[Plugin]: function _iter_plugins (line 152) | def _iter_plugins() -> Iterator[Plugin]: function _register_plugin (line 160) | def _register_plugin(plugin: Plugin, is_raising_exception: bool = True) ... function load_all_plugins (line 170) | def load_all_plugins(is_raising_exception: bool = True) -> None: FILE: aea/crypto/registries/base.py function _handle_malformed_string (line 38) | def _handle_malformed_string(class_name: str, malformed_id: str) -> None: class ItemId (line 46) | class ItemId(RegexConstrainedString): method name (line 52) | def name(self) -> str: method _handle_no_match (line 56) | def _handle_no_match(self) -> None: class EntryPoint (line 60) | class EntryPoint(Generic[ItemType], RegexConstrainedString): method __init__ (line 75) | def __init__(self, seq: Union["EntryPoint", str]) -> None: method import_path (line 89) | def import_path(self) -> str: method class_name (line 94) | def class_name(self) -> str: method _handle_no_match (line 98) | def _handle_no_match(self) -> None: method load (line 101) | def load(self) -> Type[ItemType]: class ItemSpec (line 113) | class ItemSpec(Generic[ItemType]): method __init__ (line 116) | def __init__( method make (line 136) | def make(self, **kwargs: Any) -> ItemType: method get_class (line 149) | def get_class(self) -> Type[ItemType]: class Registry (line 161) | class Registry(Generic[ItemType]): method __init__ (line 164) | def __init__(self) -> None: method supported_ids (line 169) | def supported_ids(self) -> Set[str]: method register (line 173) | def register( method make (line 196) | def make( method make_cls (line 220) | def make_cls( method has_spec (line 243) | def has_spec(self, item_id: ItemId) -> bool: method _get_spec (line 252) | def _get_spec( FILE: aea/crypto/wallet.py class CryptoStore (line 33) | class CryptoStore: method __init__ (line 38) | def __init__( method public_keys (line 70) | def public_keys(self) -> Dict[str, str]: method crypto_objects (line 75) | def crypto_objects(self) -> Dict[str, Crypto]: method addresses (line 80) | def addresses(self) -> Dict[str, str]: method private_keys (line 85) | def private_keys(self) -> Dict[str, str]: class Wallet (line 90) | class Wallet: method __init__ (line 101) | def __init__( method public_keys (line 120) | def public_keys(self) -> Dict[str, str]: method crypto_objects (line 125) | def crypto_objects(self) -> Dict[str, Crypto]: method addresses (line 130) | def addresses(self) -> Dict[str, str]: method private_keys (line 135) | def private_keys(self) -> Dict[str, str]: method main_cryptos (line 140) | def main_cryptos(self) -> CryptoStore: method connection_cryptos (line 145) | def connection_cryptos(self) -> CryptoStore: method sign_message (line 149) | def sign_message( method sign_transaction (line 170) | def sign_transaction(self, crypto_id: str, transaction: Any) -> Option... FILE: aea/decision_maker/base.py function _hash (line 38) | def _hash(access_code: str) -> str: class OwnershipState (line 49) | class OwnershipState(ABC): method set (line 53) | def set(self, **kwargs: Any) -> None: method apply_delta (line 61) | def apply_delta(self, **kwargs: Any) -> None: method is_initialized (line 72) | def is_initialized(self) -> bool: method is_affordable_transaction (line 76) | def is_affordable_transaction(self, terms: Terms) -> bool: method apply_transactions (line 85) | def apply_transactions(self, list_of_terms: List[Terms]) -> "Ownership... method __copy__ (line 94) | def __copy__(self) -> "OwnershipState": class Preferences (line 98) | class Preferences(ABC): method set (line 102) | def set(self, **kwargs: Any) -> None: method is_initialized (line 111) | def is_initialized(self) -> bool: method marginal_utility (line 119) | def marginal_utility(self, ownership_state: OwnershipState, **kwargs: ... method utility_diff_from_transaction (line 129) | def utility_diff_from_transaction( method __copy__ (line 141) | def __copy__(self) -> "Preferences": class ProtectedQueue (line 145) | class ProtectedQueue(Queue): method __init__ (line 148) | def __init__(self, access_code: str) -> None: method put (line 157) | def put( # pylint: disable=arguments-differ,arguments-renamed method put_nowait (line 183) | def put_nowait( # pylint: disable=arguments-differ,arguments-renamed method get (line 198) | def get(self, block: bool = True, timeout: Optional[float] = None) -> ... method get_nowait (line 208) | def get_nowait(self) -> None: method protected_get (line 216) | def protected_get( class DecisionMakerHandler (line 236) | class DecisionMakerHandler(WithLogger, ABC): method __init__ (line 243) | def __init__( method agent_name (line 263) | def agent_name(self) -> str: method identity (line 268) | def identity(self) -> Identity: method wallet (line 273) | def wallet(self) -> Wallet: method config (line 278) | def config(self) -> Dict[str, Any]: method context (line 283) | def context(self) -> SimpleNamespace: method message_out_queue (line 288) | def message_out_queue(self) -> AsyncFriendlyQueue: method handle (line 293) | def handle(self, message: Message) -> None: class DecisionMaker (line 301) | class DecisionMaker(WithLogger): method __init__ (line 314) | def __init__( method agent_name (line 335) | def agent_name(self) -> str: method message_in_queue (line 340) | def message_in_queue(self) -> ProtectedQueue: method message_out_queue (line 345) | def message_out_queue(self) -> AsyncFriendlyQueue: method decision_maker_handler (line 350) | def decision_maker_handler(self) -> DecisionMakerHandler: method start (line 354) | def start(self) -> None: method stop (line 367) | def stop(self) -> None: method execute (line 377) | def execute(self) -> None: method handle (line 400) | def handle(self, message: Message) -> None: FILE: aea/decision_maker/default.py class DecisionMakerHandler (line 33) | class DecisionMakerHandler(BaseDecisionMakerHandler): class SigningDialogues (line 45) | class SigningDialogues(BaseSigningDialogues): method __init__ (line 48) | def __init__(self, self_address: Address, **kwargs: Any) -> None: method __init__ (line 88) | def __init__( method handle (line 109) | def handle(self, message: Message) -> None: method _handle_signing_message (line 124) | def _handle_signing_message(self, signing_msg: SigningMessage) -> None: method _handle_message_signing (line 155) | def _handle_message_signing( method _handle_transaction_signing (line 188) | def _handle_transaction_signing( FILE: aea/decision_maker/gop.py class GoalPursuitReadiness (line 51) | class GoalPursuitReadiness: class Status (line 56) | class Status(Enum): method __init__ (line 69) | def __init__(self) -> None: method is_ready (line 74) | def is_ready(self) -> bool: method update (line 78) | def update(self, new_status: Status) -> None: class OwnershipState (line 87) | class OwnershipState(BaseOwnershipState): method __init__ (line 92) | def __init__(self) -> None: method set (line 97) | def set( # pylint: disable=arguments-differ,arguments-renamed method apply_delta (line 122) | def apply_delta( # pylint: disable=arguments-differ,arguments-renamed method is_initialized (line 171) | def is_initialized(self) -> bool: method amount_by_currency_id (line 179) | def amount_by_currency_id(self) -> CurrencyHoldings: method quantities_by_good_id (line 186) | def quantities_by_good_id(self) -> GoodHoldings: method is_affordable_transaction (line 192) | def is_affordable_transaction(self, terms: Terms) -> bool: method is_affordable (line 227) | def is_affordable(self, terms: Terms) -> bool: method update (line 243) | def update(self, terms: Terms) -> None: method apply_transactions (line 259) | def apply_transactions(self, list_of_terms: List[Terms]) -> "Ownership... method __copy__ (line 272) | def __copy__(self) -> "OwnershipState": class Preferences (line 281) | class Preferences(BasePreferences): method __init__ (line 286) | def __init__(self) -> None: method set (line 291) | def set( # pylint: disable=arguments-differ,arguments-renamed method is_initialized (line 317) | def is_initialized(self) -> bool: method exchange_params_by_currency_id (line 328) | def exchange_params_by_currency_id(self) -> ExchangeParams: method utility_params_by_good_id (line 335) | def utility_params_by_good_id(self) -> UtilityParams: method logarithmic_utility (line 341) | def logarithmic_utility(self, quantities_by_good_id: GoodHoldings) -> ... method linear_utility (line 355) | def linear_utility(self, amount_by_currency_id: CurrencyHoldings) -> f... method utility (line 368) | def utility( method marginal_utility (line 386) | def marginal_utility( # pylint: disable=arguments-differ,arguments-re... method utility_diff_from_transaction (line 432) | def utility_diff_from_transaction( method is_utility_enhancing (line 456) | def is_utility_enhancing( method __copy__ (line 477) | def __copy__(self) -> "Preferences": class DecisionMakerHandler (line 488) | class DecisionMakerHandler(BaseDecisionMakerHandler): class SigningDialogues (line 514) | class SigningDialogues(BaseSigningDialogues): method __init__ (line 517) | def __init__(self, self_address: Address, **kwargs: Any) -> None: class StateUpdateDialogues (line 552) | class StateUpdateDialogues(BaseStateUpdateDialogues): method __init__ (line 555) | def __init__(self, self_address: Address, **kwargs: Any) -> None: method __init__ (line 592) | def __init__( method handle (line 615) | def handle(self, message: Message) -> None: method _handle_signing_message (line 632) | def _handle_signing_message(self, signing_msg: SigningMessage) -> None: method _handle_message_signing (line 671) | def _handle_message_signing( method _handle_transaction_signing (line 705) | def _handle_transaction_signing( method _is_acceptable_for_signing (line 735) | def _is_acceptable_for_signing(self, signing_msg: SigningMessage) -> b... method _handle_state_update_message (line 747) | def _handle_state_update_message( FILE: aea/decision_maker/scaffold.py class DecisionMakerHandler (line 30) | class DecisionMakerHandler(BaseDecisionMakerHandler): method __init__ (line 33) | def __init__( method handle (line 55) | def handle(self, message: Message) -> None: FILE: aea/error_handler/base.py class AbstractErrorHandler (line 27) | class AbstractErrorHandler(ABC): method __init__ (line 32) | def __init__(self, **kwargs: Any): method config (line 37) | def config(self) -> Dict[str, Any]: method send_unsupported_protocol (line 42) | def send_unsupported_protocol(self, envelope: Envelope, logger: Logger... method send_decoding_error (line 52) | def send_decoding_error( method send_no_active_handler (line 65) | def send_no_active_handler( FILE: aea/error_handler/default.py class ErrorHandler (line 29) | class ErrorHandler(AbstractErrorHandler): method __init__ (line 38) | def __init__(self, **kwargs: Any): method send_unsupported_protocol (line 45) | def send_unsupported_protocol(self, envelope: Envelope, logger: Logger... method send_decoding_error (line 57) | def send_decoding_error( method send_no_active_handler (line 72) | def send_no_active_handler( FILE: aea/error_handler/scaffold.py class ErrorHandler (line 27) | class ErrorHandler(AbstractErrorHandler): method send_unsupported_protocol (line 30) | def send_unsupported_protocol(self, envelope: Envelope, logger: Logger... method send_decoding_error (line 39) | def send_decoding_error( method send_no_active_handler (line 51) | def send_no_active_handler( FILE: aea/exceptions.py class AEAException (line 26) | class AEAException(Exception): class AEAPackageLoadingError (line 30) | class AEAPackageLoadingError(AEAException): class AEASetupError (line 34) | class AEASetupError(AEAException): class AEATeardownError (line 38) | class AEATeardownError(AEAException): class AEAActException (line 42) | class AEAActException(AEAException): class AEAHandleException (line 46) | class AEAHandleException(AEAException): class AEAInstantiationException (line 50) | class AEAInstantiationException(AEAException): class AEAPluginError (line 54) | class AEAPluginError(AEAException): class AEAEnforceError (line 58) | class AEAEnforceError(AEAException): class AEAValidationError (line 62) | class AEAValidationError(AEAException): class AEAComponentLoadException (line 66) | class AEAComponentLoadException(AEAException): class AEAWalletNoAddressException (line 70) | class AEAWalletNoAddressException(AEAException): class _StopRuntime (line 74) | class _StopRuntime(Exception): method __init__ (line 82) | def __init__(self, reraise: Optional[Exception] = None) -> None: function enforce (line 92) | def enforce( function parse_exception (line 108) | def parse_exception(exception: Exception, limit: int = -1) -> str: FILE: aea/helpers/acn/agent_record.py class AgentRecord (line 28) | class AgentRecord: method __init__ (line 44) | def __init__( method _check_validity (line 84) | def _check_validity(self) -> str: method address (line 113) | def address(self) -> str: method public_key (line 118) | def public_key(self) -> str: method representative_public_key (line 123) | def representative_public_key(self) -> str: method signature (line 128) | def signature(self) -> str: method message (line 133) | def message(self) -> bytes: method identifier (line 138) | def identifier(self) -> SimpleIdOrStr: method ledger_id (line 143) | def ledger_id(self) -> SimpleIdOrStr: method not_before (line 148) | def not_before(self) -> str: method not_after (line 153) | def not_after(self) -> str: method message_format (line 158) | def message_format(self) -> str: method __str__ (line 162) | def __str__(self) -> str: # pragma: no cover method from_cert_request (line 167) | def from_cert_request( FILE: aea/helpers/acn/uri.py class Uri (line 26) | class Uri: method __init__ (line 31) | def __init__( method __str__ (line 49) | def __str__(self) -> str: method __repr__ (line 53) | def __repr__(self) -> str: # pragma: no cover method host (line 58) | def host(self) -> str: method port (line 63) | def port(self) -> int: FILE: aea/helpers/async_friendly_queue.py class AsyncFriendlyQueue (line 28) | class AsyncFriendlyQueue(queue.Queue): method __init__ (line 31) | def __init__(self, *args: Any, **kwargs: Any) -> None: method put (line 36) | def put( # pylint: disable=signature-differs method _set_waiter (line 54) | def _set_waiter(waiter: Any) -> None: method get (line 60) | def get( # pylint: disable=signature-differs method async_wait (line 72) | async def async_wait(self) -> None: method async_get (line 90) | async def async_get(self) -> Any: FILE: aea/helpers/async_utils.py function ensure_list (line 60) | def ensure_list(value: Any) -> List: class AsyncState (line 74) | class AsyncState: method __init__ (line 77) | def __init__( method set (line 90) | def set(self, state: Any) -> None: method add_callback (line 103) | def add_callback(self, callback_fn: Callable[[Any], None]) -> None: method get (line 111) | def get(self) -> Any: method _state_changed (line 115) | def _state_changed(self, state: Any) -> None: method _remove_watcher (line 132) | def _remove_watcher(self, watcher: Future) -> None: method _watcher_result_callback (line 140) | def _watcher_result_callback(watcher: Future) -> Callable: method wait (line 150) | async def wait(self, state_or_states: Union[Any, Sequence[Any]]) -> Tu... method transit (line 171) | def transit( class PeriodicCaller (line 194) | class PeriodicCaller: method __init__ (line 201) | def __init__( method _callback (line 225) | def _callback(self) -> None: method _schedule_call (line 236) | def _schedule_call(self) -> None: method start (line 245) | def start(self) -> None: method stop (line 252) | def stop(self) -> None: class AnotherThreadTask (line 261) | class AnotherThreadTask: method __init__ (line 268) | def __init__(self, coro: Coroutine[Any, Any, Any], loop: AbstractEvent... method _get_task_result (line 280) | async def _get_task_result(self) -> Any: method result (line 289) | def result(self, timeout: Optional[float] = None) -> Any: method cancel (line 298) | def cancel(self) -> None: method done (line 305) | def done(self) -> bool: class ThreadedAsyncRunner (line 310) | class ThreadedAsyncRunner(Thread): method __init__ (line 313) | def __init__(self, loop: Optional[AbstractEventLoop] = None) -> None: method start (line 324) | def start(self) -> None: method run (line 331) | def run(self) -> None: method call (line 338) | def call(self, coro: Coroutine[Any, Any, Any]) -> Any: method stop (line 347) | def stop(self) -> None: class Runnable (line 367) | class Runnable(ABC): method __init__ (line 376) | def __init__( method start (line 398) | def start(self) -> bool: method _thread_target (line 431) | def _thread_target(self) -> None: method _set_loop (line 444) | def _set_loop(self) -> None: method _set_task (line 455) | def _set_task(self) -> None: method _run_wrapper (line 462) | async def _run_wrapper(self) -> None: method is_running (line 476) | def is_running(self) -> bool: # pragma: nocover method run (line 481) | async def run(self) -> Any: method wait_completed (line 484) | def wait_completed( method _wait_sync (line 508) | def _wait_sync(self, timeout: Optional[float] = None) -> None: method _wait_async (line 532) | def _wait_async(self, timeout: Optional[float] = None) -> Awaitable: method _wait (line 563) | async def _wait(self) -> None: method stop (line 576) | def stop(self, force: bool = False) -> None: method _task_cancel (line 588) | def _task_cancel(self, force: bool = False) -> None: method start_and_wait_completed (line 599) | def start_and_wait_completed( FILE: aea/helpers/base.py function _get_module (line 71) | def _get_module(spec: ModuleSpec) -> Optional[types.ModuleType]: function locate (line 81) | def locate(path: str) -> Any: function load_module (line 118) | def load_module(dotted_path: str, filepath: Path) -> types.ModuleType: function load_env_file (line 136) | def load_env_file(env_file: str) -> None: function sigint_crossplatform (line 145) | def sigint_crossplatform(process: subprocess.Popen) -> None: # pragma: ... function win_popen_kwargs (line 166) | def win_popen_kwargs() -> dict: function send_control_c (line 186) | def send_control_c( class RegexConstrainedString (line 206) | class RegexConstrainedString(UserString): method __init__ (line 217) | def __init__(self, seq: Union[UserString, str]) -> None: method _handle_no_match (line 224) | def _handle_no_match(self) -> None: class SimpleId (line 232) | class SimpleId(RegexConstrainedString): function cd (line 270) | def cd(path: PathLike) -> Generator: # pragma: nocover function get_logger_method (line 280) | def get_logger_method(fn: Callable, logger_method: Union[str, Callable])... function try_decorator (line 300) | def try_decorator( class MaxRetriesError (line 333) | class MaxRetriesError(Exception): function retry_decorator (line 337) | def retry_decorator( function exception_log_and_reraise (line 376) | def exception_log_and_reraise(log_method: Callable, message: str) -> Gen... function _is_dict_like (line 391) | def _is_dict_like(obj: Any) -> bool: function recursive_update (line 401) | def recursive_update( function _get_aea_logger_name_prefix (line 451) | def _get_aea_logger_name_prefix(module_name: str, agent_name: str) -> str: function find_topological_order (line 476) | def find_topological_order(adjacency_list: Dict[T, Set[T]]) -> List[T]: function reachable_nodes (line 520) | def reachable_nodes( class cached_property (line 557) | class cached_property: # pragma: nocover method __init__ (line 560) | def __init__(self, func: Callable) -> None: method __set_name__ (line 567) | def __set_name__(self, _: Any, name: Any) -> None: method __get__ (line 577) | def __get__(self, instance: Any, _: Optional[Any] = None) -> Any: function ensure_dir (line 611) | def ensure_dir(dir_path: str) -> None: function dict_to_path_value (line 619) | def dict_to_path_value( function parse_datetime_from_str (line 633) | def parse_datetime_from_str(date_string: str) -> datetime.datetime: class CertRequest (line 640) | class CertRequest: method __init__ (line 643) | def __init__( method _parse_datetime (line 679) | def _parse_datetime(cls, obj: Union[str, datetime.datetime]) -> dateti... method _check_validation_boundaries (line 696) | def _check_validation_boundaries(self) -> None: method _parse_public_key (line 708) | def _parse_public_key(self, public_key_str: str) -> None: method public_key (line 735) | def public_key(self) -> Optional[str]: method ledger_id (line 740) | def ledger_id(self) -> str: method key_identifier (line 745) | def key_identifier(self) -> Optional[str]: method identifier (line 750) | def identifier(self) -> str: method not_before_string (line 755) | def not_before_string(self) -> str: method not_after_string (line 760) | def not_after_string(self) -> str: method not_before (line 765) | def not_before(self) -> datetime.datetime: method not_after (line 770) | def not_after(self) -> datetime.datetime: method message_format (line 775) | def message_format(self) -> str: method save_path (line 780) | def save_path(self) -> Path: method get_absolute_save_path (line 791) | def get_absolute_save_path(self, path_prefix: Optional[PathLike] = Non... method public_key_or_identifier (line 811) | def public_key_or_identifier(self) -> str: method get_message (line 825) | def get_message(self, public_key: str) -> bytes: method construct_message (line 837) | def construct_message( method get_signature (line 863) | def get_signature(self, path_prefix: Optional[PathLike] = None) -> str: method json (line 882) | def json(self) -> Dict: method from_json (line 896) | def from_json(cls, obj: Dict) -> "CertRequest": method __eq__ (line 903) | def __eq__(self, other: Any) -> bool: function compute_specifier_from_version (line 918) | def compute_specifier_from_version(version: Version) -> str: function decorator_with_optional_params (line 943) | def decorator_with_optional_params(decorator: Callable) -> Callable: function delete_directory_contents (line 977) | def delete_directory_contents(directory: Path) -> None: function prepend_if_not_absolute (line 987) | def prepend_if_not_absolute(path: PathLike, prefix: PathLike) -> PathLike: FILE: aea/helpers/env_vars.py function is_env_variable (line 34) | def is_env_variable(value: Any) -> bool: function replace_with_env_var (line 42) | def replace_with_env_var( function apply_env_variables (line 72) | def apply_env_variables( function convert_value_str_to_type (line 98) | def convert_value_str_to_type(value: str, type_str: str) -> JSON_TYPES: FILE: aea/helpers/exception_policy.py class ExceptionPolicyEnum (line 24) | class ExceptionPolicyEnum(Enum): FILE: aea/helpers/exec_timeout.py class TimeoutResult (line 37) | class TimeoutResult: method __init__ (line 40) | def __init__(self) -> None: method set_cancelled_by_timeout (line 44) | def set_cancelled_by_timeout(self) -> None: method is_cancelled_by_timeout (line 48) | def is_cancelled_by_timeout(self) -> bool: class TimeoutException (line 57) | class TimeoutException(BaseException): class BaseExecTimeout (line 65) | class BaseExecTimeout(ABC): method __init__ (line 74) | def __init__(self, timeout: float = 0.0) -> None: method _on_timeout (line 83) | def _on_timeout(self, *args: Any, **kwargs: Any) -> None: method __enter__ (line 87) | def __enter__(self) -> TimeoutResult: method __exit__ (line 98) | def __exit__( method _set_timeout_watch (line 115) | def _set_timeout_watch(self) -> None: method _remove_timeout_watch (line 124) | def _remove_timeout_watch(self) -> None: class ExecTimeoutSigAlarm (line 133) | class ExecTimeoutSigAlarm(BaseExecTimeout): # pylint: disable=too-few-p... method _set_timeout_watch (line 140) | def _set_timeout_watch(self) -> None: method _remove_timeout_watch (line 145) | def _remove_timeout_watch(self) -> None: class ExecTimeoutThreadGuard (line 150) | class ExecTimeoutThreadGuard(BaseExecTimeout): method __init__ (line 166) | def __init__(self, timeout: float = 0.0) -> None: method start (line 178) | def start(cls) -> None: method stop (line 198) | def stop(cls, force: bool = False) -> None: method _set_stopped_future (line 220) | def _set_stopped_future(cls) -> None: method _supervisor_event_loop (line 227) | def _supervisor_event_loop(cls) -> None: method _guard_task (line 237) | async def _guard_task(self) -> None: method _set_thread_exception (line 243) | def _set_thread_exception(thread_id: int, exception_class: Type[Except... method _set_timeout_watch (line 249) | def _set_timeout_watch(self) -> None: method _remove_timeout_watch (line 267) | def _remove_timeout_watch(self) -> None: FILE: aea/helpers/file_io.py function _encode (line 40) | def _encode(e: Envelope, separator: bytes = SEPARATOR) -> bytes: function _decode (line 54) | def _decode(e: bytes, separator: bytes = SEPARATOR) -> Envelope: function lock_file (line 83) | def lock_file( function write_envelope (line 104) | def write_envelope( function write_with_lock (line 116) | def write_with_lock( function envelope_from_bytes (line 125) | def envelope_from_bytes( FILE: aea/helpers/file_lock.py function lock (line 38) | def lock(file: IO, flags: int) -> None: function unlock (line 45) | def unlock(file: IO) -> None: function lock (line 56) | def lock(file: IO, flags: int) -> None: function unlock (line 60) | def unlock(file: IO) -> None: FILE: aea/helpers/http_requests.py function add_default_timeout (line 42) | def add_default_timeout(fn: Callable, timeout: float) -> Callable: FILE: aea/helpers/install_dependency.py function install_dependency (line 31) | def install_dependency( function install_dependencies (line 55) | def install_dependencies( function call_pip (line 78) | def call_pip(pip_args: List[str], timeout: float = 300, retry: bool = Fa... function run_install_subprocess (line 102) | def run_install_subprocess( FILE: aea/helpers/io.py function open_file (line 55) | def open_file( FILE: aea/helpers/ipfs/base.py function _dos2unix (line 42) | def _dos2unix(file_content: bytes) -> bytes: function _is_text (line 52) | def _is_text(file_path: str) -> bool: function _read (line 62) | def _read(file_path: str) -> bytes: function chunks (line 73) | def chunks(data: Sized, size: int) -> Generator: class IPFSHashOnly (line 79) | class IPFSHashOnly: method get (line 85) | def get(self, file_path: str) -> str: method _make_unixfs_pb2 (line 98) | def _make_unixfs_pb2(cls, data: bytes) -> bytes: method _pb_serialize_data (line 109) | def _pb_serialize_data(cls, data: bytes) -> bytes: method _pb_serialize_file (line 116) | def _pb_serialize_file(cls, data: bytes) -> bytes: method _generate_multihash_bytes (line 141) | def _generate_multihash_bytes(pb_data: bytes) -> bytes: method _generate_multihash (line 148) | def _generate_multihash(cls, pb_data: bytes) -> str: method _generate_hash (line 162) | def _generate_hash(cls, data: bytes) -> str: method _serialize (line 168) | def _serialize(cls, pb_node: PBNode) -> bytes: # type: ignore FILE: aea/helpers/ipfs/utils.py function _protobuf_python_implementation (line 27) | def _protobuf_python_implementation() -> Generator: FILE: aea/helpers/logging.py function get_logger (line 27) | def get_logger(module_path: str, agent_name: str) -> Logger: class AgentLoggerAdapter (line 33) | class AgentLoggerAdapter(LoggerAdapter): method __init__ (line 36) | def __init__(self, logger: Logger, agent_name: str) -> None: method process (line 45) | def process( class WithLogger (line 52) | class WithLogger: method __init__ (line 57) | def __init__( method logger (line 72) | def logger(self) -> Logger: method logger (line 81) | def logger(self, logger: Optional[Logger]) -> None: FILE: aea/helpers/multiaddr/base.py class IdentityHash (line 47) | class IdentityHash: method __init__ (line 52) | def __init__(self) -> None: method update (line 56) | def update(self, input_data: bytes) -> None: method digest (line 64) | def digest(self) -> bytes: function _pad_scalar (line 77) | def _pad_scalar(scalar: bytes) -> bytes: function _pad_hex (line 82) | def _pad_hex(hexed: str) -> str: function _hex_to_bytes (line 87) | def _hex_to_bytes(hexed: str) -> bytes: class MultiAddr (line 92) | class MultiAddr: method __init__ (line 95) | def __init__( method compute_peerid (line 142) | def compute_peerid(public_key: str) -> str: method from_string (line 163) | def from_string(cls, maddr: str) -> "MultiAddr": method public_key (line 177) | def public_key(self) -> str: method peer_id (line 182) | def peer_id(self) -> str: method host (line 187) | def host(self) -> str: method port (line 192) | def port(self) -> int: method format (line 196) | def format(self) -> str: method __str__ (line 200) | def __str__(self) -> str: FILE: aea/helpers/multiple_executor.py class ExecutorExceptionPolicies (line 50) | class ExecutorExceptionPolicies(Enum): class AbstractExecutorTask (line 58) | class AbstractExecutorTask(ABC): method __init__ (line 61) | def __init__(self) -> None: method future (line 66) | def future(self) -> Optional[TaskAwaitable]: method future (line 71) | def future(self, future: TaskAwaitable) -> None: method start (line 76) | def start(self) -> Tuple[Callable, Sequence[Any]]: method stop (line 80) | def stop(self) -> None: method create_async_task (line 84) | def create_async_task(self, loop: AbstractEventLoop) -> TaskAwaitable: method id (line 93) | def id(self) -> Any: # pragma: nocover method failed (line 98) | def failed(self) -> bool: class AbstractMultiprocessExecutorTask (line 121) | class AbstractMultiprocessExecutorTask(AbstractExecutorTask): method start (line 125) | def start(self) -> Tuple[Callable, Sequence[Any]]: method create_async_task (line 128) | def create_async_task( class AbstractMultipleExecutor (line 144) | class AbstractMultipleExecutor(ABC): # pragma: nocover method __init__ (line 147) | def __init__( method is_running (line 167) | def is_running(self) -> bool: method start (line 171) | def start(self) -> None: method stop (line 177) | def stop(self) -> None: method _start_tasks (line 192) | def _start_tasks(self) -> None: method _wait_tasks_complete (line 199) | async def _wait_tasks_complete( method _handle_exception (line 232) | async def _handle_exception( method _start_task (line 259) | def _start_task(self, task: AbstractExecutorTask) -> TaskAwaitable: method _set_executor_pool (line 268) | def _set_executor_pool(self) -> None: method _stop_task (line 272) | def _stop_task(task: AbstractExecutorTask) -> None: method num_failed (line 281) | def num_failed(self) -> int: # pragma: nocover method failed_tasks (line 286) | def failed_tasks(self) -> Sequence[AbstractExecutorTask]: # pragma: n... method not_failed_tasks (line 291) | def not_failed_tasks(self) -> Sequence[AbstractExecutorTask]: # pragm... class ThreadExecutor (line 296) | class ThreadExecutor(AbstractMultipleExecutor): # pragma: nocover method _set_executor_pool (line 299) | def _set_executor_pool(self) -> None: method _start_task (line 303) | def _start_task(self, task: AbstractExecutorTask) -> TaskAwaitable: class ProcessExecutor (line 315) | class ProcessExecutor(ThreadExecutor): # pragma: nocover method _set_executor_pool (line 318) | def _set_executor_pool(self) -> None: method _start_task (line 322) | def _start_task(self, task: AbstractExecutorTask) -> TaskAwaitable: class AsyncExecutor (line 335) | class AsyncExecutor(AbstractMultipleExecutor): # pragma: nocover method _set_executor_pool (line 338) | def _set_executor_pool(self) -> None: method _start_task (line 341) | def _start_task(self, task: AbstractExecutorTask) -> TaskAwaitable: class AbstractMultipleRunner (line 351) | class AbstractMultipleRunner: # pragma: nocover method __init__ (line 356) | def __init__( method is_running (line 376) | def is_running(self) -> bool: method start (line 380) | def start(self, threaded: bool = False) -> None: method stop (line 392) | def stop(self, timeout: Optional[float] = None) -> None: method _make_executor (line 402) | def _make_executor( method _make_tasks (line 417) | def _make_tasks(self) -> Sequence[AbstractExecutorTask]: method num_failed (line 421) | def num_failed(self) -> int: # pragma: nocover method failed (line 426) | def failed(self) -> Sequence[Task]: # pragma: nocover method not_failed (line 431) | def not_failed(self) -> Sequence[Task]: # pragma: nocover method try_join_thread (line 435) | def try_join_thread(self) -> None: # pragma: nocover FILE: aea/helpers/pipe.py class IPCChannelClient (line 45) | class IPCChannelClient(ABC): method connect (line 49) | async def connect(self, timeout: float = PIPE_CONN_TIMEOUT) -> bool: method write (line 58) | async def write(self, data: bytes) -> None: method read (line 68) | async def read(self) -> Optional[bytes]: method close (line 78) | async def close(self) -> None: class IPCChannel (line 82) | class IPCChannel(IPCChannelClient): method in_path (line 87) | def in_path(self) -> str: method out_path (line 96) | def out_path(self) -> str: class PosixNamedPipeProtocol (line 104) | class PosixNamedPipeProtocol: method __init__ (line 107) | def __init__( method connect (line 137) | async def connect(self, timeout: float = PIPE_CONN_TIMEOUT) -> bool: method __reader_protocol (line 185) | def __reader_protocol(self) -> asyncio.StreamReaderProtocol: method write (line 191) | async def write(self, data: bytes) -> None: method read (line 202) | async def read(self) -> Optional[bytes]: method close (line 232) | async def close(self) -> None: class TCPSocketProtocol (line 249) | class TCPSocketProtocol: method __init__ (line 252) | def __init__( method writer (line 274) | def writer(self) -> StreamWriter: method write (line 278) | async def write(self, data: bytes) -> None: method read (line 291) | async def read(self) -> Optional[bytes]: method close (line 321) | async def close(self) -> None: class TCPSocketChannel (line 333) | class TCPSocketChannel(IPCChannel): method __init__ (line 336) | def __init__( method connect (line 354) | async def connect(self, timeout: float = PIPE_CONN_TIMEOUT) -> bool: method _handle_connection (line 384) | async def _handle_connection( method write (line 395) | async def write(self, data: bytes) -> None: method read (line 405) | async def read(self) -> Optional[bytes]: method close (line 415) | async def close(self) -> None: method in_path (line 422) | def in_path(self) -> str: method out_path (line 427) | def out_path(self) -> str: class PosixNamedPipeChannel (line 432) | class PosixNamedPipeChannel(IPCChannel): method __init__ (line 435) | def __init__( method connect (line 463) | async def connect(self, timeout: float = PIPE_CONN_TIMEOUT) -> bool: method write (line 476) | async def write(self, data: bytes) -> None: method read (line 484) | async def read(self) -> Optional[bytes]: method close (line 492) | async def close(self) -> None: method in_path (line 498) | def in_path(self) -> str: method out_path (line 503) | def out_path(self) -> str: class TCPSocketChannelClient (line 508) | class TCPSocketChannelClient(IPCChannelClient): method __init__ (line 511) | def __init__( # pylint: disable=unused-argument method connect (line 541) | async def connect(self, timeout: float = PIPE_CONN_TIMEOUT) -> bool: method _open_connection (line 572) | async def _open_connection(self) -> TCPSocketProtocol: method write (line 579) | async def write(self, data: bytes) -> None: method read (line 589) | async def read(self) -> Optional[bytes]: method close (line 599) | async def close(self) -> None: class PosixNamedPipeChannelClient (line 606) | class PosixNamedPipeChannelClient(IPCChannelClient): method __init__ (line 609) | def __init__( method connect (line 633) | async def connect(self, timeout: float = PIPE_CONN_TIMEOUT) -> bool: method write (line 653) | async def write(self, data: bytes) -> None: method read (line 663) | async def read(self) -> Optional[bytes]: method close (line 673) | async def close(self) -> None: function make_ipc_channel (line 680) | def make_ipc_channel( function make_ipc_channel_client (line 699) | def make_ipc_channel_client( FILE: aea/helpers/preference_representations/base.py function logarithmic_utility (line 28) | def logarithmic_utility( function linear_utility (line 55) | def linear_utility( FILE: aea/helpers/profiling.py function get_current_process_memory_usage (line 47) | def get_current_process_memory_usage() -> float: function get_current_process_cpu_time (line 52) | def get_current_process_cpu_time() -> float: function get_current_process_memory_usage (line 63) | def get_current_process_memory_usage() -> float: function get_current_process_cpu_time (line 72) | def get_current_process_cpu_time() -> float: class Profiling (line 77) | class Profiling(Runnable): method __init__ (line 80) | def __init__( method set_counters (line 105) | def set_counters(self) -> None: method run (line 126) | async def run(self) -> None: method output_profile_data (line 139) | def output_profile_data(self) -> None: method get_profile_data (line 165) | def get_profile_data(self) -> Dict: method get_objects_instances (line 179) | def get_objects_instances(self) -> Dict: method get_objecst_created (line 193) | def get_objecst_created(self) -> Dict: FILE: aea/helpers/search/generic.py class GenericDataModel (line 31) | class GenericDataModel(DataModel): # pylint: disable=too-few-public-met... method __init__ (line 34) | def __init__( FILE: aea/helpers/search/models.py class Location (line 96) | class Location: method __init__ (line 101) | def __init__(self, latitude: float, longitude: float) -> None: method tuple (line 112) | def tuple(self) -> Tuple[float, float]: method distance (line 116) | def distance(self, other: "Location") -> float: method __eq__ (line 125) | def __eq__(self, other: Any) -> bool: method __str__ (line 131) | def __str__(self) -> str: method encode (line 137) | def encode(self) -> models_pb2.Query.Location: # type: ignore method decode (line 149) | def decode(cls, location_pb: Any) -> "Location": class AttributeInconsistencyException (line 168) | class AttributeInconsistencyException(Exception): class Attribute (line 177) | class Attribute: method __init__ (line 190) | def __init__( method __eq__ (line 210) | def __eq__(self, other: Any) -> bool: method __str__ (line 219) | def __str__(self) -> str: method encode (line 225) | def encode(self) -> models_pb2.Query.Attribute: # type: ignore method decode (line 240) | def decode(cls, attribute_pb: models_pb2.Query.Attribute) -> "Attribut... class DataModel (line 256) | class DataModel: method __init__ (line 261) | def __init__( method attributes_by_name (line 279) | def attributes_by_name(self) -> Dict[str, Attribute]: method _check_validity (line 283) | def _check_validity(self) -> None: method __eq__ (line 293) | def __eq__(self, other: Any) -> bool: method __str__ (line 301) | def __str__(self) -> str: method encode (line 307) | def encode(self) -> models_pb2.Query.DataModel: # type: ignore method decode (line 321) | def decode(cls, data_model_pb: Any) -> "DataModel": function generate_data_model (line 334) | def generate_data_model( class Description (line 353) | class Description: method __init__ (line 358) | def __init__( method values (line 380) | def values(self) -> Dict: method __eq__ (line 384) | def __eq__(self, other: Any) -> bool: method __iter__ (line 392) | def __iter__(self) -> Iterator: method _check_consistency (line 396) | def _check_consistency(self) -> None: method __str__ (line 454) | def __str__(self) -> str: method _to_key_value_pb (line 461) | def _to_key_value_pb(key: str, value: ATTRIBUTE_TYPES) -> models_pb2.Q... method _encode (line 486) | def _encode(self) -> models_pb2.Query.Instance: # type: ignore method encode (line 500) | def encode(cls, description_pb: Any, description: "Description") -> None: method _extract_value (line 515) | def _extract_value(value: models_pb2.Query.Value) -> ATTRIBUTE_TYPES: ... method _decode (line 542) | def _decode(cls, description_pb: Any) -> "Description": method decode (line 556) | def decode(cls, description_pb: Any) -> "Description": class ConstraintTypes (line 572) | class ConstraintTypes(Enum): method __str__ (line 586) | def __str__(self) -> str: # pragma: nocover class ConstraintType (line 591) | class ConstraintType: method __init__ (line 613) | def __init__(self, type_: Union[ConstraintTypes, str], value: Any) -> ... method check_validity (line 627) | def check_validity(self) -> bool: method is_valid (line 732) | def is_valid(self, attribute: Attribute) -> bool: method get_data_type (line 760) | def get_data_type(self) -> Type[ATTRIBUTE_TYPES]: method check (line 778) | def check(self, value: ATTRIBUTE_TYPES) -> bool: method __eq__ (line 816) | def __eq__(self, other: Any) -> bool: method __str__ (line 824) | def __str__(self) -> str: method encode (line 828) | def encode(self) -> Optional[Any]: method decode (line 936) | def decode(cls, constraint_type_pb: Any, category: str) -> "Constraint... class ConstraintExpr (line 1048) | class ConstraintExpr(ABC): method check (line 1052) | def check(self, description: Description) -> bool: method is_valid (line 1061) | def is_valid(self, data_model: DataModel) -> bool: method check_validity (line 1072) | def check_validity( # noqa: B027 method _encode (line 1082) | def _encode(expression: Any) -> models_pb2.Query.ConstraintExpr: # ty... method _decode (line 1107) | def _decode(constraint_expression_pb: Any) -> "ConstraintExpr": class And (line 1134) | class And(ConstraintExpr): method __init__ (line 1139) | def __init__(self, constraints: List[ConstraintExpr]) -> None: method check (line 1148) | def check(self, description: Description) -> bool: method is_valid (line 1157) | def is_valid(self, data_model: DataModel) -> bool: method check_validity (line 1166) | def check_validity(self) -> None: method __eq__ (line 1181) | def __eq__(self, other: Any) -> bool: # pragma: nocover method encode (line 1185) | def encode(self) -> models_pb2.Query.ConstraintExpr.And: # type: ignore method decode (line 1199) | def decode(cls, and_pb: Any) -> "And": class Or (line 1210) | class Or(ConstraintExpr): method __init__ (line 1215) | def __init__(self, constraints: List[ConstraintExpr]) -> None: method check (line 1224) | def check(self, description: Description) -> bool: method is_valid (line 1233) | def is_valid(self, data_model: DataModel) -> bool: method check_validity (line 1242) | def check_validity(self) -> None: method __eq__ (line 1257) | def __eq__(self, other: Any) -> bool: # pragma: nocover method encode (line 1261) | def encode(self) -> models_pb2.Query.ConstraintExpr.Or: # type: ignore method decode (line 1275) | def decode(cls, or_pb: Any) -> "Or": class Not (line 1286) | class Not(ConstraintExpr): method __init__ (line 1291) | def __init__(self, constraint: ConstraintExpr) -> None: method check (line 1299) | def check(self, description: Description) -> bool: method is_valid (line 1308) | def is_valid(self, data_model: DataModel) -> bool: method __eq__ (line 1317) | def __eq__(self, other: Any) -> bool: # pragma: nocover method encode (line 1321) | def encode(self) -> models_pb2.Query.ConstraintExpr.Not: # type: ignore method decode (line 1333) | def decode(cls, not_pb: Any) -> "Not": class Constraint (line 1344) | class Constraint(ConstraintExpr): method __init__ (line 1349) | def __init__(self, attribute_name: str, constraint_type: ConstraintTyp... method check (line 1359) | def check(self, description: Description) -> bool: method is_valid (line 1423) | def is_valid(self, data_model: DataModel) -> bool: method __eq__ (line 1437) | def __eq__(self, other: Any) -> bool: method __str__ (line 1445) | def __str__(self) -> str: method encode (line 1451) | def encode(self) -> models_pb2.Query.ConstraintExpr.Constraint: # typ... method decode (line 1482) | def decode(cls, constraint_pb: Any) -> "Constraint": class Query (line 1506) | class Query: method __init__ (line 1511) | def __init__( method check (line 1524) | def check(self, description: Description) -> bool: method is_valid (line 1535) | def is_valid(self, data_model: Optional[DataModel]) -> bool: method check_validity (line 1547) | def check_validity(self) -> None: method __eq__ (line 1572) | def __eq__(self, other: Any) -> bool: method __str__ (line 1580) | def __str__(self) -> str: method _encode (line 1586) | def _encode(self) -> models_pb2.Query.Model: # type: ignore method encode (line 1604) | def encode(cls, query_pb: Any, query: "Query") -> None: method _decode (line 1619) | def _decode(cls, query_pb: Any) -> "Query": method decode (line 1638) | def decode(cls, query_pb: Any) -> "Query": function haversine (line 1654) | def haversine(lat1: float, lon1: float, lat2: float, lon2: float) -> float: FILE: aea/helpers/serializers.py class DictProtobufStructSerializer (line 27) | class DictProtobufStructSerializer: method encode (line 38) | def encode(cls, dictionary: Dict[str, Any]) -> bytes: method decode (line 58) | def decode(cls, buffer: bytes) -> Dict[str, Any]: method _bytes_to_str (line 67) | def _bytes_to_str(cls, value: bytes) -> str: method _str_to_bytes (line 71) | def _str_to_bytes(cls, value: str) -> bytes: method _patch_dict (line 75) | def _patch_dict(cls, dictionnary: Dict[str, Any]) -> None: method _patch_value (line 89) | def _patch_value(cls, value: Any) -> Tuple[Any, bool]: method _restore_value (line 123) | def _restore_value(cls, value: Any) -> Any: method _patch_dict_restore (line 147) | def _patch_dict_restore(cls, dictionary: Dict[str, Any]) -> None: FILE: aea/helpers/storage/backends/base.py class AbstractStorageBackend (line 31) | class AbstractStorageBackend(ABC): method __init__ (line 36) | def __init__(self, uri: str) -> None: method _check_collection_name (line 40) | def _check_collection_name(self, collection_name: str) -> None: method connect (line 53) | async def connect(self) -> None: method disconnect (line 57) | async def disconnect(self) -> None: method ensure_collection (line 61) | async def ensure_collection(self, collection_name: str) -> None: method put (line 70) | async def put( method get (line 83) | async def get(self, collection_name: str, object_id: str) -> Optional[... method remove (line 94) | async def remove(self, collection_name: str, object_id: str) -> None: method find (line 105) | async def find( method list (line 119) | async def list(self, collection_name: str) -> List[OBJECT_ID_AND_BODY]: FILE: aea/helpers/storage/backends/sqlite.py class SqliteStorageBackend (line 40) | class SqliteStorageBackend(AbstractStorageBackend): method __init__ (line 43) | def __init__(self, uri: str) -> None: method _execute_sql_sync (line 53) | def _execute_sql_sync(self, query: str, args: Optional[List] = None) -... method _executute_sql (line 69) | async def _executute_sql( method connect (line 86) | async def connect(self) -> None: method _do_connect (line 94) | def _do_connect(fname: str) -> sqlite3.Connection: method disconnect (line 108) | async def disconnect(self) -> None: method ensure_collection (line 116) | async def ensure_collection(self, collection_name: str) -> None: method put (line 129) | async def put( method get (line 145) | async def get(self, collection_name: str, object_id: str) -> Optional[... method remove (line 167) | async def remove(self, collection_name: str, object_id: str) -> None: method find (line 178) | async def find( method list (line 198) | async def list(self, collection_name: str) -> List[OBJECT_ID_AND_BODY]: FILE: aea/helpers/storage/generic_storage.py class AsyncCollection (line 37) | class AsyncCollection: method __init__ (line 40) | def __init__( method put (line 52) | async def put(self, object_id: str, object_body: JSON_TYPES) -> None: method get (line 65) | async def get(self, object_id: str) -> Optional[JSON_TYPES]: method remove (line 75) | async def remove(self, object_id: str) -> None: method find (line 85) | async def find(self, field: str, equals: EQUALS_TYPE) -> List[OBJECT_I... method list (line 96) | async def list(self) -> List[OBJECT_ID_AND_BODY]: class SyncCollection (line 105) | class SyncCollection: method __init__ (line 108) | def __init__( method _run_sync (line 120) | def _run_sync(self, coro: Coroutine) -> Any: method put (line 123) | def put(self, object_id: str, object_body: JSON_TYPES) -> None: method get (line 133) | def get(self, object_id: str) -> Optional[JSON_TYPES]: method remove (line 143) | def remove(self, object_id: str) -> None: method find (line 153) | def find(self, field: str, equals: EQUALS_TYPE) -> List[OBJECT_ID_AND_... method list (line 164) | def list(self) -> List[OBJECT_ID_AND_BODY]: class Storage (line 173) | class Storage(Runnable): method __init__ (line 176) | def __init__( method wait_connected (line 195) | async def wait_connected(self) -> None: method is_connected (line 200) | def is_connected(self) -> bool: method run (line 204) | async def run(self) -> None: method _get_backend_instance (line 217) | def _get_backend_instance(cls, uri: str) -> AbstractStorageBackend: method get_collection (line 227) | async def get_collection(self, collection_name: str) -> AsyncCollection: method get_sync_collection (line 234) | def get_sync_collection(self, collection_name: str) -> SyncCollection: method __repr__ (line 240) | def __repr__(self) -> str: FILE: aea/helpers/sym_link.py function make_symlink (line 29) | def make_symlink(link_name: str, target: str) -> None: function cd (line 44) | def cd(path: Path) -> Generator: function create_symlink (line 56) | def create_symlink(link_path: Path, target_path: Path, root_path: Path) ... FILE: aea/helpers/transaction/base.py class RawTransaction (line 35) | class RawTransaction: method __init__ (line 40) | def __init__( method _check_consistency (line 50) | def _check_consistency(self) -> None: method ledger_id (line 56) | def ledger_id(self) -> str: method body (line 61) | def body(self) -> JSONLike: method encode (line 66) | def encode( method decode (line 88) | def decode(cls, raw_transaction_protobuf_object: Any) -> "RawTransacti... method __eq__ (line 102) | def __eq__(self, other: Any) -> bool: method __str__ (line 110) | def __str__(self) -> str: class RawMessage (line 118) | class RawMessage: method __init__ (line 123) | def __init__( method _check_consistency (line 135) | def _check_consistency(self) -> None: method ledger_id (line 145) | def ledger_id(self) -> str: method body (line 150) | def body(self) -> bytes: method is_deprecated_mode (line 155) | def is_deprecated_mode(self) -> bool: method encode (line 160) | def encode( method decode (line 182) | def decode(cls, raw_message_protobuf_object: Any) -> "RawMessage": method __eq__ (line 200) | def __eq__(self, other: Any) -> bool: method __str__ (line 209) | def __str__(self) -> str: class SignedTransaction (line 218) | class SignedTransaction: method __init__ (line 223) | def __init__( method _check_consistency (line 233) | def _check_consistency(self) -> None: method ledger_id (line 239) | def ledger_id(self) -> str: method body (line 244) | def body(self) -> JSONLike: method encode (line 249) | def encode( method decode (line 271) | def decode(cls, signed_transaction_protobuf_object: Any) -> "SignedTra... method __eq__ (line 287) | def __eq__(self, other: Any) -> bool: method __str__ (line 295) | def __str__(self) -> str: class SignedMessage (line 303) | class SignedMessage: method __init__ (line 308) | def __init__( method _check_consistency (line 320) | def _check_consistency(self) -> None: method ledger_id (line 330) | def ledger_id(self) -> str: method body (line 335) | def body(self) -> str: method is_deprecated_mode (line 340) | def is_deprecated_mode(self) -> bool: method encode (line 345) | def encode( method decode (line 367) | def decode(cls, signed_message_protobuf_object: Any) -> "SignedMessage": method __eq__ (line 385) | def __eq__(self, other: Any) -> bool: method __str__ (line 394) | def __str__(self) -> str: class State (line 403) | class State: method __init__ (line 408) | def __init__(self, ledger_id: str, body: JSONLike) -> None: method _check_consistency (line 414) | def _check_consistency(self) -> None: method ledger_id (line 420) | def ledger_id(self) -> str: method body (line 425) | def body(self) -> JSONLike: method encode (line 430) | def encode(state_protobuf_object: Any, state_object: "State") -> None: method decode (line 447) | def decode(cls, state_protobuf_object: Any) -> "State": method __eq__ (line 459) | def __eq__(self, other: Any) -> bool: method __str__ (line 467) | def __str__(self) -> str: class Terms (line 472) | class Terms: method __init__ (line 493) | def __init__( method _check_consistency (line 564) | def _check_consistency(self) -> None: method id (line 639) | def id(self) -> str: method sender_hash (line 644) | def sender_hash(self) -> str: method counterparty_hash (line 649) | def counterparty_hash(self) -> str: method ledger_id (line 654) | def ledger_id(self) -> str: method sender_address (line 659) | def sender_address(self) -> Address: method counterparty_address (line 664) | def counterparty_address(self) -> Address: method counterparty_address (line 669) | def counterparty_address(self, counterparty_address: Address) -> None: method amount_by_currency_id (line 677) | def amount_by_currency_id(self) -> Dict[str, int]: method is_sender_payable_tx_fee (line 682) | def is_sender_payable_tx_fee(self) -> bool: method is_single_currency (line 687) | def is_single_currency(self) -> bool: method is_empty_currency (line 694) | def is_empty_currency(self) -> bool: method currency_id (line 699) | def currency_id(self) -> str: method sender_payable_amount (line 706) | def sender_payable_amount(self) -> int: method sender_payable_amount_incl_fee (line 721) | def sender_payable_amount_incl_fee(self) -> int: method counterparty_payable_amount (line 733) | def counterparty_payable_amount(self) -> int: method counterparty_payable_amount_incl_fee (line 748) | def counterparty_payable_amount_incl_fee(self) -> int: method quantities_by_good_id (line 760) | def quantities_by_good_id(self) -> Dict[str, int]: method good_ids (line 765) | def good_ids(self) -> List[str]: method sender_supplied_quantities (line 770) | def sender_supplied_quantities(self) -> List[int]: method counterparty_supplied_quantities (line 775) | def counterparty_supplied_quantities(self) -> List[int]: method nonce (line 780) | def nonce(self) -> str: method has_fee (line 785) | def has_fee(self) -> bool: method fee (line 790) | def fee(self) -> int: method sender_fee (line 800) | def sender_fee(self) -> int: method counterparty_fee (line 806) | def counterparty_fee(self) -> int: method fee_by_currency_id (line 812) | def fee_by_currency_id(self) -> Dict[str, int]: method kwargs (line 817) | def kwargs(self) -> JSONLike: method is_strict (line 822) | def is_strict(self) -> bool: method _get_lists (line 826) | def _get_lists(self) -> Tuple[List[str], List[int], List[int]]: method get_hash (line 842) | def get_hash( method encode (line 906) | def encode(terms_protobuf_object: Any, terms_object: "Terms") -> None: method decode (line 930) | def decode(cls, terms_protobuf_object: Any) -> "Terms": method __eq__ (line 954) | def __eq__(self, other: Any) -> bool: method __str__ (line 971) | def __str__(self) -> str: class TransactionDigest (line 986) | class TransactionDigest: method __init__ (line 991) | def __init__(self, ledger_id: str, body: str) -> None: method _check_consistency (line 997) | def _check_consistency(self) -> None: method ledger_id (line 1003) | def ledger_id(self) -> str: method body (line 1008) | def body(self) -> str: method encode (line 1013) | def encode( method decode (line 1035) | def decode(cls, transaction_digest_protobuf_object: Any) -> "Transacti... method __eq__ (line 1052) | def __eq__(self, other: Any) -> bool: method __str__ (line 1060) | def __str__(self) -> str: class TransactionReceipt (line 1067) | class TransactionReceipt: method __init__ (line 1072) | def __init__( method _check_consistency (line 1081) | def _check_consistency(self) -> None: method ledger_id (line 1088) | def ledger_id(self) -> str: method receipt (line 1093) | def receipt(self) -> JSONLike: method transaction (line 1098) | def transaction(self) -> JSONLike: method encode (line 1103) | def encode( method decode (line 1126) | def decode(cls, transaction_receipt_protobuf_object: Any) -> "Transact... method __eq__ (line 1144) | def __eq__(self, other: Any) -> bool: method __str__ (line 1153) | def __str__(self) -> str: FILE: aea/helpers/win32.py function enable_ctrl_c_support (line 29) | def enable_ctrl_c_support() -> None: # pragma: no cover FILE: aea/helpers/yaml_utils.py class _AEAYamlLoader (line 27) | class _AEAYamlLoader(yaml.SafeLoader): method __init__ (line 39) | def __init__(self, *args: Any, **kwargs: Any) -> None: method _construct_mapping (line 54) | def _construct_mapping(loader: "_AEAYamlLoader", node: MappingNode) ->... class _AEAYamlDumper (line 61) | class _AEAYamlDumper(yaml.SafeDumper): method __init__ (line 72) | def __init__(self, *args: Any, **kwargs: Any) -> None: method _dict_representer (line 85) | def _dict_representer(dumper: "_AEAYamlDumper", data: OrderedDict) -> ... function yaml_load (line 92) | def yaml_load(stream: TextIO) -> Dict[str, Any]: function yaml_load_all (line 103) | def yaml_load_all(stream: TextIO) -> List[Dict[str, Any]]: function yaml_dump (line 113) | def yaml_dump(data: Dict, stream: Optional[TextIO] = None) -> None: function yaml_dump_all (line 123) | def yaml_dump_all(data: Sequence[Dict], stream: Optional[TextIO] = None)... FILE: aea/identity/base.py class Identity (line 30) | class Identity: method __init__ (line 49) | def __init__( method default_address_key (line 120) | def default_address_key(self) -> str: method name (line 125) | def name(self) -> str: method addresses (line 130) | def addresses(self) -> Dict[str, Address]: method address (line 135) | def address(self) -> Address: method public_keys (line 140) | def public_keys(self) -> Dict[str, str]: method public_key (line 145) | def public_key(self) -> str: FILE: aea/launcher.py function load_agent (line 50) | def load_agent(agent_dir: Union[PathLike, str], password: Optional[str] ... function _set_logger (line 65) | def _set_logger( function _run_agent (line 79) | def _run_agent( class AEADirTask (line 136) | class AEADirTask(AbstractExecutorTask): method __init__ (line 139) | def __init__( method id (line 153) | def id(self) -> Union[PathLike, str]: method start (line 157) | def start(self) -> None: # type: ignore method stop (line 161) | def stop(self) -> None: method create_async_task (line 167) | def create_async_task(self, loop: AbstractEventLoop) -> TaskAwaitable: class AEADirMultiprocessTask (line 177) | class AEADirMultiprocessTask(AbstractMultiprocessExecutorTask): method __init__ (line 184) | def __init__( method id (line 205) | def id(self) -> Union[PathLike, str]: method failed (line 210) | def failed(self) -> bool: method start (line 230) | def start(self) -> Tuple[Callable, Sequence[Any]]: method stop (line 237) | def stop(self) -> None: class AEALauncher (line 253) | class AEALauncher(AbstractMultipleRunner): method __init__ (line 262) | def __init__( method _make_tasks (line 284) | def _make_tasks(self) -> Sequence[AbstractExecutorTask]: FILE: aea/mail/base.py class URI (line 36) | class URI: method __init__ (line 41) | def __init__(self, uri_raw: str) -> None: method scheme (line 52) | def scheme(self) -> str: method netloc (line 58) | def netloc(self) -> str: method path (line 64) | def path(self) -> str: method params (line 70) | def params(self) -> str: method query (line 76) | def query(self) -> str: method fragment (line 82) | def fragment(self) -> str: method username (line 88) | def username(self) -> Optional[str]: method password (line 94) | def password(self) -> Optional[str]: method host (line 100) | def host(self) -> Optional[str]: method port (line 106) | def port(self) -> Optional[int]: method __str__ (line 111) | def __str__(self) -> str: method __eq__ (line 115) | def __eq__(self, other: Any) -> bool: class EnvelopeContext (line 120) | class EnvelopeContext: method __init__ (line 125) | def __init__( method uri (line 140) | def uri(self) -> Optional[URI]: method connection_id (line 145) | def connection_id(self) -> Optional[PublicId]: method connection_id (line 150) | def connection_id(self, connection_id: PublicId) -> None: method __str__ (line 156) | def __str__(self) -> str: method __eq__ (line 160) | def __eq__(self, other: Any) -> bool: class AEAConnectionError (line 169) | class AEAConnectionError(Exception): class Empty (line 173) | class Empty(Exception): class EnvelopeSerializer (line 177) | class EnvelopeSerializer(ABC): method encode (line 181) | def encode(self, envelope: "Envelope") -> bytes: method decode (line 190) | def decode(self, envelope_bytes: bytes) -> "Envelope": class ProtobufEnvelopeSerializer (line 199) | class ProtobufEnvelopeSerializer(EnvelopeSerializer): method encode (line 202) | def encode(self, envelope: "Envelope") -> bytes: method decode (line 220) | def decode(self, envelope_bytes: bytes) -> "Envelope": class Envelope (line 263) | class Envelope: method __init__ (line 270) | def __init__( method to (line 337) | def to(self) -> Address: method to (line 342) | def to(self, to: Address) -> None: method sender (line 348) | def sender(self) -> Address: method sender (line 353) | def sender(self, sender: Address) -> None: method protocol_specification_id (line 361) | def protocol_specification_id(self) -> PublicId: method message (line 366) | def message(self) -> Union[Message, bytes]: method message (line 371) | def message(self, message: Union[Message, bytes]) -> None: method message_bytes (line 376) | def message_bytes(self) -> bytes: method context (line 383) | def context(self) -> Optional[EnvelopeContext]: method to_as_public_id (line 388) | def to_as_public_id(self) -> Optional[PublicId]: method is_sender_public_id (line 393) | def is_sender_public_id(self) -> bool: method is_to_public_id (line 398) | def is_to_public_id(self) -> bool: method is_component_to_component_message (line 403) | def is_component_to_component_message(self) -> bool: method _check_consistency (line 408) | def _check_consistency(message: Message, to: str, sender: str) -> Mess... method __eq__ (line 425) | def __eq__(self, other: Any) -> bool: method encode (line 436) | def encode( method decode (line 452) | def decode( method __str__ (line 467) | def __str__(self) -> str: FILE: aea/manager/manager.py class ProjectNotFoundError (line 50) | class ProjectNotFoundError(ValueError): class ProjectCheckError (line 54) | class ProjectCheckError(ValueError): method __init__ (line 57) | def __init__(self, msg: str, source_exception: Exception): class ProjectPackageConsistencyCheckError (line 63) | class ProjectPackageConsistencyCheckError(ValueError): method __init__ (line 66) | def __init__( method _build_error_message (line 81) | def _build_error_message(self) -> str: class BaseAgentRunTask (line 95) | class BaseAgentRunTask(ABC): method start (line 99) | def start(self) -> None: method wait (line 103) | def wait(self) -> asyncio.Future: method stop (line 107) | def stop(self) -> None: method is_running (line 112) | def is_running(self) -> bool: class AgentRunAsyncTask (line 116) | class AgentRunAsyncTask(BaseAgentRunTask): method __init__ (line 119) | def __init__(self, agent: AEA, loop: asyncio.AbstractEventLoop) -> None: method create_run_loop (line 127) | def create_run_loop(self) -> None: method start (line 130) | def start(self) -> None: method wait (line 136) | def wait(self) -> asyncio.Future: method stop (line 142) | def stop(self) -> None: method _run_wrapper (line 148) | async def _run_wrapper(self) -> None: method _set_result (line 162) | def _set_result(self, exc: Optional[BaseException]) -> None: method run (line 171) | async def run(self) -> None: method is_running (line 177) | def is_running(self) -> bool: class AgentRunThreadTask (line 182) | class AgentRunThreadTask(AgentRunAsyncTask): method __init__ (line 185) | def __init__(self, agent: AEA, loop: asyncio.AbstractEventLoop) -> None: method create_run_loop (line 190) | def create_run_loop(self) -> None: method start (line 194) | def start(self) -> None: method stop (line 202) | def stop( class AgentRunProcessTask (line 211) | class AgentRunProcessTask(BaseAgentRunTask): method __init__ (line 217) | def __init__( # pylint: disable=super-init-not-called method start (line 229) | def start(self) -> None: method _wait_for_result (line 240) | async def _wait_for_result(self) -> Any: method wait (line 254) | def wait(self) -> asyncio.Future: method _run_agent (line 262) | def _run_agent( method stop (line 303) | def stop(self) -> None: method is_running (line 318) | def is_running(self) -> bool: class MultiAgentManager (line 331) | class MultiAgentManager: method __init__ (line 344) | def __init__( method data_dir (line 414) | def data_dir(self) -> str: method get_data_dir_of_agent (line 418) | def get_data_dir_of_agent(self, agent_name: str) -> str: method is_running (line 423) | def is_running(self) -> bool: method dict_state (line 428) | def dict_state(self) -> Dict[str, Any]: method projects (line 436) | def projects(self) -> Dict[PublicId, Project]: method _run_thread (line 440) | def _run_thread(self) -> None: method _manager_loop (line 445) | async def _manager_loop(self) -> None: method add_error_callback (line 479) | def add_error_callback( method start_manager (line 490) | def start_manager( method last_start_status (line 519) | def last_start_status( method stop_manager (line 531) | def stop_manager( method _cleanup (line 577) | def _cleanup(self, only_data: bool = False) -> None: method add_project (line 585) | def add_project( method _project_install_and_build (line 638) | def _project_install_and_build(self, project: Project) -> None: method _check_project (line 649) | def _check_project(self, project: Project) -> None: method remove_project (line 656) | def remove_project( method list_projects (line 676) | def list_projects(self) -> List[PublicId]: method add_agent (line 684) | def add_agent( method add_agent_with_config (line 733) | def add_agent_with_config( method get_agent_overridables (line 771) | def get_agent_overridables(self, agent_name: str) -> Tuple[Dict, List[... method set_agent_overrides (line 784) | def set_agent_overrides( method list_agents_info (line 807) | def list_agents_info(self) -> List[Dict[str, Any]]: method list_agents (line 823) | def list_agents(self, running_only: bool = False) -> List[str]: method remove_agent (line 835) | def remove_agent( method start_agent (line 865) | def start_agent(self, agent_name: str) -> "MultiAgentManager": method _make_agent_task (line 894) | def _make_agent_task( method _is_agent_running (line 909) | def _is_agent_running(self, agent_name: str) -> bool: method start_all_agents (line 917) | def start_all_agents(self) -> "MultiAgentManager": method stop_agent (line 932) | def stop_agent(self, agent_name: str) -> "MultiAgentManager": method stop_all_agents (line 972) | def stop_all_agents(self) -> "MultiAgentManager": method stop_agents (line 983) | def stop_agents(self, agent_names: List[str]) -> "MultiAgentManager": method start_agents (line 999) | def start_agents(self, agent_names: List[str]) -> "MultiAgentManager": method get_agent_alias (line 1011) | def get_agent_alias(self, agent_name: str) -> AgentAlias: method _ensure_working_dir (line 1022) | def _ensure_working_dir(self) -> None: method _load_state (line 1033) | def _load_state( method _save_state (line 1097) | def _save_state(self) -> None: method _default_error_callback (line 1102) | def _default_error_callback( method _print_exception_occurred_but_no_error_callback (line 1116) | def _print_exception_occurred_but_no_error_callback( method _check_version_consistency (line 1136) | def _check_version_consistency(self, agent_config: AgentConfig) -> None: method _add_new_package_versions (line 1181) | def _add_new_package_versions(self, agent_config: AgentConfig) -> None: method _remove_package_versions (line 1208) | def _remove_package_versions(self, agent_config: AgentConfig) -> None: FILE: aea/manager/project.py class _Base (line 39) | class _Base: method _get_agent_config (line 43) | def _get_agent_config(cls, path: Union[Path, str]) -> AgentConfig: method _get_builder (line 50) | def _get_builder( method builder (line 66) | def builder(self) -> AEABuilder: method install_pypi_dependencies (line 70) | def install_pypi_dependencies(self) -> None: class Project (line 75) | class Project(_Base): method __init__ (line 80) | def __init__(self, public_id: PublicId, path: str) -> None: method build (line 86) | def build(self) -> None: method load (line 91) | def load( method remove (line 134) | def remove(self) -> None: method agent_config (line 139) | def agent_config(self) -> AgentConfig: method builder (line 144) | def builder(self) -> AEABuilder: method check (line 148) | def check(self) -> None: class AgentAlias (line 153) | class AgentAlias(_Base): method __init__ (line 158) | def __init__( method set_agent_config_from_data (line 175) | def set_agent_config_from_data(self, json_data: List[Dict]) -> None: method _ensure_private_keys (line 184) | def _ensure_private_keys(self) -> None: method builder (line 212) | def builder(self) -> AEABuilder: method agent_config (line 221) | def agent_config(self) -> AgentConfig: method _create_private_key (line 225) | def _create_private_key( method remove_from_project (line 252) | def remove_from_project(self) -> None: method dict (line 257) | def dict(self) -> Dict[str, Any]: method config_json (line 266) | def config_json(self) -> List[Dict]: method get_aea_instance (line 272) | def get_aea_instance(self) -> AEA: method issue_certificates (line 282) | def issue_certificates(self) -> None: method set_overrides (line 291) | def set_overrides( method agent_config_manager (line 321) | def agent_config_manager(self) -> AgentConfigManager: method get_overridables (line 325) | def get_overridables(self) -> Tuple[Dict, List[Dict]]: method get_addresses (line 340) | def get_addresses(self) -> Dict[str, str]: method get_connections_addresses (line 351) | def get_connections_addresses(self) -> Dict[str, str]: FILE: aea/manager/utils.py function get_lib_path (line 33) | def get_lib_path(env_dir: str) -> str: function make_venv (line 44) | def make_venv(env_dir: str, set_env: bool = False) -> None: function project_install_and_build (line 59) | def project_install_and_build(project: Project) -> None: function get_venv_dir_for_project (line 66) | def get_venv_dir_for_project(project: Project) -> str: function project_check (line 71) | def project_check(project: Project) -> None: function run_in_venv (line 76) | def run_in_venv(env_dir: str, fn: Callable, timeout: float, *args: Any) ... function _run_in_venv_handler (line 99) | def _run_in_venv_handler( FILE: aea/multiplexer.py class MultiplexerStatus (line 52) | class MultiplexerStatus(AsyncState): method __init__ (line 55) | def __init__(self) -> None: method is_connected (line 62) | def is_connected(self) -> bool: # pragma: nocover method is_connecting (line 67) | def is_connecting(self) -> bool: # pragma: nocover method is_disconnected (line 72) | def is_disconnected(self) -> bool: # pragma: nocover method is_disconnecting (line 77) | def is_disconnecting(self) -> bool: # pragma: nocover class AsyncMultiplexer (line 82) | class AsyncMultiplexer(Runnable, WithLogger): method __init__ (line 91) | def __init__( method default_connection (line 168) | def default_connection(self) -> Optional[Connection]: method in_queue (line 173) | def in_queue(self) -> AsyncFriendlyQueue: method out_queue (line 178) | def out_queue(self) -> asyncio.Queue: method connections (line 185) | def connections(self) -> Tuple[Connection, ...]: method is_connected (line 190) | def is_connected(self) -> bool: method default_routing (line 195) | def default_routing(self) -> Dict[PublicId, PublicId]: method default_routing (line 200) | def default_routing(self, default_routing: Dict[PublicId, PublicId]) -... method connection_status (line 205) | def connection_status(self) -> MultiplexerStatus: method run (line 209) | async def run(self) -> None: method _get_protocol_id_for_envelope (line 222) | def _get_protocol_id_for_envelope(self, envelope: Envelope) -> PublicId: method set_loop (line 238) | def set_loop(self, loop: AbstractEventLoop) -> None: method _handle_exception (line 247) | def _handle_exception(self, fn: Callable, exc: Exception) -> None: method add_connection (line 263) | def add_connection(self, connection: Connection, is_default: bool = Fa... method _connection_consistency_checks (line 280) | def _connection_consistency_checks(self) -> None: method _set_default_connection_if_none (line 295) | def _set_default_connection_if_none(self) -> None: method connect (line 300) | async def connect(self) -> None: method disconnect (line 337) | async def disconnect(self) -> None: method _stop_receive_send_loops (line 357) | async def _stop_receive_send_loops(self) -> None: method _check_and_set_disconnected_state (line 381) | def _check_and_set_disconnected_state(self) -> None: method _stop (line 393) | async def _stop(self) -> None: method _connect_all (line 408) | async def _connect_all(self) -> None: method _connect_one (line 428) | async def _connect_one(self, connection_id: PublicId) -> None: method _disconnect_all (line 448) | async def _disconnect_all(self) -> None: method _disconnect_one (line 467) | async def _disconnect_one(self, connection_id: PublicId) -> None: method _send_loop (line 487) | async def _send_loop(self) -> None: method _receiving_loop (line 514) | async def _receiving_loop(self) -> None: method _send (line 552) | async def _send(self, envelope: Envelope) -> None: method _get_connection_id_from_envelope (line 582) | def _get_connection_id_from_envelope( method _get_connection (line 645) | def _get_connection(self, connection_id: PublicId) -> Optional[Connect... method _is_connection_supported_protocol (line 656) | def _is_connection_supported_protocol( method get (line 677) | def get( method async_get (line 692) | async def async_get(self) -> Envelope: method async_wait (line 703) | async def async_wait(self) -> None: method _put (line 711) | async def _put(self, envelope: Envelope) -> None: method put (line 722) | def put(self, envelope: Envelope) -> None: method _setup (line 736) | def _setup( method _update_routing_helper (line 758) | def _update_routing_helper( class Multiplexer (line 774) | class Multiplexer(AsyncMultiplexer): method __init__ (line 780) | def __init__(self, *args: Any, **kwargs: Any) -> None: method _init (line 791) | def _init(self) -> None: method set_loop (line 796) | def set_loop(self, loop: AbstractEventLoop) -> None: method connect (line 805) | def connect(self) -> None: # type: ignore # cause overrides coroutine... method disconnect (line 819) | def disconnect(self) -> None: # type: ignore # cause overrides corout... method put (line 845) | def put(self, envelope: Envelope) -> None: # type: ignore # cause ov... class InBox (line 857) | class InBox: method __init__ (line 860) | def __init__(self, multiplexer: AsyncMultiplexer) -> None: method empty (line 869) | def empty(self) -> bool: method get (line 877) | def get(self, block: bool = False, timeout: Optional[float] = None) ->... method get_nowait (line 896) | def get_nowait(self) -> Optional[Envelope]: method async_get (line 907) | async def async_get(self) -> Envelope: method async_wait (line 924) | async def async_wait(self) -> None: class OutBox (line 932) | class OutBox: method __init__ (line 935) | def __init__(self, multiplexer: AsyncMultiplexer) -> None: method empty (line 944) | def empty(self) -> bool: method put (line 952) | def put(self, envelope: Envelope) -> None: method put_message (line 970) | def put_message( FILE: aea/protocols/base.py class Message (line 44) | class Message: class Performative (line 53) | class Performative(Enum): method __str__ (line 56) | def __str__(self) -> str: class _SlotsCls (line 60) | class _SlotsCls: # pylint: disable=too-few-public-methods method __init__ (line 70) | def __init__(self, _body: Optional[Dict] = None, **kwargs: Any) -> None: method json (line 90) | def json(self) -> dict: method from_json (line 99) | def from_json(cls, data: dict) -> "Message": method valid_performatives (line 114) | def valid_performatives(self) -> Set[str]: method has_sender (line 119) | def has_sender(self) -> bool: method sender (line 124) | def sender(self) -> Address: method sender (line 131) | def sender(self, sender: Address) -> None: method has_to (line 141) | def has_to(self) -> bool: method to (line 146) | def to(self) -> Address: method to (line 153) | def to(self, to: Address) -> None: method _body (line 160) | def _body(self) -> Dict: method _body (line 171) | def _body(self, body: Dict) -> None: method dialogue_reference (line 181) | def dialogue_reference(self) -> Tuple[str, str]: method message_id (line 188) | def message_id(self) -> int: method performative (line 195) | def performative(self) -> "Performative": method target (line 202) | def target(self) -> int: method set (line 208) | def set(self, key: str, value: Any) -> None: method get (line 220) | def get(self, key: str) -> Optional[Any]: method is_set (line 224) | def is_set(self, key: str) -> bool: method _update_slots_from_dict (line 228) | def _update_slots_from_dict(self, data: dict) -> None: method _is_consistent (line 233) | def _is_consistent(self) -> bool: method __eq__ (line 237) | def __eq__(self, other: Any) -> bool: method __repr__ (line 246) | def __repr__(self) -> str: method __str__ (line 256) | def __str__(self) -> str: method encode (line 266) | def encode(self) -> bytes: method decode (line 271) | def decode(cls, data: bytes) -> "Message": method has_dialogue_info (line 276) | def has_dialogue_info(self) -> bool: class Encoder (line 292) | class Encoder(ABC): method encode (line 297) | def encode(msg: Message) -> bytes: class Decoder (line 306) | class Decoder(ABC): method decode (line 311) | def decode(obj: bytes) -> Message: class Serializer (line 320) | class Serializer(Encoder, Decoder, ABC): class Protocol (line 324) | class Protocol(Component): method __init__ (line 333) | def __init__( method serializer (line 347) | def serializer(self) -> Type[Serializer]: method from_dir (line 352) | def from_dir(cls, directory: str, **kwargs: Any) -> "Protocol": method from_config (line 368) | def from_config(cls, configuration: ProtocolConfig, **kwargs: Any) -> ... method protocol_id (line 412) | def protocol_id(self) -> PublicId: method protocol_specification_id (line 417) | def protocol_specification_id(self) -> PublicId: method __repr__ (line 421) | def __repr__(self) -> str: FILE: aea/protocols/dialogue/base.py class InvalidDialogueMessage (line 72) | class InvalidDialogueMessage(Exception): class DialogueLabel (line 76) | class DialogueLabel: method __init__ (line 87) | def __init__( method dialogue_reference (line 105) | def dialogue_reference(self) -> Tuple[str, str]: method dialogue_starter_reference (line 110) | def dialogue_starter_reference(self) -> str: method dialogue_responder_reference (line 115) | def dialogue_responder_reference(self) -> str: method dialogue_opponent_addr (line 120) | def dialogue_opponent_addr(self) -> str: method dialogue_starter_addr (line 125) | def dialogue_starter_addr(self) -> str: method __eq__ (line 129) | def __eq__(self, other: Any) -> bool: method __hash__ (line 138) | def __hash__(self) -> int: method json (line 149) | def json(self) -> Dict: method from_json (line 159) | def from_json(cls, obj: Dict[str, str]) -> "DialogueLabel": method get_incomplete_version (line 171) | def get_incomplete_version(self) -> "DialogueLabel": method __str__ (line 180) | def __str__(self) -> str: method from_str (line 190) | def from_str(cls, obj: str) -> "DialogueLabel": class _DialogueMeta (line 206) | class _DialogueMeta(type): method __new__ (line 213) | def __new__(cls, name: str, bases: Tuple[Type], dct: Dict) -> "_Dialog... class Dialogue (line 226) | class Dialogue(metaclass=_DialogueMeta): class Rules (line 251) | class Rules: method __init__ (line 254) | def __init__( method initial_performatives (line 272) | def initial_performatives(self) -> FrozenSet[Message.Performative]: method terminal_performatives (line 281) | def terminal_performatives(self) -> FrozenSet[Message.Performative]: method valid_replies (line 290) | def valid_replies( method get_valid_replies (line 300) | def get_valid_replies( class Role (line 315) | class Role(Enum): method __str__ (line 318) | def __str__(self) -> str: class EndState (line 322) | class EndState(Enum): method __str__ (line 325) | def __str__(self) -> str: method __init__ (line 331) | def __init__( method add_terminal_state_callback (line 362) | def add_terminal_state_callback(self, fn: Callable[["Dialogue"], None]... method __eq__ (line 370) | def __eq__(self, other: Any) -> bool: method json (line 383) | def json(self) -> dict: method from_json (line 397) | def from_json(cls, message_class: Type[Message], data: dict) -> "Dialo... method dialogue_label (line 429) | def dialogue_label(self) -> DialogueLabel: method incomplete_dialogue_label (line 438) | def incomplete_dialogue_label(self) -> DialogueLabel: method dialogue_labels (line 447) | def dialogue_labels(self) -> Set[DialogueLabel]: method self_address (line 456) | def self_address(self) -> Address: method role (line 467) | def role(self) -> "Role": method rules (line 478) | def rules(self) -> "Rules": method message_class (line 489) | def message_class(self) -> Type[Message]: method is_self_initiated (line 498) | def is_self_initiated(self) -> bool: method last_incoming_message (line 510) | def last_incoming_message(self) -> Optional[Message]: method last_outgoing_message (line 519) | def last_outgoing_message(self) -> Optional[Message]: method last_message (line 528) | def last_message(self) -> Optional[Message]: method is_empty (line 545) | def is_empty(self) -> bool: method _counterparty_from_message (line 553) | def _counterparty_from_message(self, message: Message) -> Address: method _is_message_by_self (line 565) | def _is_message_by_self(self, message: Message) -> bool: method _is_message_by_other (line 574) | def _is_message_by_other(self, message: Message) -> bool: method _has_message_id (line 583) | def _has_message_id(self, message_id: int) -> bool: method _update (line 592) | def _update(self, message: Message) -> None: method _is_belonging_to_dialogue (line 634) | def _is_belonging_to_dialogue(self, message: Message) -> bool: method reply (line 661) | def reply( method _validate_next_message (line 718) | def _validate_next_message(self, message: Message) -> Tuple[bool, str]: method _basic_validation (line 741) | def _basic_validation(self, message: Message) -> Tuple[bool, str]: method _basic_validation_initial_message (line 756) | def _basic_validation_initial_message(self, message: Message) -> Tuple... method _basic_validation_non_initial_message (line 803) | def _basic_validation_non_initial_message( method _validate_message_target (line 838) | def _validate_message_target(self, message: Message) -> Optional[str]: method _validate_message_id (line 888) | def _validate_message_id(self, message: Message) -> Optional[str]: method get_message_by_id (line 906) | def get_message_by_id(self, message_id: int) -> Optional[Message]: method get_outgoing_next_message_id (line 927) | def get_outgoing_next_message_id(self) -> int: method get_incoming_next_message_id (line 939) | def get_incoming_next_message_id(self) -> int: method _update_dialogue_label (line 951) | def _update_dialogue_label(self, final_dialogue_label: DialogueLabel) ... method _custom_validation (line 966) | def _custom_validation( # pylint: disable=unused-argument method __str__ (line 979) | def __str__(self) -> str: class DialogueStats (line 995) | class DialogueStats: method __init__ (line 998) | def __init__(self, end_states: FrozenSet[Dialogue.EndState]) -> None: method self_initiated (line 1012) | def self_initiated(self) -> Dict[Dialogue.EndState, int]: method other_initiated (line 1017) | def other_initiated(self) -> Dict[Dialogue.EndState, int]: method add_dialogue_endstate (line 1021) | def add_dialogue_endstate( function find_caller_object (line 1038) | def find_caller_object(object_type: Type) -> Any: class BasicDialoguesStorage (line 1052) | class BasicDialoguesStorage: method __init__ (line 1055) | def __init__(self, dialogues: "Dialogues") -> None: method dialogues_in_terminal_state (line 1068) | def dialogues_in_terminal_state(self) -> List["Dialogue"]: method dialogues_in_active_state (line 1081) | def dialogues_in_active_state(self) -> List["Dialogue"]: method is_terminal_dialogues_kept (line 1095) | def is_terminal_dialogues_kept(self) -> bool: method dialogue_terminal_state_callback (line 1099) | def dialogue_terminal_state_callback(self, dialogue: "Dialogue") -> None: method setup (line 1106) | def setup(self) -> None: method teardown (line 1109) | def teardown(self) -> None: method add (line 1112) | def add(self, dialogue: Dialogue) -> None: method _add_terminal_state_dialogue (line 1124) | def _add_terminal_state_dialogue(self, dialogue: Dialogue) -> None: method remove (line 1133) | def remove(self, dialogue_label: DialogueLabel) -> None: method get (line 1151) | def get(self, dialogue_label: DialogueLabel) -> Optional[Dialogue]: method get_dialogues_with_counterparty (line 1160) | def get_dialogues_with_counterparty(self, counterparty: Address) -> Li... method is_in_incomplete (line 1169) | def is_in_incomplete(self, dialogue_label: DialogueLabel) -> bool: method set_incomplete_dialogue (line 1173) | def set_incomplete_dialogue( method is_dialogue_present (line 1183) | def is_dialogue_present(self, dialogue_label: DialogueLabel) -> bool: method get_latest_label (line 1187) | def get_latest_label(self, dialogue_label: DialogueLabel) -> DialogueL... class PersistDialoguesStorage (line 1194) | class PersistDialoguesStorage(BasicDialoguesStorage): method __init__ (line 1204) | def __init__(self, dialogues: "Dialogues") -> None: method get_skill_component (line 1211) | def get_skill_component() -> Optional[SkillComponent]: method _get_collection_name (line 1218) | def _get_collection_name(self) -> Optional[str]: method _get_collection_instance (line 1232) | def _get_collection_instance(self, col_name: str) -> Optional[SyncColl... method _terminal_dialogues_collection (line 1241) | def _terminal_dialogues_collection(self) -> Optional[SyncCollection]: method _active_dialogues_collection (line 1249) | def _active_dialogues_collection(self) -> Optional[SyncCollection]: method _dump (line 1255) | def _dump(self) -> None: method _dump_incomplete_dialogues_labels (line 1271) | def _dump_incomplete_dialogues_labels(self, collection: SyncCollection... method _load_incomplete_dialogues_labels (line 1278) | def _load_incomplete_dialogues_labels(self, collection: SyncCollection... method _load_dialogues (line 1287) | def _load_dialogues(self, collection: SyncCollection) -> Iterable[Dial... method _dialogue_from_json (line 1297) | def _dialogue_from_json(self, dialogue_data: dict) -> "Dialogue": method _dump_dialogues (line 1303) | def _dump_dialogues( method _load (line 1310) | def _load(self) -> None: method _load_active_dialogues (line 1322) | def _load_active_dialogues(self) -> None: method _load_terminated_dialogues (line 1327) | def _load_terminated_dialogues(self) -> None: method _incomplete_dialogues_labels_to_json (line 1332) | def _incomplete_dialogues_labels_to_json(self) -> List: method _set_incomplete_dialogues_labels_from_json (line 1339) | def _set_incomplete_dialogues_labels_from_json(self, data: List) -> None: method setup (line 1345) | def setup(self) -> None: method teardown (line 1351) | def teardown(self) -> None: method remove (line 1357) | def remove(self, dialogue_label: DialogueLabel) -> None: class PersistDialoguesStorageWithOffloading (line 1370) | class PersistDialoguesStorageWithOffloading(PersistDialoguesStorage): method dialogue_terminal_state_callback (line 1373) | def dialogue_terminal_state_callback(self, dialogue: "Dialogue") -> None: method get (line 1390) | def get(self, dialogue_label: DialogueLabel) -> Optional[Dialogue]: method _get_dialogue_from_collection (line 1405) | def _get_dialogue_from_collection( method _load_terminated_dialogues (line 1423) | def _load_terminated_dialogues(self) -> None: method _get_dialogues_by_address_from_collection (line 1426) | def _get_dialogues_by_address_from_collection( method get_dialogues_with_counterparty (line 1445) | def get_dialogues_with_counterparty(self, counterparty: Address) -> Li... method _unique_dialogues_by_label (line 1464) | def _unique_dialogues_by_label(dialogues: List[Dialogue]) -> List[Dial... method dialogues_in_terminal_state (line 1471) | def dialogues_in_terminal_state(self) -> List["Dialogue"]: class Dialogues (line 1479) | class Dialogues: method __init__ (line 1484) | def __init__( method is_keep_dialogues_in_terminal_state (line 1558) | def is_keep_dialogues_in_terminal_state(self) -> bool: method self_address (line 1563) | def self_address(self) -> Address: method dialogue_stats (line 1569) | def dialogue_stats(self) -> DialogueStats: method message_class (line 1578) | def message_class(self) -> Type[Message]: method dialogue_class (line 1587) | def dialogue_class(self) -> Type[Dialogue]: method get_dialogues_with_counterparty (line 1595) | def get_dialogues_with_counterparty(self, counterparty: Address) -> Li... method _is_message_by_self (line 1604) | def _is_message_by_self(self, message: Message) -> bool: method _is_message_by_other (line 1613) | def _is_message_by_other(self, message: Message) -> bool: method _counterparty_from_message (line 1622) | def _counterparty_from_message(self, message: Message) -> Address: method new_self_initiated_dialogue_reference (line 1635) | def new_self_initiated_dialogue_reference(cls) -> Tuple[str, str]: method create (line 1643) | def create( method create_with_message (line 1672) | def create_with_message( method _create_dialogue (line 1698) | def _create_dialogue( method update (line 1724) | def update(self, message: Message) -> Optional[Dialogue]: method _complete_dialogue_reference (line 1797) | def _complete_dialogue_reference(self, message: Message) -> None: method get_dialogue (line 1840) | def get_dialogue(self, message: Message) -> Optional[Dialogue]: method _get_latest_label (line 1875) | def _get_latest_label(self, dialogue_label: DialogueLabel) -> Dialogue... method get_dialogue_from_label (line 1884) | def get_dialogue_from_label( method _create_self_initiated (line 1895) | def _create_self_initiated( method _create_opponent_initiated (line 1921) | def _create_opponent_initiated( method _create (line 1956) | def _create( method _generate_dialogue_nonce (line 1996) | def _generate_dialogue_nonce() -> str: method setup (line 2004) | def setup(self) -> None: method teardown (line 2011) | def teardown(self) -> None: FILE: aea/protocols/generator/base.py function _type_check (line 87) | def _type_check(variable_name: str, variable_type: str) -> str: function _copyright_header_str (line 112) | def _copyright_header_str(author: str) -> str: class ProtocolGenerator (line 122) | class ProtocolGenerator: method __init__ (line 125) | def __init__( method _change_indent (line 182) | def _change_indent(self, number: int, mode: str = None) -> None: method _import_from_typing_module (line 212) | def _import_from_typing_module(self) -> str: method _import_from_custom_types_module (line 234) | def _import_from_custom_types_module(self) -> str: method _performatives_str (line 253) | def _performatives_str(self) -> str: method _performatives_enum_str (line 266) | def _performatives_enum_str(self) -> str: method _to_custom_custom (line 292) | def _to_custom_custom(self, content_type: str) -> str: method _check_content_type_str (line 309) | def _check_content_type_str(self, content_name: str, content_type: str... method _message_class_str (line 625) | def _message_class_str(self) -> str: method _valid_replies_str (line 950) | def _valid_replies_str(self) -> str: method _end_state_enum_str (line 985) | def _end_state_enum_str(self) -> str: method _agent_role_enum_str (line 1006) | def _agent_role_enum_str(self) -> str: method _dialogue_class_str (line 1025) | def _dialogue_class_str(self) -> str: method _custom_types_module_str (line 1236) | def _custom_types_module_str(self) -> str: method _to_python_type (line 1347) | def _to_python_type(self, content_type: str) -> str: method _encoding_message_content_from_python_to_protobuf (line 1367) | def _encoding_message_content_from_python_to_protobuf( method _decoding_message_content_from_protobuf_to_python (line 1474) | def _decoding_message_content_from_protobuf_to_python( method _serialization_class_str (line 1603) | def _serialization_class_str(self) -> str: method _content_to_proto_field_str (line 1830) | def _content_to_proto_field_str( method _protocol_buffer_schema_str (line 1891) | def _protocol_buffer_schema_str(self) -> str: method _protocol_yaml_str (line 1982) | def _protocol_yaml_str(self) -> str: method _init_str (line 2011) | def _init_str(self) -> str: method generate_protobuf_only_mode (line 2037) | def generate_protobuf_only_mode( method generate_full_mode (line 2102) | def generate_full_mode(self, language: str) -> Optional[str]: method generate (line 2180) | def generate( function public_id_to_package_name (line 2208) | def public_id_to_package_name(public_id: PublicId) -> str: FILE: aea/protocols/generator/common.py function _to_camel_case (line 99) | def _to_camel_case(text: str) -> str: function _camel_case_to_snake_case (line 109) | def _camel_case_to_snake_case(text: str) -> str: function _match_brackets (line 119) | def _match_brackets(text: str, index_of_open_bracket: int) -> int: function _has_matched_brackets (line 151) | def _has_matched_brackets(text: str) -> bool: function _get_sub_types_of_compositional_types (line 169) | def _get_sub_types_of_compositional_types(compositional_type: str) -> Tu... function _union_sub_type_to_protobuf_variable_name (line 241) | def _union_sub_type_to_protobuf_variable_name( function _python_pt_or_ct_type_to_proto_type (line 270) | def _python_pt_or_ct_type_to_proto_type(content_type: str) -> str: function _includes_custom_type (line 284) | def _includes_custom_type(content_type: str) -> bool: function is_installed (line 314) | def is_installed(programme: str) -> bool: function base_protolint_command (line 325) | def base_protolint_command() -> str: function check_prerequisites (line 339) | def check_prerequisites() -> None: function get_protoc_version (line 366) | def get_protoc_version() -> str: function load_protocol_specification (line 375) | def load_protocol_specification(specification_path: str) -> ProtocolSpec... function _create_protocol_file (line 391) | def _create_protocol_file( function try_run_black_formatting (line 407) | def try_run_black_formatting(path_to_protocol_package: str) -> None: function try_run_isort_formatting (line 419) | def try_run_isort_formatting(path_to_protocol_package: str) -> None: function try_run_protoc (line 431) | def try_run_protoc( function try_run_protolint (line 464) | def try_run_protolint(path_to_generated_protocol_package: str, name: str... function check_protobuf_using_protoc (line 503) | def check_protobuf_using_protoc( function compile_protobuf_using_protoc (line 527) | def compile_protobuf_using_protoc( function apply_protolint (line 551) | def apply_protolint(path_to_proto_file: str, name: str) -> Tuple[bool, s... function _is_compositional_type (line 581) | def _is_compositional_type(content_type: str) -> bool: FILE: aea/protocols/generator/extract_specification.py function _ct_specification_type_to_python_type (line 35) | def _ct_specification_type_to_python_type(specification_type: str) -> str: function _pt_specification_type_to_python_type (line 46) | def _pt_specification_type_to_python_type(specification_type: str) -> str: function _pct_specification_type_to_python_type (line 57) | def _pct_specification_type_to_python_type(specification_type: str) -> str: function _pmt_specification_type_to_python_type (line 73) | def _pmt_specification_type_to_python_type(specification_type: str) -> str: function _mt_specification_type_to_python_type (line 89) | def _mt_specification_type_to_python_type(specification_type: str) -> str: function _optional_specification_type_to_python_type (line 105) | def _optional_specification_type_to_python_type(specification_type: str)... function _specification_type_to_python_type (line 118) | def _specification_type_to_python_type(specification_type: str) -> str: class PythonicProtocolSpecification (line 146) | class PythonicProtocolSpecification: # pylint: disable=too-few-public-m... method __init__ (line 149) | def __init__(self) -> None: function extract (line 176) | def extract( FILE: aea/protocols/generator/validate.py function _is_reserved_name (line 60) | def _is_reserved_name(content_name: str) -> bool: function _is_valid_regex (line 70) | def _is_valid_regex(regex_pattern: str, text: str) -> bool: function _has_brackets (line 83) | def _has_brackets(content_type: str) -> bool: function _is_valid_ct (line 99) | def _is_valid_ct(content_type: str) -> bool: function _is_valid_pt (line 110) | def _is_valid_pt(content_type: str) -> bool: function _is_valid_set (line 121) | def _is_valid_set(content_type: str) -> bool: function _is_valid_list (line 147) | def _is_valid_list(content_type: str) -> bool: function _is_valid_dict (line 173) | def _is_valid_dict(content_type: str) -> bool: function _is_valid_union (line 200) | def _is_valid_union(content_type: str) -> bool: function _is_valid_optional (line 241) | def _is_valid_optional(content_type: str) -> bool: function _is_valid_content_type_format (line 274) | def _is_valid_content_type_format(content_type: str) -> bool: function _validate_performatives (line 292) | def _validate_performatives(performative: str) -> Tuple[bool, str]: function _validate_content_name (line 320) | def _validate_content_name(content_name: str, performative: str) -> Tupl... function _validate_content_type (line 356) | def _validate_content_type( function _validate_speech_acts_section (line 385) | def _validate_speech_acts_section( function _validate_protocol_buffer_schema_code_snippets (line 498) | def _validate_protocol_buffer_schema_code_snippets( function _validate_field_existence (line 536) | def _validate_field_existence(dialogue_config: List[str]) -> Tuple[bool,... function _validate_initiation (line 557) | def _validate_initiation( function _validate_reply (line 597) | def _validate_reply( function _validate_termination (line 671) | def _validate_termination( function _validate_roles (line 744) | def _validate_roles(roles: Dict[str, Any]) -> Tuple[bool, str]: function _validate_end_states (line 780) | def _validate_end_states(end_states: List[str]) -> Tuple[bool, str]: function _validate_keep_terminal (line 809) | def _validate_keep_terminal(keep_terminal_state_dialogues: bool) -> Tupl... function _validate_dialogue_section (line 831) | def _validate_dialogue_section( function validate (line 921) | def validate(protocol_specification: ProtocolSpecification) -> Tuple[boo... FILE: aea/protocols/scaffold/message.py class MyScaffoldMessage (line 31) | class MyScaffoldMessage(Message): class Performative (line 37) | class Performative(Enum): method __str__ (line 40) | def __str__(self) -> str: method __init__ (line 44) | def __init__(self, performative: Performative, **kwargs: Any) -> None: method _is_consistent (line 56) | def _is_consistent(self) -> bool: FILE: aea/protocols/scaffold/serialization.py class MyScaffoldSerializer (line 26) | class MyScaffoldSerializer(Serializer): # pragma: no cover method encode (line 30) | def encode(msg: Message) -> bytes: method decode (line 40) | def decode(obj: bytes) -> Message: FILE: aea/registries/base.py class Registry (line 39) | class Registry(Generic[ItemId, Item], WithLogger, ABC): method __init__ (line 42) | def __init__(self, agent_name: str = "standalone") -> None: method register (line 52) | def register( method unregister (line 66) | def unregister(self, item_id: ItemId) -> Optional[Item]: method fetch (line 76) | def fetch(self, item_id: ItemId) -> Optional[Item]: method fetch_all (line 85) | def fetch_all(self) -> List[Item]: method ids (line 93) | def ids(self) -> Set[ItemId]: method setup (line 101) | def setup(self) -> None: method teardown (line 109) | def teardown(self) -> None: class PublicIdRegistry (line 117) | class PublicIdRegistry(Generic[Item], Registry[PublicId, Item]): method __init__ (line 127) | def __init__(self) -> None: method register (line 132) | def register( # pylint: disable=arguments-differ,unused-argument,argu... method unregister (line 144) | def unregister( # pylint: disable=arguments-differ,arguments-renamed method fetch (line 153) | def fetch( # pylint: disable=arguments-differ,arguments-renamed method fetch_all (line 174) | def fetch_all(self) -> List[Item]: method ids (line 178) | def ids(self) -> Set[PublicId]: method setup (line 182) | def setup(self) -> None: method teardown (line 185) | def teardown(self) -> None: class AgentComponentRegistry (line 189) | class AgentComponentRegistry(Registry[ComponentId, Component]): method __init__ (line 194) | def __init__(self, **kwargs: Any) -> None: method register (line 204) | def register( # pylint: disable=arguments-differ,unused-argument,argu... method _register (line 229) | def _register(self, component_id: ComponentId, component: Component) -... method _unregister (line 241) | def _unregister(self, component_id: ComponentId) -> Optional[Component]: method unregister (line 258) | def unregister( # pylint: disable=arguments-differ,arguments-renamed method fetch (line 273) | def fetch( # pylint: disable=arguments-differ,arguments-renamed method fetch_all (line 286) | def fetch_all(self) -> List[Component]: method fetch_by_type (line 298) | def fetch_by_type(self, component_type: ComponentType) -> List[Compone... method ids (line 307) | def ids(self) -> Set[ComponentId]: method setup (line 311) | def setup(self) -> None: method teardown (line 314) | def teardown(self) -> None: class ComponentRegistry (line 318) | class ComponentRegistry( method __init__ (line 325) | def __init__(self, **kwargs: Any) -> None: method register (line 337) | def register( method unregister (line 369) | def unregister(self, item_id: Tuple[PublicId, str]) -> Optional[SkillC... method _unregister_from_main_index (line 379) | def _unregister_from_main_index( method fetch (line 411) | def fetch(self, item_id: Tuple[PublicId, str]) -> Optional[SkillCompon... method fetch_by_skill (line 425) | def fetch_by_skill(self, skill_id: PublicId) -> List[SkillComponentType]: method fetch_all (line 431) | def fetch_all(self) -> List[SkillComponentType]: method unregister_by_skill (line 435) | def unregister_by_skill(self, skill_id: PublicId) -> None: method ids (line 444) | def ids(self) -> Set[Tuple[PublicId, str]]: method setup (line 455) | def setup(self) -> None: method teardown (line 477) | def teardown(self) -> None: class HandlerRegistry (line 499) | class HandlerRegistry(ComponentRegistry[Handler]): method __init__ (line 504) | def __init__(self, **kwargs: Any) -> None: method register (line 516) | def register( method unregister (line 560) | def unregister(self, item_id: Tuple[PublicId, str]) -> Handler: method unregister_by_skill (line 581) | def unregister_by_skill(self, skill_id: PublicId) -> None: method fetch_by_protocol (line 604) | def fetch_by_protocol(self, protocol_id: PublicId) -> List[Handler]: method fetch_by_protocol_and_skill (line 623) | def fetch_by_protocol_and_skill( FILE: aea/registries/filter.py class Filter (line 31) | class Filter(WithLogger): method __init__ (line 34) | def __init__( method resources (line 49) | def resources(self) -> Resources: method decision_maker_out_queue (line 54) | def decision_maker_out_queue(self) -> AsyncFriendlyQueue: method get_active_handlers (line 58) | def get_active_handlers( method get_active_behaviours (line 80) | def get_active_behaviours(self) -> List[Behaviour]: method handle_new_handlers_and_behaviours (line 92) | def handle_new_handlers_and_behaviours(self) -> None: method get_internal_message (line 97) | async def get_internal_message(self) -> Optional[Message]: method handle_internal_message (line 101) | def handle_internal_message(self, internal_message: Optional[Message])... method _handle_new_behaviours (line 108) | def _handle_new_behaviours(self) -> None: method _handle_new_handlers (line 124) | def _handle_new_handlers(self) -> None: method _handle_internal_message (line 140) | def _handle_internal_message(self, message: Message) -> None: FILE: aea/registries/resources.py class Resources (line 38) | class Resources: method __init__ (line 51) | def __init__(self, agent_name: str = "standalone") -> None: method agent_name (line 72) | def agent_name(self) -> str: method component_registry (line 77) | def component_registry(self) -> AgentComponentRegistry: method behaviour_registry (line 82) | def behaviour_registry(self) -> ComponentRegistry[Behaviour]: method handler_registry (line 87) | def handler_registry(self) -> HandlerRegistry: method model_registry (line 92) | def model_registry(self) -> ComponentRegistry[Model]: method add_component (line 96) | def add_component(self, component: Component) -> None: method add_protocol (line 113) | def add_protocol(self, protocol: Protocol) -> None: method get_protocol (line 124) | def get_protocol(self, protocol_id: PublicId) -> Optional[Protocol]: method get_protocol_by_specification_id (line 136) | def get_protocol_by_specification_id( method get_all_protocols (line 154) | def get_all_protocols(self) -> List[Protocol]: method remove_protocol (line 163) | def remove_protocol(self, protocol_id: PublicId) -> None: method add_contract (line 178) | def add_contract(self, contract: Contract) -> None: method get_contract (line 186) | def get_contract(self, contract_id: PublicId) -> Optional[Contract]: method get_all_contracts (line 198) | def get_all_contracts(self) -> List[Contract]: method remove_contract (line 207) | def remove_contract(self, contract_id: PublicId) -> None: method add_connection (line 217) | def add_connection(self, connection: Connection) -> None: method get_connection (line 225) | def get_connection(self, connection_id: PublicId) -> Optional[Connecti... method get_all_connections (line 237) | def get_all_connections(self) -> List[Connection]: method remove_connection (line 246) | def remove_connection(self, connection_id: PublicId) -> None: method add_skill (line 256) | def add_skill(self, skill: Skill) -> None: method get_skill (line 277) | def get_skill(self, skill_id: PublicId) -> Optional[Skill]: method get_all_skills (line 289) | def get_all_skills(self) -> List[Skill]: method remove_skill (line 298) | def remove_skill(self, skill_id: PublicId) -> None: method get_handler (line 312) | def get_handler( method get_handlers (line 327) | def get_handlers(self, protocol_id: PublicId) -> List[Handler]: method get_all_handlers (line 337) | def get_all_handlers(self) -> List[Handler]: method get_behaviour (line 346) | def get_behaviour( method get_behaviours (line 359) | def get_behaviours(self, skill_id: PublicId) -> List[Behaviour]: method get_all_behaviours (line 371) | def get_all_behaviours(self) -> List[Behaviour]: method setup (line 380) | def setup(self) -> None: method teardown (line 389) | def teardown(self) -> None: FILE: aea/runner.py class AEAInstanceTask (line 40) | class AEAInstanceTask(AbstractExecutorTask): method __init__ (line 43) | def __init__(self, agent: AEA) -> None: method id (line 53) | def id(self) -> str: method start (line 57) | def start(self) -> None: # type: ignore method stop (line 65) | def stop(self) -> None: method create_async_task (line 69) | def create_async_task(self, loop: AbstractEventLoop) -> TaskAwaitable: class AEARunner (line 84) | class AEARunner(AbstractMultipleRunner): method __init__ (line 92) | def __init__( method _make_tasks (line 108) | def _make_tasks(self) -> Sequence[AbstractExecutorTask]: FILE: aea/runtime.py class RuntimeStates (line 46) | class RuntimeStates(Enum): class BaseRuntime (line 56) | class BaseRuntime(Runnable, WithLogger): method __init__ (line 68) | def __init__( method _log_runtime_state (line 105) | def _log_runtime_state(self, state: RuntimeStates) -> None: method _get_taskmanager_instance (line 109) | def _get_taskmanager_instance(self) -> TaskManager: method _get_multiplexer_instance (line 118) | def _get_multiplexer_instance( method _get_storage (line 139) | def _get_storage(agent: AbstractAgent) -> Optional[Storage]: method _get_agent_loop_instance (line 146) | def _get_agent_loop_instance(self, loop_mode: str) -> BaseAgentLoop: method _get_agent_loop_class (line 157) | def _get_agent_loop_class(self, loop_mode: str) -> Type[BaseAgentLoop]: method storage (line 172) | def storage(self) -> Optional[Storage]: method loop_mode (line 177) | def loop_mode(self) -> str: # pragma: nocover method task_manager (line 182) | def task_manager(self) -> TaskManager: method loop (line 187) | def loop(self) -> Optional[AbstractEventLoop]: method agent_loop (line 192) | def agent_loop(self) -> BaseAgentLoop: method multiplexer (line 197) | def multiplexer(self) -> AsyncMultiplexer: method is_running (line 202) | def is_running(self) -> bool: method is_stopped (line 207) | def is_stopped(self) -> bool: # pragma: nocover method state (line 212) | def state(self) -> RuntimeStates: # pragma: nocover method decision_maker (line 221) | def decision_maker(self) -> DecisionMaker: method _set_task (line 227) | def _set_task(self) -> None: method set_decision_maker (line 234) | def set_decision_maker(self, decision_maker_handler: DecisionMakerHand... method _teardown (line 240) | def _teardown(self) -> None: method set_loop (line 250) | def set_loop(self, loop: AbstractEventLoop) -> None: class AsyncRuntime (line 260) | class AsyncRuntime(BaseRuntime): method __init__ (line 265) | def __init__( method set_loop (line 294) | def set_loop(self, loop: AbstractEventLoop) -> None: method run (line 302) | async def run(self) -> None: method stop_runtime (line 323) | async def stop_runtime(self) -> None: method run_runtime (line 344) | async def run_runtime(self) -> None: method _start_storage (line 351) | async def _start_storage(self) -> None: method _start_multiplexer (line 357) | async def _start_multiplexer(self) -> None: method _start_agent_loop (line 366) | async def _start_agent_loop(self) -> None: class ThreadedRuntime (line 399) | class ThreadedRuntime(AsyncRuntime): method _get_multiplexer_instance (line 402) | def _get_multiplexer_instance( FILE: aea/skills/base.py class SkillContext (line 65) | class SkillContext: method __init__ (line 68) | def __init__( method logger (line 89) | def logger(self) -> Logger: method logger (line 96) | def logger(self, logger_: Logger) -> None: method _get_agent_context (line 100) | def _get_agent_context(self) -> AgentContext: method set_agent_context (line 106) | def set_agent_context(self, agent_context: AgentContext) -> None: method shared_state (line 111) | def shared_state(self) -> Dict[str, Any]: method agent_name (line 116) | def agent_name(self) -> str: method skill_id (line 121) | def skill_id(self) -> PublicId: method is_active (line 128) | def is_active(self) -> bool: method is_active (line 133) | def is_active(self, value: bool) -> None: method new_behaviours (line 143) | def new_behaviours(self) -> "Queue[Behaviour]": method new_handlers (line 155) | def new_handlers(self) -> "Queue[Handler]": method agent_addresses (line 167) | def agent_addresses(self) -> Dict[str, str]: method agent_address (line 172) | def agent_address(self) -> str: method public_key (line 177) | def public_key(self) -> str: method public_keys (line 182) | def public_keys(self) -> Dict[str, str]: method connection_status (line 187) | def connection_status(self) -> MultiplexerStatus: method outbox (line 192) | def outbox(self) -> OutBox: method storage (line 197) | def storage(self) -> Optional[Storage]: method message_in_queue (line 202) | def message_in_queue(self) -> Queue: method decision_maker_message_queue (line 207) | def decision_maker_message_queue(self) -> Queue: method decision_maker_handler_context (line 212) | def decision_maker_handler_context(self) -> SimpleNamespace: method task_manager (line 219) | def task_manager(self) -> TaskManager: method default_ledger_id (line 226) | def default_ledger_id(self) -> str: method currency_denominations (line 231) | def currency_denominations(self) -> Dict[str, str]: method search_service_address (line 236) | def search_service_address(self) -> Address: method decision_maker_address (line 241) | def decision_maker_address(self) -> Address: method handlers (line 246) | def handlers(self) -> SimpleNamespace: method behaviours (line 253) | def behaviours(self) -> SimpleNamespace: method namespace (line 260) | def namespace(self) -> SimpleNamespace: method __getattr__ (line 264) | def __getattr__(self, item: Any) -> Any: method send_to_skill (line 268) | def send_to_skill( class SkillComponent (line 286) | class SkillComponent(ABC): method __init__ (line 289) | def __init__( method name (line 320) | def name(self) -> str: method context (line 325) | def context(self) -> SkillContext: method skill_id (line 330) | def skill_id(self) -> PublicId: method configuration (line 335) | def configuration(self) -> SkillComponentConfiguration: method config (line 342) | def config(self) -> Dict[Any, Any]: method setup (line 347) | def setup(self) -> None: method teardown (line 354) | def teardown(self) -> None: method parse_module (line 362) | def parse_module( class AbstractBehaviour (line 371) | class AbstractBehaviour(SkillComponent, ABC): method tick_interval (line 383) | def tick_interval(self) -> float: method start_at (line 388) | def start_at(self) -> Optional[datetime.datetime]: class Behaviour (line 393) | class Behaviour(AbstractBehaviour, ABC): method act (line 408) | def act(self) -> None: method is_done (line 415) | def is_done(self) -> bool: method act_wrapper (line 419) | def act_wrapper(self) -> None: method parse_module (line 432) | def parse_module( # pylint: disable=arguments-differ,arguments-renamed class Handler (line 449) | class Handler(SkillComponent, ABC): method handle (line 470) | def handle(self, message: Message) -> None: method handle_wrapper (line 478) | def handle_wrapper(self, message: Message) -> None: method parse_module (line 491) | def parse_module( # pylint: disable=arguments-differ,arguments-renamed class Model (line 508) | class Model(SkillComponent, ABC): method __init__ (line 511) | def __init__( method setup (line 534) | def setup(self) -> None: method teardown (line 540) | def teardown(self) -> None: method parse_module (line 547) | def parse_module( # pylint: disable=arguments-differ,arguments-renamed class Skill (line 564) | class Skill(Component): method __init__ (line 569) | def __init__( method _set_models_on_context (line 605) | def _set_models_on_context(self) -> None: method skill_context (line 613) | def skill_context(self) -> SkillContext: method handlers (line 620) | def handlers(self) -> Dict[str, Handler]: method behaviours (line 625) | def behaviours(self) -> Dict[str, Behaviour]: method models (line 630) | def models(self) -> Dict[str, Model]: method from_dir (line 635) | def from_dir( method logger (line 654) | def logger(self) -> Logger: method logger (line 666) | def logger(self, *args: str) -> None: method from_config (line 671) | def from_config( function _parse_module (line 705) | def _parse_module( function _print_warning_message_for_non_declared_skill_components (line 787) | def _print_warning_message_for_non_declared_skill_components( class _SkillComponentLoadingItem (line 811) | class _SkillComponentLoadingItem: # pylint: disable=too-few-public-methods method __init__ (line 814) | def __init__( class _SkillComponentLoader (line 828) | class _SkillComponentLoader: method __init__ (line 831) | def __init__( method load_skill (line 847) | def load_skill(self) -> Skill: method _update_skill (line 864) | def _update_skill(self, components: _ComponentsHelperIndex) -> None: method _get_python_modules (line 874) | def _get_python_modules(self) -> Set[Path]: method _compute_module_dotted_path (line 895) | def _compute_module_dotted_path(cls, module_path: Path) -> str: method _filter_classes (line 900) | def _filter_classes( method _load_component_classes (line 929) | def _load_component_classes( method _get_declared_skill_component_configurations (line 954) | def _get_declared_skill_component_configurations( method _get_component_instances (line 978) | def _get_component_instances( method _get_skill_component_type (line 1000) | def _get_skill_component_type( method _match_class_and_configurations (line 1019) | def _match_class_and_configurations( method _print_warning_message_for_unused_classes (line 1139) | def _print_warning_message_for_unused_classes( method _type_to_str (line 1189) | def _type_to_str(cls, component_type: _SKILL_COMPONENT_TYPES) -> str: method _get_error_message_prefix (line 1193) | def _get_error_message_prefix(self) -> str: method _get_error_message_ambiguous_classes (line 1197) | def _get_error_message_ambiguous_classes( FILE: aea/skills/behaviours.py class SimpleBehaviour (line 29) | class SimpleBehaviour(Behaviour, ABC): method __init__ (line 32) | def __init__(self, act: Optional[Callable[[], None]] = None, **kwargs:... method setup (line 43) | def setup(self) -> None: method act (line 46) | def act(self) -> None: method teardown (line 50) | def teardown(self) -> None: class CompositeBehaviour (line 54) | class CompositeBehaviour(Behaviour, ABC): class CyclicBehaviour (line 58) | class CyclicBehaviour(SimpleBehaviour, ABC): method __init__ (line 61) | def __init__(self, **kwargs: Any) -> None: method number_of_executions (line 67) | def number_of_executions(self) -> int: method act_wrapper (line 71) | def act_wrapper(self) -> None: method is_done (line 77) | def is_done(self) -> bool: class OneShotBehaviour (line 87) | class OneShotBehaviour(SimpleBehaviour, ABC): method __init__ (line 90) | def __init__(self, **kwargs: Any) -> None: method is_done (line 95) | def is_done(self) -> bool: method act_wrapper (line 99) | def act_wrapper(self) -> None: class TickerBehaviour (line 106) | class TickerBehaviour(SimpleBehaviour, ABC): method __init__ (line 109) | def __init__( method tick_interval (line 134) | def tick_interval(self) -> float: method start_at (line 139) | def start_at(self) -> datetime.datetime: method last_act_time (line 144) | def last_act_time(self) -> datetime.datetime: method act_wrapper (line 148) | def act_wrapper(self) -> None: method is_time_to_act (line 154) | def is_time_to_act(self) -> bool: class SequenceBehaviour (line 167) | class SequenceBehaviour(CompositeBehaviour, ABC): method __init__ (line 170) | def __init__(self, behaviour_sequence: List[Behaviour], **kwargs: Any)... method current_behaviour (line 184) | def current_behaviour(self) -> Optional[Behaviour]: method _increase_index_if_possible (line 198) | def _increase_index_if_possible(self) -> None: method act (line 202) | def act(self) -> None: method is_done (line 218) | def is_done(self) -> bool: class State (line 223) | class State(SimpleBehaviour, ABC): method __init__ (line 234) | def __init__(self, **kwargs: Any) -> None: method event (line 240) | def event(self) -> Optional[str]: method is_done (line 245) | def is_done(self) -> bool: method reset (line 249) | def reset(self) -> None: class FSMBehaviour (line 253) | class FSMBehaviour(CompositeBehaviour, ABC): method __init__ (line 256) | def __init__(self, **kwargs: Any) -> None: method is_started (line 269) | def is_started(self) -> bool: method register_state (line 273) | def register_state(self, name: str, state: State, initial: bool = Fals... method register_final_state (line 289) | def register_final_state(self, name: str, state: State) -> None: method unregister_state (line 302) | def unregister_state(self, name: str) -> None: method states (line 321) | def states(self) -> Set[str]: method initial_state (line 326) | def initial_state(self) -> Optional[str]: method initial_state (line 331) | def initial_state(self, name: str) -> None: method final_states (line 339) | def final_states(self) -> Set[str]: method get_state (line 343) | def get_state(self, name: str) -> Optional[State]: method act (line 347) | def act(self) -> None: method is_done (line 366) | def is_done(self) -> bool: method register_transition (line 370) | def register_transition( method unregister_transition (line 388) | def unregister_transition( FILE: aea/skills/scaffold/behaviours.py class MyScaffoldBehaviour (line 25) | class MyScaffoldBehaviour(Behaviour): method setup (line 28) | def setup(self) -> None: method act (line 32) | def act(self) -> None: method teardown (line 36) | def teardown(self) -> None: FILE: aea/skills/scaffold/handlers.py class MyScaffoldHandler (line 29) | class MyScaffoldHandler(Handler): method setup (line 34) | def setup(self) -> None: method handle (line 38) | def handle(self, message: Message) -> None: method teardown (line 46) | def teardown(self) -> None: FILE: aea/skills/scaffold/my_model.py class MyModel (line 25) | class MyModel(Model): FILE: aea/skills/tasks.py class Task (line 36) | class Task(WithLogger): method __init__ (line 39) | def __init__(self, **kwargs: Any) -> None: method __call__ (line 47) | def __call__(self, *args: Any, **kwargs: Any) -> Any: method is_executed (line 74) | def is_executed(self) -> bool: method result (line 79) | def result(self) -> Any: method setup (line 90) | def setup(self) -> None: method execute (line 94) | def execute(self, *args: Any, **kwargs: Any) -> Any: method teardown (line 103) | def teardown(self) -> None: function init_worker (line 108) | def init_worker() -> None: # pragma: nocover function _init_worker (line 120) | def _init_worker(mode: str, packages: Dict[str, List[Dict[str, str]]]) -... class TaskManager (line 135) | class TaskManager(WithLogger): method __init__ (line 143) | def __init__( method is_started (line 170) | def is_started(self) -> bool: method nb_workers (line 179) | def nb_workers(self) -> int: method enqueue_task (line 187) | def enqueue_task( method get_task_result (line 221) | def get_task_result(self, task_id: int) -> AsyncResult: method start (line 236) | def start(self) -> None: method stop (line 247) | def stop(self) -> None: method _start_pool (line 257) | def _start_pool(self) -> None: method _stop_pool (line 277) | def _stop_pool(self) -> None: class ThreadedTaskManager (line 289) | class ThreadedTaskManager(TaskManager): method __init__ (line 292) | def __init__( class ProcessTaskManager (line 313) | class ProcessTaskManager(TaskManager): method __init__ (line 316) | def __init__( FILE: aea/test_tools/click_testing.py class CliRunner (line 40) | class CliRunner(ClickCliRunner): method invoke (line 43) | def invoke( # type: ignore FILE: aea/test_tools/exceptions.py class AEATestingException (line 23) | class AEATestingException(Exception): FILE: aea/test_tools/generic.py function write_envelope_to_file (line 43) | def write_envelope_to_file(envelope: Envelope, file_path: str) -> None: function read_envelope_from_file (line 54) | def read_envelope_from_file(file_path: str) -> Envelope: function _nested_set (line 86) | def _nested_set( function nested_set_config (line 168) | def nested_set_config( FILE: aea/test_tools/test_cases.py class BaseAEATestCase (line 78) | class BaseAEATestCase(ABC): # pylint: disable=too-many-public-methods method set_agent_context (line 102) | def set_agent_context(cls, agent_name: str) -> None: method unset_agent_context (line 107) | def unset_agent_context(cls) -> None: method set_config (line 112) | def set_config( method nested_set_config (line 140) | def nested_set_config(cls, dotted_path: str, value: Any) -> None: method disable_aea_logging (line 146) | def disable_aea_logging(cls) -> None: method run_cli_command (line 160) | def run_cli_command(cls, *args: str, cwd: str = ".", **kwargs: str) ->... method _run_python_subprocess (line 190) | def _run_python_subprocess(cls, *args: str, cwd: str = ".") -> subproc... method start_subprocess (line 215) | def start_subprocess(cls, *args: str, cwd: str = ".") -> subprocess.Po... method start_thread (line 230) | def start_thread(cls, target: Callable, **kwargs: subprocess.Popen) ->... method create_agents (line 247) | def create_agents( method fetch_agent (line 267) | def fetch_agent( method difference_to_fetched_agent (line 284) | def difference_to_fetched_agent(cls, public_id: str, agent_name: str) ... method delete_agents (line 385) | def delete_agents(cls, *agents_names: str) -> None: method run_agent (line 396) | def run_agent(cls, *args: str) -> subprocess.Popen: method run_interaction (line 409) | def run_interaction(cls) -> subprocess.Popen: method _start_cli_process (line 420) | def _start_cli_process(cls, *args: str) -> subprocess.Popen: method terminate_agents (line 435) | def terminate_agents( method is_successfully_terminated (line 458) | def is_successfully_terminated(cls, *subprocesses: subprocess.Popen) -... method initialize_aea (line 467) | def initialize_aea(cls, author: str) -> None: method add_item (line 472) | def add_item(cls, item_type: str, public_id: str, local: bool = True) ... method remove_item (line 490) | def remove_item(cls, item_type: str, public_id: str) -> Result: method scaffold_item (line 505) | def scaffold_item( method fingerprint_item (line 529) | def fingerprint_item(cls, item_type: str, public_id: str) -> Result: method eject_item (line 545) | def eject_item(cls, item_type: str, public_id: str) -> Result: method run_install (line 560) | def run_install(cls) -> Result: method generate_private_key (line 571) | def generate_private_key( method add_private_key (line 595) | def add_private_key( method remove_private_key (line 633) | def remove_private_key( method replace_private_key_in_file (line 652) | def replace_private_key_in_file( method generate_wealth (line 667) | def generate_wealth( method get_wealth (line 690) | def get_wealth( method get_address (line 712) | def get_address( method replace_file_content (line 734) | def replace_file_content(cls, src: Path, dest: Path) -> None: # pragm... method change_directory (line 747) | def change_directory(cls, path: Path) -> None: method _terminate_subprocesses (line 756) | def _terminate_subprocesses(cls) -> None: method _join_threads (line 767) | def _join_threads(cls) -> None: method _read_out (line 774) | def _read_out( method _read_err (line 784) | def _read_err( method _log_capture (line 793) | def _log_capture(cls, name: str, pid: int, line: str) -> None: # prag... method _start_output_read_thread (line 800) | def _start_output_read_thread(cls, process: subprocess.Popen) -> None: method _start_error_read_thread (line 810) | def _start_error_read_thread(cls, process: subprocess.Popen) -> None: method _get_cwd (line 820) | def _get_cwd(cls) -> str: method send_envelope_to_agent (line 825) | def send_envelope_to_agent(cls, envelope: Envelope, agent: str) -> None: method read_envelope_from_agent (line 834) | def read_envelope_from_agent(cls, agent: str) -> Envelope: method missing_from_output (line 839) | def missing_from_output( method is_running (line 885) | def is_running( method invoke (line 902) | def invoke(cls, *args: str) -> Result: method load_agent_config (line 911) | def load_agent_config(cls, agent_name: str) -> AgentConfig: method setup_class (line 927) | def setup_class(cls) -> None: method teardown_class (line 954) | def teardown_class(cls) -> None: function _get_password_option_args (line 975) | def _get_password_option_args(password: Optional[str]) -> List[str]: class AEATestCaseEmpty (line 985) | class AEATestCaseEmpty(BaseAEATestCase): method setup_class (line 997) | def setup_class(cls) -> None: method teardown_class (line 1007) | def teardown_class(cls) -> None: class AEATestCaseEmptyFlaky (line 1013) | class AEATestCaseEmptyFlaky(AEATestCaseEmpty): method setup_class (line 1025) | def setup_class(cls) -> None: method teardown_class (line 1033) | def teardown_class(cls) -> None: class AEATestCaseMany (line 1038) | class AEATestCaseMany(BaseAEATestCase): method setup_class (line 1042) | def setup_class(cls) -> None: method teardown_class (line 1047) | def teardown_class(cls) -> None: class AEATestCaseManyFlaky (line 1052) | class AEATestCaseManyFlaky(AEATestCaseMany): method setup_class (line 1062) | def setup_class(cls) -> None: method teardown_class (line 1070) | def teardown_class(cls) -> None: class AEATestCase (line 1075) | class AEATestCase(BaseAEATestCase): method setup_class (line 1090) | def setup_class(cls) -> None: method teardown_class (line 1112) | def teardown_class(cls) -> None: FILE: aea/test_tools/test_contract.py class BaseContractTestCase (line 41) | class BaseContractTestCase(ABC): method contract (line 59) | def contract(self) -> Contract: method setup (line 68) | def setup(cls, **kwargs: Any) -> None: method finish_contract_deployment (line 129) | def finish_contract_deployment(cls) -> str: method refill_from_faucet (line 137) | def refill_from_faucet( method sign_send_confirm_receipt_multisig_transaction (line 150) | def sign_send_confirm_receipt_multisig_transaction( method sign_send_confirm_receipt_transaction (line 195) | def sign_send_confirm_receipt_transaction( method _deploy_contract (line 219) | def _deploy_contract( FILE: aea/test_tools/test_skill.py class BaseSkillTestCase (line 45) | class BaseSkillTestCase: method skill (line 55) | def skill(self) -> Skill: method get_quantity_in_outbox (line 63) | def get_quantity_in_outbox(self) -> int: method get_message_from_outbox (line 67) | def get_message_from_outbox(self) -> Optional[Message]: method drop_messages_from_outbox (line 74) | def drop_messages_from_outbox(self, number: int = 1) -> None: method get_quantity_in_decision_maker_inbox (line 80) | def get_quantity_in_decision_maker_inbox(self) -> int: method get_message_from_decision_maker_inbox (line 84) | def get_message_from_decision_maker_inbox(self) -> Optional[Message]: method drop_messages_from_decision_maker_inbox (line 90) | def drop_messages_from_decision_maker_inbox(self, number: int = 1) -> ... method assert_quantity_in_outbox (line 98) | def assert_quantity_in_outbox(self, expected_quantity: int) -> None: method assert_quantity_in_decision_making_queue (line 105) | def assert_quantity_in_decision_making_queue(self, expected_quantity: ... method message_has_attributes (line 113) | def message_has_attributes( method build_incoming_message (line 148) | def build_incoming_message( method build_incoming_message_for_skill_dialogue (line 211) | def build_incoming_message_for_skill_dialogue( method _provide_unspecified_fields (line 285) | def _provide_unspecified_fields( method _non_initial_incoming_message_dialogue_reference (line 307) | def _non_initial_incoming_message_dialogue_reference( method _extract_message_fields (line 328) | def _extract_message_fields( method prepare_skill_dialogue (line 351) | def prepare_skill_dialogue( method setup (line 460) | def setup(cls, **kwargs: Any) -> None: FILE: benchmark/cases/cpu_burn.py function cpu_burn (line 27) | def cpu_burn( FILE: benchmark/cases/helpers/dummy_handler.py class DummyHandler (line 28) | class DummyHandler(Handler): method setup (line 33) | def setup(self) -> None: method teardown (line 36) | def teardown(self) -> None: method handle (line 39) | def handle(self, message: Message) -> None: FILE: benchmark/cases/react_multi_agents_fake_connection.py function _make_custom_config (line 36) | def _make_custom_config(name: str = "dummy_agent", skills_num: int = 1) ... function react_speed_in_loop (line 58) | def react_speed_in_loop( FILE: benchmark/cases/react_speed_in_loop.py function react_speed_in_loop (line 29) | def react_speed_in_loop(benchmark: BenchmarkControl, inbox_amount: int =... FILE: benchmark/cases/react_speed_multi_agents.py function _make_custom_config (line 31) | def _make_custom_config(name: str = "dummy_agent", skills_num: int = 1) ... function react_speed_in_loop (line 53) | def react_speed_in_loop( FILE: benchmark/checks/check_agent_construction_time.py function run (line 47) | def run(agents: int) -> List[Tuple[str, Union[int, float]]]: function main (line 92) | def main(agents: int, number_of_runs: int, output_format: str) -> Any: FILE: benchmark/checks/check_decision_maker.py class SigningDialogues (line 54) | class SigningDialogues(BaseSigningDialogues): method __init__ (line 57) | def __init__(self, self_address: Address) -> None: # pylint: disable=... function make_desc_maker_wallet (line 86) | def make_desc_maker_wallet( function sign_txs (line 105) | def sign_txs( function run (line 185) | def run(ledger_id: str, amount_of_tx: int) -> List[Tuple[str, Union[int,... function main (line 216) | def main( FILE: benchmark/checks/check_dialogues_memory_usage.py class DialogueHandler (line 48) | class DialogueHandler: method __init__ (line 51) | def __init__(self) -> None: method random_string (line 62) | def random_string(self) -> str: method process_message (line 66) | def process_message(self) -> None: method update (line 72) | def update(self, message: HttpMessage) -> HttpDialogue: method reply (line 77) | def reply(dialogue: HttpDialogue, message: HttpMessage) -> Message: method create (line 89) | def create(self) -> HttpMessage: function run (line 105) | def run(messages_amount: int) -> List[Tuple[str, Union[float, int]]]: function main (line 124) | def main(messages: str, number_of_runs: int, output_format: str) -> Any: FILE: benchmark/checks/check_mem_usage.py class TestHandler (line 46) | class TestHandler(Handler): method setup (line 51) | def setup(self) -> None: method teardown (line 54) | def teardown(self) -> None: method handle (line 57) | def handle(self, message: Message) -> None: function run (line 62) | def run(duration: int, runtime_mode: str) -> List[Tuple[str, Union[int, ... function main (line 101) | def main( FILE: benchmark/checks/check_messages_memory_usage.py function make_message (line 44) | def make_message() -> Message: function run (line 55) | def run(messages_amount: int) -> List[Tuple[str, Union[int, float]]]: function main (line 77) | def main(messages: int, number_of_runs: int, output_format: str) -> Any: FILE: benchmark/checks/check_multiagent.py class TestHandler (line 59) | class TestHandler(Handler): method setup (line 64) | def setup(self) -> None: method teardown (line 77) | def teardown(self) -> None: method handle (line 80) | def handle(self, message: Message) -> None: function run (line 115) | def run( function main (line 231) | def main( FILE: benchmark/checks/check_multiagent_http_dialogues.py class HttpPingPongHandler (line 63) | class HttpPingPongHandler(Handler): method setup (line 68) | def setup(self) -> None: method teardown (line 85) | def teardown(self) -> None: method handle (line 88) | def handle(self, message: Message) -> None: method make_response (line 107) | def make_response(self, dialogue: HttpDialogue, message: HttpMessage) ... method make_request (line 120) | def make_request(self, recipient_addr: str) -> None: function make_agent (line 134) | def make_agent(*args: Any, **kwargs: Any) -> AEA: function run (line 143) | def run( function main (line 262) | def main( FILE: benchmark/checks/check_proactive.py class TestBehaviour (line 44) | class TestBehaviour(Behaviour): method setup (line 51) | def setup(self) -> None: method teardown (line 55) | def teardown(self) -> None: method act (line 58) | def act(self) -> None: function run (line 66) | def run(duration: int, runtime_mode: str) -> List[Tuple[str, Union[int, ... function main (line 100) | def main( FILE: benchmark/checks/check_reactive.py class TestConnectionMixIn (line 48) | class TestConnectionMixIn: method __init__ (line 51) | def __init__(self, *args: Any, **kwargs: Any): method send (line 57) | async def send(self, envelope: Envelope) -> None: method receive (line 62) | async def receive(self, *args: Any, **kwargs: Any) -> Optional[Envelope]: class TestHandler (line 72) | class TestHandler(Handler): method setup (line 77) | def setup(self) -> None: method teardown (line 80) | def teardown(self) -> None: method handle (line 83) | def handle(self, message: Message) -> None: function run (line 88) | def run( function main (line 150) | def main( FILE: benchmark/checks/utils.py function wait_for_condition (line 69) | def wait_for_condition( function make_agent (line 81) | def make_agent( function make_envelope (line 117) | def make_envelope( class GeneratorConnection (line 138) | class GeneratorConnection(Connection): method __init__ (line 144) | def __init__(self, *args: Any, **kwargs: Any): method enable (line 151) | def enable(self) -> None: method disable (line 155) | def disable(self) -> None: method connect (line 159) | async def connect(self) -> None: method disconnect (line 163) | async def disconnect(self) -> None: method send (line 167) | async def send(self, envelope: "Envelope") -> None: method receive (line 171) | async def receive(self, *args: Any, **kwargs: Any) -> Optional["Envelo... method make (line 181) | def make( class SyncedGeneratorConnection (line 196) | class SyncedGeneratorConnection(GeneratorConnection): method __init__ (line 199) | def __init__(self, *args: Any, **kwargs: Any) -> None: method condition (line 205) | def condition(self) -> asyncio.Event: method connect (line 211) | async def connect(self) -> None: method send (line 217) | async def send(self, envelope: "Envelope") -> None: method receive (line 222) | async def receive(self, *args: Any, **kwargs: Any) -> Optional["Envelo... function make_skill (line 229) | def make_skill( function get_mem_usage_in_mb (line 250) | def get_mem_usage_in_mb() -> float: function multi_run (line 255) | def multi_run( function print_results (line 282) | def print_results( FILE: benchmark/framework/aea_test_wrapper.py class AEATestWrapper (line 39) | class AEATestWrapper: method __init__ (line 42) | def __init__(self, name: str = "my_aea", components: List[Component] =... method make_aea (line 56) | def make_aea( method make_skill (line 81) | def make_skill( method dummy_default_message (line 113) | def dummy_default_message( method dummy_envelope (line 144) | def dummy_envelope( method set_loop_timeout (line 167) | def set_loop_timeout(self, period: float) -> None: method setup (line 175) | def setup(self) -> None: method stop (line 179) | def stop(self) -> None: method put_inbox (line 183) | def put_inbox(self, envelope: Envelope) -> None: method is_inbox_empty (line 191) | def is_inbox_empty(self) -> bool: method __enter__ (line 199) | def __enter__(self) -> None: method __exit__ (line 203) | def __exit__( # type: ignore # pylint: disable=useless-return method start_loop (line 210) | def start_loop(self) -> None: method stop_loop (line 215) | def stop_loop(self) -> None: method is_running (line 222) | def is_running(self) -> bool: method set_fake_connection (line 230) | def set_fake_connection( method is_messages_in_fake_connection (line 248) | def is_messages_in_fake_connection(self) -> bool: FILE: benchmark/framework/benchmark.py class BenchmarkControl (line 23) | class BenchmarkControl: method __init__ (line 28) | def __init__(self) -> None: method start (line 32) | def start(self) -> None: method wait_msg (line 36) | def wait_msg(self) -> str: FILE: benchmark/framework/cli.py class DefaultArgumentsMultiple (line 32) | class DefaultArgumentsMultiple(Argument): method __init__ (line 35) | def __init__(self, *args: Any, **kwargs: Any) -> None: method full_process_value (line 42) | def full_process_value(self, ctx: Context, value: Any) -> Any: method _parse_arg_str (line 58) | def _parse_arg_str(args: str) -> Tuple[Any]: class TestCli (line 74) | class TestCli: method __init__ (line 77) | def __init__( method report_printer (line 117) | def report_printer(self) -> ReportPrinter: method _make_command (line 123) | def _make_command(self) -> Command: method _make_command_params (line 136) | def _make_command_params(self) -> Optional[List[Parameter]]: method _make_help (line 144) | def _make_help(self) -> str: method _executor_params (line 162) | def _executor_params() -> Dict[str, Parameter]: method _call_params (line 188) | def _call_params(self) -> List[Parameter]: method run (line 214) | def run(self) -> None: method _command_callback (line 219) | def _command_callback(self, **params: Any) -> None: method _draw_plot (line 249) | def _draw_plot( method _draw_resource (line 284) | def _draw_resource( method _execute_num_times (line 308) | def _execute_num_times( method print_help (line 326) | def print_help(self) -> None: FILE: benchmark/framework/executor.py class TimeItResult (line 37) | class TimeItResult: # pylint: disable=too-few-public-methods method __init__ (line 40) | def __init__(self) -> None: function timeit_context (line 46) | def timeit_context() -> Generator: class ExecReport (line 68) | class ExecReport: method __init__ (line 71) | def __init__( method cpu (line 95) | def cpu(self) -> List[float]: method mem (line 104) | def mem(self) -> List[float]: method __str__ (line 112) | def __str__(self) -> str: class Executor (line 134) | class Executor: method __init__ (line 137) | def __init__(self, period: float = 0.1, timeout: float = 30): method run (line 147) | def run(self, func: Callable, args: tuple) -> ExecReport: method _prepare (line 161) | def _prepare(func: Callable, args: tuple) -> Process: method _measure (line 178) | def _measure( method _get_stats_record (line 211) | def _get_stats_record(proc_info: psutil.Process) -> ResourceStats: method _report (line 225) | def _report( FILE: benchmark/framework/fake_connection.py class FakeConnection (line 27) | class FakeConnection(Connection): method __init__ (line 30) | def __init__(self, envelope: Envelope, num: int, *args: Any, **kwargs:... method connect (line 44) | async def connect(self) -> None: method disconnect (line 47) | async def disconnect(self) -> None: method send (line 51) | async def send(self, envelope: Envelope) -> None: method receive (line 60) | async def receive(self, *args: Any, **kwargs: Any) -> Optional[Envelope]: FILE: benchmark/framework/func_details.py class BaseFuncDetails (line 25) | class BaseFuncDetails: method __init__ (line 28) | def __init__(self, func: Callable): method doc (line 37) | def doc(self) -> str: method name (line 46) | def name(self) -> str: method _arguments (line 55) | def _arguments(self) -> List[Parameter]: method argument_names (line 65) | def argument_names(self) -> List[str]: method default_argument_values (line 74) | def default_argument_values(self) -> List[Any]: method default_argument_values_as_string (line 86) | def default_argument_values_as_string(self) -> str: class BenchmarkFuncDetails (line 95) | class BenchmarkFuncDetails(BaseFuncDetails): method check (line 106) | def check(self) -> None: method _arguments (line 127) | def _arguments(self) -> List[Parameter]: FILE: benchmark/framework/report_printer.py class ContextPrinter (line 29) | class ContextPrinter: method __init__ (line 32) | def __init__(self, func_details: BaseFuncDetails, executor_params: dic... method print_context_information (line 42) | def print_context_information(self) -> None: method _print_executor_details (line 48) | def _print_executor_details(self) -> None: method _print_func_details (line 54) | def _print_func_details(self) -> None: class PerformanceReport (line 68) | class PerformanceReport: method __init__ (line 71) | def __init__(self, exec_reports: List[ExecReport]): method arguments (line 80) | def arguments(self) -> Tuple[Any, ...]: method report_time (line 89) | def report_time(self) -> datetime: method number_of_runs (line 98) | def number_of_runs(self) -> int: method number_of_terminates (line 107) | def number_of_terminates(self) -> int: method resources (line 116) | def resources(self) -> List[ResourceRecord]: method _make_resource (line 138) | def _make_resource( method _count_resource (line 159) | def _count_resource( class ReportPrinter (line 181) | class ReportPrinter(ContextPrinter): method _print_header (line 185) | def _print_header(report: PerformanceReport) -> None: method _print_resources (line 204) | def _print_resources(report: PerformanceReport) -> None: method print_report (line 215) | def print_report(self, report: PerformanceReport) -> None: FILE: examples/aealite_go/default/default.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) constant _ (line 26) | _ = proto.ProtoPackageIsVersion4 type DefaultMessage_ErrorCode_ErrorCodeEnum (line 28) | type DefaultMessage_ErrorCode_ErrorCodeEnum method Enum (line 56) | func (x DefaultMessage_ErrorCode_ErrorCodeEnum) Enum() *DefaultMessage... method String (line 62) | func (x DefaultMessage_ErrorCode_ErrorCodeEnum) String() string { method Descriptor (line 66) | func (DefaultMessage_ErrorCode_ErrorCodeEnum) Descriptor() protoreflec... method Type (line 70) | func (DefaultMessage_ErrorCode_ErrorCodeEnum) Type() protoreflect.Enum... method Number (line 74) | func (x DefaultMessage_ErrorCode_ErrorCodeEnum) Number() protoreflect.... method EnumDescriptor (line 79) | func (DefaultMessage_ErrorCode_ErrorCodeEnum) EnumDescriptor() ([]byte... constant DefaultMessage_ErrorCode_UNSUPPORTED_PROTOCOL (line 31) | DefaultMessage_ErrorCode_UNSUPPORTED_PROTOCOL DefaultMessage_ErrorCode_E... constant DefaultMessage_ErrorCode_DECODING_ERROR (line 32) | DefaultMessage_ErrorCode_DECODING_ERROR DefaultMessage_ErrorCode_E... constant DefaultMessage_ErrorCode_INVALID_MESSAGE (line 33) | DefaultMessage_ErrorCode_INVALID_MESSAGE DefaultMessage_ErrorCode_E... constant DefaultMessage_ErrorCode_UNSUPPORTED_SKILL (line 34) | DefaultMessage_ErrorCode_UNSUPPORTED_SKILL DefaultMessage_ErrorCode_E... constant DefaultMessage_ErrorCode_INVALID_DIALOGUE (line 35) | DefaultMessage_ErrorCode_INVALID_DIALOGUE DefaultMessage_ErrorCode_E... type DefaultMessage (line 83) | type DefaultMessage struct method Reset (line 95) | func (x *DefaultMessage) Reset() { method String (line 104) | func (x *DefaultMessage) String() string { method ProtoMessage (line 108) | func (*DefaultMessage) ProtoMessage() {} method ProtoReflect (line 110) | func (x *DefaultMessage) ProtoReflect() protoreflect.Message { method Descriptor (line 123) | func (*DefaultMessage) Descriptor() ([]byte, []int) { method GetPerformative (line 127) | func (m *DefaultMessage) GetPerformative() isDefaultMessage_Performati... method GetBytes (line 134) | func (x *DefaultMessage) GetBytes() *DefaultMessage_Bytes_Performative { method GetEnd (line 141) | func (x *DefaultMessage) GetEnd() *DefaultMessage_End_Performative { method GetError (line 148) | func (x *DefaultMessage) GetError() *DefaultMessage_Error_Performative { type isDefaultMessage_Performative (line 155) | type isDefaultMessage_Performative interface type DefaultMessage_Bytes (line 159) | type DefaultMessage_Bytes struct method isDefaultMessage_Performative (line 171) | func (*DefaultMessage_Bytes) isDefaultMessage_Performative() {} type DefaultMessage_End (line 163) | type DefaultMessage_End struct method isDefaultMessage_Performative (line 173) | func (*DefaultMessage_End) isDefaultMessage_Performative() {} type DefaultMessage_Error (line 167) | type DefaultMessage_Error struct method isDefaultMessage_Performative (line 175) | func (*DefaultMessage_Error) isDefaultMessage_Performative() {} type DefaultMessage_ErrorCode (line 178) | type DefaultMessage_ErrorCode struct method Reset (line 186) | func (x *DefaultMessage_ErrorCode) Reset() { method String (line 195) | func (x *DefaultMessage_ErrorCode) String() string { method ProtoMessage (line 199) | func (*DefaultMessage_ErrorCode) ProtoMessage() {} method ProtoReflect (line 201) | func (x *DefaultMessage_ErrorCode) ProtoReflect() protoreflect.Message { method Descriptor (line 214) | func (*DefaultMessage_ErrorCode) Descriptor() ([]byte, []int) { method GetErrorCode (line 218) | func (x *DefaultMessage_ErrorCode) GetErrorCode() DefaultMessage_Error... type DefaultMessage_Bytes_Performative (line 226) | type DefaultMessage_Bytes_Performative struct method Reset (line 234) | func (x *DefaultMessage_Bytes_Performative) Reset() { method String (line 243) | func (x *DefaultMessage_Bytes_Performative) String() string { method ProtoMessage (line 247) | func (*DefaultMessage_Bytes_Performative) ProtoMessage() {} method ProtoReflect (line 249) | func (x *DefaultMessage_Bytes_Performative) ProtoReflect() protoreflec... method Descriptor (line 262) | func (*DefaultMessage_Bytes_Performative) Descriptor() ([]byte, []int) { method GetContent (line 266) | func (x *DefaultMessage_Bytes_Performative) GetContent() []byte { type DefaultMessage_Error_Performative (line 273) | type DefaultMessage_Error_Performative struct method Reset (line 283) | func (x *DefaultMessage_Error_Performative) Reset() { method String (line 292) | func (x *DefaultMessage_Error_Performative) String() string { method ProtoMessage (line 296) | func (*DefaultMessage_Error_Performative) ProtoMessage() {} method ProtoReflect (line 298) | func (x *DefaultMessage_Error_Performative) ProtoReflect() protoreflec... method Descriptor (line 311) | func (*DefaultMessage_Error_Performative) Descriptor() ([]byte, []int) { method GetErrorCode (line 315) | func (x *DefaultMessage_Error_Performative) GetErrorCode() *DefaultMes... method GetErrorMsg (line 322) | func (x *DefaultMessage_Error_Performative) GetErrorMsg() string { method GetErrorData (line 329) | func (x *DefaultMessage_Error_Performative) GetErrorData() map[string]... type DefaultMessage_End_Performative (line 336) | type DefaultMessage_End_Performative struct method Reset (line 342) | func (x *DefaultMessage_End_Performative) Reset() { method String (line 351) | func (x *DefaultMessage_End_Performative) String() string { method ProtoMessage (line 355) | func (*DefaultMessage_End_Performative) ProtoMessage() {} method ProtoReflect (line 357) | func (x *DefaultMessage_End_Performative) ProtoReflect() protoreflect.... method Descriptor (line 370) | func (*DefaultMessage_End_Performative) Descriptor() ([]byte, []int) { function file_default_proto_rawDescGZIP (line 444) | func file_default_proto_rawDescGZIP() []byte { function init (line 476) | func init() { file_default_proto_init() } function file_default_proto_init (line 477) | func file_default_proto_init() { FILE: examples/gym_ex/gyms/env.py class BanditEnv (line 41) | class BanditEnv(gym.Env): method __init__ (line 44) | def __init__( method reset (line 74) | def reset() -> Observation: # type:ignore # pylint: disable=argument... method step (line 83) | def step(self, action: Action) -> Feedback: # type: ignore method render (line 112) | def render( # pylint: disable=arguments-differ class BanditNArmedRandom (line 123) | class BanditNArmedRandom(BanditEnv): method __init__ (line 126) | def __init__( FILE: examples/gym_ex/proxy/agent.py class ProxyAgent (line 48) | class ProxyAgent(Agent): method __init__ (line 51) | def __init__(self, name: str, gym_env: gym.Env, proxy_env_queue: Queue... method setup (line 75) | def setup(self) -> None: method act (line 78) | def act(self) -> None: method handle_envelope (line 81) | def handle_envelope(self, envelope: Envelope) -> None: method teardown (line 90) | def teardown(self) -> None: FILE: examples/gym_ex/proxy/env.py function role_from_first_message (line 75) | def role_from_first_message( # pylint: disable=unused-argument class ProxyEnv (line 87) | class ProxyEnv(gym.Env): method __init__ (line 90) | def __init__(self, gym_env: gym.Env) -> None: method active_dialogue (line 109) | def active_dialogue(self) -> GymDialogue: method step (line 115) | def step(self, action: Action) -> Feedback: # type: ignore method render (line 144) | def render(self, mode: str = "human") -> None: method reset (line 158) | def reset(self) -> None: # type: ignore # pylint: disable=arguments-d... method close (line 175) | def close(self) -> None: method _connect (line 188) | def _connect(self) -> None: method _disconnect (line 197) | def _disconnect(self) -> None: method _encode_and_send_action (line 202) | def _encode_and_send_action(self, action: Action, step_id: int) -> None: method _decode_percept (line 221) | def _decode_percept(self, envelope: Envelope, expected_step_id: int) -... method _decode_status (line 259) | def _decode_status(self, envelope: Envelope) -> None: method _message_to_percept (line 296) | def _message_to_percept(message: GymMessage) -> Feedback: FILE: examples/gym_ex/rl/agent.py class PriceBandit (line 41) | class PriceBandit: method __init__ (line 44) | def __init__(self, price: float, beta_a: float = 1.0, beta_b: float = ... method sample (line 57) | def sample(self) -> int: method update (line 65) | def update(self, outcome: float) -> None: class GoodPriceModel (line 75) | class GoodPriceModel: method __init__ (line 78) | def __init__(self, bound: int = 100): method update (line 84) | def update(self, outcome: float, price: int) -> None: method get_price_expectation (line 94) | def get_price_expectation(self) -> int: class RLAgent (line 110) | class RLAgent: method __init__ (line 113) | def __init__(self, nb_goods: int = 10) -> None: method _pick_an_action (line 123) | def _pick_an_action(self) -> Action: method _update_model (line 140) | def _update_model( # pylint: disable=unused-argument method _get_random_next_good (line 163) | def _get_random_next_good(self) -> int: method fit (line 171) | def fit(self, env: gym.Env, nb_steps: int) -> None: FILE: install_packages.py function _load_groups (line 31) | def _load_groups(): function _load_dependencies (line 36) | def _load_dependencies() -> List[str]: FILE: libs/go/aea_end2end/main.go function getRole (line 35) | func getRole(protocols.ProtocolMessageInterface, protocols.Address) prot... function makeSellerDialogues (line 39) | func makeSellerDialogues(address string) *protocols.Dialogues { function handleEnvelope (line 78) | func handleEnvelope( function getEnvelopeAndProcess (line 193) | func getEnvelopeAndProcess( function main (line 203) | func main() { FILE: libs/go/aea_end2end/pexpect_popen.py class PexpectWrapper (line 33) | class PexpectWrapper(PopenSpawn): method __init__ (line 36) | def __init__(self, *args, **kwargs): method control_c (line 43) | def control_c(self) -> None: method returncode (line 49) | def returncode(self) -> Optional[Union[int, str]]: method wait_to_complete (line 53) | def wait_to_complete(self, timeout: float = 5) -> None: method expect_all (line 74) | def expect_all( method wait_eof (line 97) | def wait_eof(self, timeout: float = 10) -> None: method terminate (line 105) | def terminate(self, *args, **kwargs) -> None: FILE: libs/go/aea_end2end/protocols/fipa.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) constant _ (line 26) | _ = proto.ProtoPackageIsVersion4 type FipaMessage (line 28) | type FipaMessage struct method Reset (line 46) | func (x *FipaMessage) Reset() { method String (line 55) | func (x *FipaMessage) String() string { method ProtoMessage (line 59) | func (*FipaMessage) ProtoMessage() {} method ProtoReflect (line 61) | func (x *FipaMessage) ProtoReflect() protoreflect.Message { method Descriptor (line 74) | func (*FipaMessage) Descriptor() ([]byte, []int) { method GetPerformative (line 78) | func (m *FipaMessage) GetPerformative() isFipaMessage_Performative { method GetAccept (line 85) | func (x *FipaMessage) GetAccept() *FipaMessage_Accept_Performative { method GetAcceptWInform (line 92) | func (x *FipaMessage) GetAcceptWInform() *FipaMessage_Accept_W_Inform_... method GetCfp (line 99) | func (x *FipaMessage) GetCfp() *FipaMessage_Cfp_Performative { method GetDecline (line 106) | func (x *FipaMessage) GetDecline() *FipaMessage_Decline_Performative { method GetEnd (line 113) | func (x *FipaMessage) GetEnd() *FipaMessage_End_Performative { method GetInform (line 120) | func (x *FipaMessage) GetInform() *FipaMessage_Inform_Performative { method GetMatchAccept (line 127) | func (x *FipaMessage) GetMatchAccept() *FipaMessage_Match_Accept_Perfo... method GetMatchAcceptWInform (line 134) | func (x *FipaMessage) GetMatchAcceptWInform() *FipaMessage_Match_Accep... method GetPropose (line 141) | func (x *FipaMessage) GetPropose() *FipaMessage_Propose_Performative { type isFipaMessage_Performative (line 148) | type isFipaMessage_Performative interface type FipaMessage_Accept (line 152) | type FipaMessage_Accept struct method isFipaMessage_Performative (line 188) | func (*FipaMessage_Accept) isFipaMessage_Performative() {} type FipaMessage_AcceptWInform (line 156) | type FipaMessage_AcceptWInform struct method isFipaMessage_Performative (line 190) | func (*FipaMessage_AcceptWInform) isFipaMessage_Performative() {} type FipaMessage_Cfp (line 160) | type FipaMessage_Cfp struct method isFipaMessage_Performative (line 192) | func (*FipaMessage_Cfp) isFipaMessage_Performative() {} type FipaMessage_Decline (line 164) | type FipaMessage_Decline struct method isFipaMessage_Performative (line 194) | func (*FipaMessage_Decline) isFipaMessage_Performative() {} type FipaMessage_End (line 168) | type FipaMessage_End struct method isFipaMessage_Performative (line 196) | func (*FipaMessage_End) isFipaMessage_Performative() {} type FipaMessage_Inform (line 172) | type FipaMessage_Inform struct method isFipaMessage_Performative (line 198) | func (*FipaMessage_Inform) isFipaMessage_Performative() {} type FipaMessage_MatchAccept (line 176) | type FipaMessage_MatchAccept struct method isFipaMessage_Performative (line 200) | func (*FipaMessage_MatchAccept) isFipaMessage_Performative() {} type FipaMessage_MatchAcceptWInform (line 180) | type FipaMessage_MatchAcceptWInform struct method isFipaMessage_Performative (line 202) | func (*FipaMessage_MatchAcceptWInform) isFipaMessage_Performative() {} type FipaMessage_Propose (line 184) | type FipaMessage_Propose struct method isFipaMessage_Performative (line 204) | func (*FipaMessage_Propose) isFipaMessage_Performative() {} type FipaMessage_Description (line 207) | type FipaMessage_Description struct method Reset (line 215) | func (x *FipaMessage_Description) Reset() { method String (line 224) | func (x *FipaMessage_Description) String() string { method ProtoMessage (line 228) | func (*FipaMessage_Description) ProtoMessage() {} method ProtoReflect (line 230) | func (x *FipaMessage_Description) ProtoReflect() protoreflect.Message { method Descriptor (line 243) | func (*FipaMessage_Description) Descriptor() ([]byte, []int) { method GetDescriptionBytes (line 247) | func (x *FipaMessage_Description) GetDescriptionBytes() []byte { type FipaMessage_Query (line 254) | type FipaMessage_Query struct method Reset (line 262) | func (x *FipaMessage_Query) Reset() { method String (line 271) | func (x *FipaMessage_Query) String() string { method ProtoMessage (line 275) | func (*FipaMessage_Query) ProtoMessage() {} method ProtoReflect (line 277) | func (x *FipaMessage_Query) ProtoReflect() protoreflect.Message { method Descriptor (line 290) | func (*FipaMessage_Query) Descriptor() ([]byte, []int) { method GetQueryBytes (line 294) | func (x *FipaMessage_Query) GetQueryBytes() []byte { type FipaMessage_Cfp_Performative (line 302) | type FipaMessage_Cfp_Performative struct method Reset (line 310) | func (x *FipaMessage_Cfp_Performative) Reset() { method String (line 319) | func (x *FipaMessage_Cfp_Performative) String() string { method ProtoMessage (line 323) | func (*FipaMessage_Cfp_Performative) ProtoMessage() {} method ProtoReflect (line 325) | func (x *FipaMessage_Cfp_Performative) ProtoReflect() protoreflect.Mes... method Descriptor (line 338) | func (*FipaMessage_Cfp_Performative) Descriptor() ([]byte, []int) { method GetQuery (line 342) | func (x *FipaMessage_Cfp_Performative) GetQuery() *FipaMessage_Query { type FipaMessage_Propose_Performative (line 349) | type FipaMessage_Propose_Performative struct method Reset (line 357) | func (x *FipaMessage_Propose_Performative) Reset() { method String (line 366) | func (x *FipaMessage_Propose_Performative) String() string { method ProtoMessage (line 370) | func (*FipaMessage_Propose_Performative) ProtoMessage() {} method ProtoReflect (line 372) | func (x *FipaMessage_Propose_Performative) ProtoReflect() protoreflect... method Descriptor (line 385) | func (*FipaMessage_Propose_Performative) Descriptor() ([]byte, []int) { method GetProposal (line 389) | func (x *FipaMessage_Propose_Performative) GetProposal() *FipaMessage_... type FipaMessage_Accept_W_Inform_Performative (line 396) | type FipaMessage_Accept_W_Inform_Performative struct method Reset (line 404) | func (x *FipaMessage_Accept_W_Inform_Performative) Reset() { method String (line 413) | func (x *FipaMessage_Accept_W_Inform_Performative) String() string { method ProtoMessage (line 417) | func (*FipaMessage_Accept_W_Inform_Performative) ProtoMessage() {} method ProtoReflect (line 419) | func (x *FipaMessage_Accept_W_Inform_Performative) ProtoReflect() prot... method Descriptor (line 432) | func (*FipaMessage_Accept_W_Inform_Performative) Descriptor() ([]byte,... method GetInfo (line 436) | func (x *FipaMessage_Accept_W_Inform_Performative) GetInfo() map[strin... type FipaMessage_Match_Accept_W_Inform_Performative (line 443) | type FipaMessage_Match_Accept_W_Inform_Performative struct method Reset (line 451) | func (x *FipaMessage_Match_Accept_W_Inform_Performative) Reset() { method String (line 460) | func (x *FipaMessage_Match_Accept_W_Inform_Performative) String() stri... method ProtoMessage (line 464) | func (*FipaMessage_Match_Accept_W_Inform_Performative) ProtoMessage() {} method ProtoReflect (line 466) | func (x *FipaMessage_Match_Accept_W_Inform_Performative) ProtoReflect(... method Descriptor (line 479) | func (*FipaMessage_Match_Accept_W_Inform_Performative) Descriptor() ([... method GetInfo (line 483) | func (x *FipaMessage_Match_Accept_W_Inform_Performative) GetInfo() map... type FipaMessage_Inform_Performative (line 490) | type FipaMessage_Inform_Performative struct method Reset (line 498) | func (x *FipaMessage_Inform_Performative) Reset() { method String (line 507) | func (x *FipaMessage_Inform_Performative) String() string { method ProtoMessage (line 511) | func (*FipaMessage_Inform_Performative) ProtoMessage() {} method ProtoReflect (line 513) | func (x *FipaMessage_Inform_Performative) ProtoReflect() protoreflect.... method Descriptor (line 526) | func (*FipaMessage_Inform_Performative) Descriptor() ([]byte, []int) { method GetInfo (line 530) | func (x *FipaMessage_Inform_Performative) GetInfo() map[string]string { type FipaMessage_Accept_Performative (line 537) | type FipaMessage_Accept_Performative struct method Reset (line 543) | func (x *FipaMessage_Accept_Performative) Reset() { method String (line 552) | func (x *FipaMessage_Accept_Performative) String() string { method ProtoMessage (line 556) | func (*FipaMessage_Accept_Performative) ProtoMessage() {} method ProtoReflect (line 558) | func (x *FipaMessage_Accept_Performative) ProtoReflect() protoreflect.... method Descriptor (line 571) | func (*FipaMessage_Accept_Performative) Descriptor() ([]byte, []int) { type FipaMessage_Decline_Performative (line 575) | type FipaMessage_Decline_Performative struct method Reset (line 581) | func (x *FipaMessage_Decline_Performative) Reset() { method String (line 590) | func (x *FipaMessage_Decline_Performative) String() string { method ProtoMessage (line 594) | func (*FipaMessage_Decline_Performative) ProtoMessage() {} method ProtoReflect (line 596) | func (x *FipaMessage_Decline_Performative) ProtoReflect() protoreflect... method Descriptor (line 609) | func (*FipaMessage_Decline_Performative) Descriptor() ([]byte, []int) { type FipaMessage_Match_Accept_Performative (line 613) | type FipaMessage_Match_Accept_Performative struct method Reset (line 619) | func (x *FipaMessage_Match_Accept_Performative) Reset() { method String (line 628) | func (x *FipaMessage_Match_Accept_Performative) String() string { method ProtoMessage (line 632) | func (*FipaMessage_Match_Accept_Performative) ProtoMessage() {} method ProtoReflect (line 634) | func (x *FipaMessage_Match_Accept_Performative) ProtoReflect() protore... method Descriptor (line 647) | func (*FipaMessage_Match_Accept_Performative) Descriptor() ([]byte, []... type FipaMessage_End_Performative (line 651) | type FipaMessage_End_Performative struct method Reset (line 657) | func (x *FipaMessage_End_Performative) Reset() { method String (line 666) | func (x *FipaMessage_End_Performative) String() string { method ProtoMessage (line 670) | func (*FipaMessage_End_Performative) ProtoMessage() {} method ProtoReflect (line 672) | func (x *FipaMessage_End_Performative) ProtoReflect() protoreflect.Mes... method Descriptor (line 685) | func (*FipaMessage_End_Performative) Descriptor() ([]byte, []int) { function file_fipa_proto_rawDescGZIP (line 815) | func file_fipa_proto_rawDescGZIP() []byte { function init (line 862) | func init() { file_fipa_proto_init() } function file_fipa_proto_init (line 863) | func file_fipa_proto_init() { FILE: libs/go/aea_end2end/test_fipa_end2end.py class BuyerDialogues (line 52) | class BuyerDialogues(FipaDialogues): method __init__ (line 55) | def __init__(self, self_address: Address) -> None: class BuyerBehaviour (line 81) | class BuyerBehaviour(TickerBehaviour): method setup (line 86) | def setup(self) -> None: method act (line 91) | def act(self) -> None: method start (line 106) | def start(self, addr: Address) -> None: class BuyerHandler (line 112) | class BuyerHandler(Handler): method setup (line 118) | def setup(self) -> None: method teardown (line 122) | def teardown(self) -> None: method handle (line 125) | def handle(self, message) -> None: class Base (line 152) | class Base(AEATestCaseEmpty): method setup_class (line 158) | def setup_class(cls) -> None: class FipaSellerAgent (line 188) | class FipaSellerAgent: method start (line 198) | def start(cls, multi_addr: Address): method wait_for_envelope (line 253) | def wait_for_envelope(cls): method stop (line 257) | def stop(cls): class TestFipaEnd2End (line 268) | class TestFipaEnd2End(Base): method test_run (line 271) | def test_run(self): FILE: libs/go/aealite/agent.go constant DefaultLedger (line 32) | DefaultLedger = "fetchai" type Agent (line 35) | type Agent struct method InitFromEnv (line 40) | func (agent *Agent) InitFromEnv(envFile string) error { method Address (line 56) | func (agent *Agent) Address() string { method Start (line 60) | func (agent *Agent) Start() error { method Put (line 64) | func (agent *Agent) Put(envelope *protocols.Envelope) error { method Get (line 68) | func (agent *Agent) Get() *protocols.Envelope { method Stop (line 72) | func (agent *Agent) Stop() error { FILE: libs/go/aealite/agent_test.go constant EnvTestFile (line 32) | EnvTestFile = "test_env_file.env" function TestAgent (line 45) | func TestAgent(t *testing.T) { FILE: libs/go/aealite/connections/acn/acn.go function ignore (line 42) | func ignore(err error) { type ACNError (line 48) | type ACNError struct method Error (line 53) | func (err *ACNError) Error() string { function DecodeAcnMessage (line 57) | func DecodeAcnMessage(buf []byte) (string, *AeaEnvelopePerformative, *St... function WaitForStatus (line 85) | func WaitForStatus(ch chan *StatusBody, timeout time.Duration) (*StatusB... function SendAcnSuccess (line 96) | func SendAcnSuccess(pipe Pipe) error { function SendAcnError (line 115) | func SendAcnError(pipe Pipe, error_msg string, err_codes ...Status_ErrCo... function EncodeAcnEnvelope (line 140) | func EncodeAcnEnvelope(envelope_bytes []byte, record *AgentRecord) ([]by... type StatusQueue (line 161) | type StatusQueue interface function ReadAgentRegistrationMessage (line 165) | func ReadAgentRegistrationMessage(pipe Pipe) (*RegisterPerformative, err... function SendEnvelopeMessageAndWaitForStatus (line 195) | func SendEnvelopeMessageAndWaitForStatus( function ReadLookupRequest (line 226) | func ReadLookupRequest(pipe Pipe) (string, error) { function SendLookupRequest (line 262) | func SendLookupRequest(pipe Pipe, address string) error { function ReadLookupResponse (line 275) | func ReadLookupResponse(pipe Pipe) (*AgentRecord, error) { function SendLookupResponse (line 310) | func SendLookupResponse(pipe Pipe, record *AgentRecord) error { function SendEnvelopeMessage (line 323) | func SendEnvelopeMessage(pipe Pipe, envelope_bytes []byte, record *Agent... function SendAgentRegisterMessage (line 338) | func SendAgentRegisterMessage(pipe Pipe, agentRecord *AgentRecord) error { function ReadAcnStatus (line 363) | func ReadAcnStatus(pipe Pipe) (*StatusBody, error) { function ReadEnvelopeMessage (line 394) | func ReadEnvelopeMessage(pipe Pipe) (*AeaEnvelopePerformative, error) { function PerformAddressLookup (line 416) | func PerformAddressLookup(pipe Pipe, address string) (*AgentRecord, erro... FILE: libs/go/aealite/connections/acn/pipe_iface.go type Pipe (line 22) | type Pipe interface FILE: libs/go/aealite/connections/acn/protocol.go constant ERROR_DECODE (line 19) | ERROR_DECODE = acn_protocol.AcnMessage_StatusBody_ERROR_DECODE constant SUCCESS (line 20) | SUCCESS = acn_protocol.AcnMessage_StatusBody_SUCCESS constant ERROR_UNEXPECTED_PAYLOAD (line 21) | ERROR_UNEXPECTED_PAYLOAD = acn_protocol.AcnMessage_StatusBody_ERROR_UNEX... constant ERROR_AGENT_NOT_READY (line 22) | ERROR_AGENT_NOT_READY = acn_protocol.AcnMessage_StatusBody_ERROR_AGENT_N... constant ERROR_UNKNOWN_AGENT_ADDRESS (line 23) | ERROR_UNKNOWN_AGENT_ADDRESS = acn_protocol.AcnMessage_StatusBody_ERROR_U... constant ERROR_GENERIC (line 24) | ERROR_GENERIC = acn_protocol.AcnMessage_StatusBody_ERROR_GENERIC constant ERROR_WRONG_AGENT_ADDRESS (line 25) | ERROR_WRONG_AGENT_ADDRESS = acn_protocol.AcnMessage_StatusBody_ERROR_WRO... constant ERROR_UNSUPPORTED_LEDGER (line 26) | ERROR_UNSUPPORTED_LEDGER = acn_protocol.AcnMessage_StatusBody_ERROR_UNSU... constant ERROR_WRONG_PUBLIC_KEY (line 27) | ERROR_WRONG_PUBLIC_KEY = acn_protocol.AcnMessage_StatusBody_ERROR_WRONG_... constant ERROR_INVALID_PROOF (line 28) | ERROR_INVALID_PROOF = acn_protocol.AcnMessage_StatusBody_ERROR_INVALID_P... FILE: libs/go/aealite/connections/connections.go type Socket (line 27) | type Socket interface type Connection (line 34) | type Connection interface FILE: libs/go/aealite/connections/p2pclient.go constant retryAttempts (line 45) | retryAttempts = 5 constant acnStatusTimeout (line 46) | acnStatusTimeout = 5 * time.Second type P2PClientConfig (line 69) | type P2PClientConfig struct type P2PClientApi (line 74) | type P2PClientApi struct method InitFromEnv (line 88) | func (client *P2PClientApi) InitFromEnv(envFile string) error { method Put (line 135) | func (client *P2PClientApi) Put(envelope *protocols.Envelope) error { method Get (line 146) | func (client *P2PClientApi) Get() *protocols.Envelope { method Queue (line 150) | func (client *P2PClientApi) Queue() <-chan *protocols.Envelope { method Connected (line 154) | func (client *P2PClientApi) Connected() bool { method Initialised (line 158) | func (client *P2PClientApi) Initialised() bool { method Disconnect (line 162) | func (client *P2PClientApi) Disconnect() error { method Connect (line 176) | func (client *P2PClientApi) Connect() error { method registerWithRetry (line 208) | func (client *P2PClientApi) registerWithRetry() error { method register (line 258) | func (client *P2PClientApi) register() error { method listenForEnvelopes (line 262) | func (client *P2PClientApi) listenForEnvelopes() { method stop (line 295) | func (client *P2PClientApi) stop() error { method HandleAcnMessageFromPipe (line 419) | func (client *P2PClientApi) HandleAcnMessageFromPipe() (*protocols.Env... type Error (line 300) | type Error method Error (line 304) | func (e Error) Error() string { method WrappedErrors (line 326) | func (e Error) WrappedErrors() []error { function lenWithoutNil (line 315) | func lenWithoutNil(e Error) (count int) { type unrecoverableError (line 330) | type unrecoverableError struct function Unrecoverable (line 335) | func Unrecoverable(err error) error { function IsRecoverable (line 340) | func IsRecoverable(err error) bool { function unpackUnrecoverable (line 345) | func unpackUnrecoverable(err error) error { type DelayTypeFunc (line 354) | type DelayTypeFunc type RetryIfFunc (line 357) | type RetryIfFunc type OnRetryFunc (line 361) | type OnRetryFunc type Config (line 363) | type Config struct function CombineDelay (line 378) | func CombineDelay(delays ...DelayTypeFunc) DelayTypeFunc { function BackOffDelay (line 395) | func BackOffDelay(n uint, _ error, config *Config) time.Duration { function RandomDelay (line 415) | func RandomDelay(_ uint, _ error, config *Config) time.Duration { FILE: libs/go/aealite/connections/p2pclient_test.go constant EnvTestFile (line 29) | EnvTestFile = "../test_env_file.env" function TestP2PClientApiInit (line 44) | func TestP2PClientApiInit(t *testing.T) { FILE: libs/go/aealite/connections/tcpsocket.go type TCPSocketChannel (line 34) | type TCPSocketChannel struct method Connect (line 41) | func (sock *TCPSocketChannel) Connect() error { method Read (line 84) | func (sock *TCPSocketChannel) Read() ([]byte, error) { method Write (line 97) | func (sock *TCPSocketChannel) Write(data []byte) error { method Disconnect (line 107) | func (sock *TCPSocketChannel) Disconnect() error { function NewSocket (line 111) | func NewSocket(address string, port uint16, peerPublicKey string) Socket { FILE: libs/go/aealite/helpers/base.go type Generic (line 24) | type Generic interface type Set (line 34) | type Set struct method AddFromArray (line 39) | func (set *Set) AddFromArray(array []Generic) { method ToArray (line 46) | func (set *Set) ToArray() []interface{} { method Add (line 55) | func (set *Set) Add(element Generic) { method Remove (line 60) | func (set *Set) Remove(element Generic) { method Contains (line 65) | func (set *Set) Contains(element Generic) bool { method Size (line 71) | func (set *Set) Size() int { method Copy (line 76) | func (set *Set) Copy() Set { function Difference (line 85) | func Difference(set1 Set, set2 Set) Set { function NewSet (line 94) | func NewSet() Set { function NewSetFromArray (line 101) | func NewSetFromArray(array []interface{}) Set { function fromInterfaceToGenericArray (line 107) | func fromInterfaceToGenericArray(array []interface{}) []Generic { FILE: libs/go/aealite/helpers/base_test.go function checkExpectedSize (line 27) | func checkExpectedSize(t *testing.T, set *Set, expectedSize int) { function checkIn (line 33) | func checkIn(t *testing.T, set *Set, element Generic) { function checkNotIn (line 38) | func checkNotIn(t *testing.T, set *Set, element Generic) { function TestSet (line 44) | func TestSet(t *testing.T) { function TestSetFromArray (line 81) | func TestSetFromArray(t *testing.T) { FILE: libs/go/aealite/protocols/acn/v1_0_0/acn.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) constant _ (line 26) | _ = proto.ProtoPackageIsVersion4 type AcnMessage_StatusBody_StatusCodeEnum (line 28) | type AcnMessage_StatusBody_StatusCodeEnum method Enum (line 77) | func (x AcnMessage_StatusBody_StatusCodeEnum) Enum() *AcnMessage_Statu... method String (line 83) | func (x AcnMessage_StatusBody_StatusCodeEnum) String() string { method Descriptor (line 87) | func (AcnMessage_StatusBody_StatusCodeEnum) Descriptor() protoreflect.... method Type (line 91) | func (AcnMessage_StatusBody_StatusCodeEnum) Type() protoreflect.EnumTy... method Number (line 95) | func (x AcnMessage_StatusBody_StatusCodeEnum) Number() protoreflect.En... method EnumDescriptor (line 100) | func (AcnMessage_StatusBody_StatusCodeEnum) EnumDescriptor() ([]byte, ... constant AcnMessage_StatusBody_SUCCESS (line 32) | AcnMessage_StatusBody_SUCCESS AcnMessage_StatusBody_St... constant AcnMessage_StatusBody_ERROR_UNSUPPORTED_VERSION (line 33) | AcnMessage_StatusBody_ERROR_UNSUPPORTED_VERSION AcnMessage_StatusBody_St... constant AcnMessage_StatusBody_ERROR_UNEXPECTED_PAYLOAD (line 34) | AcnMessage_StatusBody_ERROR_UNEXPECTED_PAYLOAD AcnMessage_StatusBody_St... constant AcnMessage_StatusBody_ERROR_GENERIC (line 35) | AcnMessage_StatusBody_ERROR_GENERIC AcnMessage_StatusBody_St... constant AcnMessage_StatusBody_ERROR_DECODE (line 36) | AcnMessage_StatusBody_ERROR_DECODE AcnMessage_StatusBody_St... constant AcnMessage_StatusBody_ERROR_WRONG_AGENT_ADDRESS (line 38) | AcnMessage_StatusBody_ERROR_WRONG_AGENT_ADDRESS AcnMessage_StatusBody_St... constant AcnMessage_StatusBody_ERROR_WRONG_PUBLIC_KEY (line 39) | AcnMessage_StatusBody_ERROR_WRONG_PUBLIC_KEY AcnMessage_StatusBody_St... constant AcnMessage_StatusBody_ERROR_INVALID_PROOF (line 40) | AcnMessage_StatusBody_ERROR_INVALID_PROOF AcnMessage_StatusBody_St... constant AcnMessage_StatusBody_ERROR_UNSUPPORTED_LEDGER (line 41) | AcnMessage_StatusBody_ERROR_UNSUPPORTED_LEDGER AcnMessage_StatusBody_St... constant AcnMessage_StatusBody_ERROR_UNKNOWN_AGENT_ADDRESS (line 43) | AcnMessage_StatusBody_ERROR_UNKNOWN_AGENT_ADDRESS AcnMessage_StatusBody_... constant AcnMessage_StatusBody_ERROR_AGENT_NOT_READY (line 44) | AcnMessage_StatusBody_ERROR_AGENT_NOT_READY AcnMessage_StatusBody_... type AcnMessage (line 104) | type AcnMessage struct method Reset (line 118) | func (x *AcnMessage) Reset() { method String (line 127) | func (x *AcnMessage) String() string { method ProtoMessage (line 131) | func (*AcnMessage) ProtoMessage() {} method ProtoReflect (line 133) | func (x *AcnMessage) ProtoReflect() protoreflect.Message { method Descriptor (line 146) | func (*AcnMessage) Descriptor() ([]byte, []int) { method GetPerformative (line 150) | func (m *AcnMessage) GetPerformative() isAcnMessage_Performative { method GetAeaEnvelope (line 157) | func (x *AcnMessage) GetAeaEnvelope() *AcnMessage_Aea_Envelope_Perform... method GetLookupRequest (line 164) | func (x *AcnMessage) GetLookupRequest() *AcnMessage_Lookup_Request_Per... method GetLookupResponse (line 171) | func (x *AcnMessage) GetLookupResponse() *AcnMessage_Lookup_Response_P... method GetRegister (line 178) | func (x *AcnMessage) GetRegister() *AcnMessage_Register_Performative { method GetStatus (line 185) | func (x *AcnMessage) GetStatus() *AcnMessage_Status_Performative { type isAcnMessage_Performative (line 192) | type isAcnMessage_Performative interface type AcnMessage_AeaEnvelope (line 196) | type AcnMessage_AeaEnvelope struct method isAcnMessage_Performative (line 216) | func (*AcnMessage_AeaEnvelope) isAcnMessage_Performative() {} type AcnMessage_LookupRequest (line 200) | type AcnMessage_LookupRequest struct method isAcnMessage_Performative (line 218) | func (*AcnMessage_LookupRequest) isAcnMessage_Performative() {} type AcnMessage_LookupResponse (line 204) | type AcnMessage_LookupResponse struct method isAcnMessage_Performative (line 220) | func (*AcnMessage_LookupResponse) isAcnMessage_Performative() {} type AcnMessage_Register (line 208) | type AcnMessage_Register struct method isAcnMessage_Performative (line 222) | func (*AcnMessage_Register) isAcnMessage_Performative() {} type AcnMessage_Status (line 212) | type AcnMessage_Status struct method isAcnMessage_Performative (line 224) | func (*AcnMessage_Status) isAcnMessage_Performative() {} type AcnMessage_AgentRecord (line 227) | type AcnMessage_AgentRecord struct method Reset (line 242) | func (x *AcnMessage_AgentRecord) Reset() { method String (line 251) | func (x *AcnMessage_AgentRecord) String() string { method ProtoMessage (line 255) | func (*AcnMessage_AgentRecord) ProtoMessage() {} method ProtoReflect (line 257) | func (x *AcnMessage_AgentRecord) ProtoReflect() protoreflect.Message { method Descriptor (line 270) | func (*AcnMessage_AgentRecord) Descriptor() ([]byte, []int) { method GetServiceId (line 274) | func (x *AcnMessage_AgentRecord) GetServiceId() string { method GetLedgerId (line 281) | func (x *AcnMessage_AgentRecord) GetLedgerId() string { method GetAddress (line 288) | func (x *AcnMessage_AgentRecord) GetAddress() string { method GetPublicKey (line 295) | func (x *AcnMessage_AgentRecord) GetPublicKey() string { method GetPeerPublicKey (line 302) | func (x *AcnMessage_AgentRecord) GetPeerPublicKey() string { method GetSignature (line 309) | func (x *AcnMessage_AgentRecord) GetSignature() string { method GetNotBefore (line 316) | func (x *AcnMessage_AgentRecord) GetNotBefore() string { method GetNotAfter (line 323) | func (x *AcnMessage_AgentRecord) GetNotAfter() string { type AcnMessage_StatusBody (line 330) | type AcnMessage_StatusBody struct method Reset (line 339) | func (x *AcnMessage_StatusBody) Reset() { method String (line 348) | func (x *AcnMessage_StatusBody) String() string { method ProtoMessage (line 352) | func (*AcnMessage_StatusBody) ProtoMessage() {} method ProtoReflect (line 354) | func (x *AcnMessage_StatusBody) ProtoReflect() protoreflect.Message { method Descriptor (line 367) | func (*AcnMessage_StatusBody) Descriptor() ([]byte, []int) { method GetCode (line 371) | func (x *AcnMessage_StatusBody) GetCode() AcnMessage_StatusBody_Status... method GetMsgs (line 378) | func (x *AcnMessage_StatusBody) GetMsgs() []string { type AcnMessage_Register_Performative (line 386) | type AcnMessage_Register_Performative struct method Reset (line 394) | func (x *AcnMessage_Register_Performative) Reset() { method String (line 403) | func (x *AcnMessage_Register_Performative) String() string { method ProtoMessage (line 407) | func (*AcnMessage_Register_Performative) ProtoMessage() {} method ProtoReflect (line 409) | func (x *AcnMessage_Register_Performative) ProtoReflect() protoreflect... method Descriptor (line 422) | func (*AcnMessage_Register_Performative) Descriptor() ([]byte, []int) { method GetRecord (line 426) | func (x *AcnMessage_Register_Performative) GetRecord() *AcnMessage_Age... type AcnMessage_Lookup_Request_Performative (line 433) | type AcnMessage_Lookup_Request_Performative struct method Reset (line 441) | func (x *AcnMessage_Lookup_Request_Performative) Reset() { method String (line 450) | func (x *AcnMessage_Lookup_Request_Performative) String() string { method ProtoMessage (line 454) | func (*AcnMessage_Lookup_Request_Performative) ProtoMessage() {} method ProtoReflect (line 456) | func (x *AcnMessage_Lookup_Request_Performative) ProtoReflect() protor... method Descriptor (line 469) | func (*AcnMessage_Lookup_Request_Performative) Descriptor() ([]byte, [... method GetAgentAddress (line 473) | func (x *AcnMessage_Lookup_Request_Performative) GetAgentAddress() str... type AcnMessage_Lookup_Response_Performative (line 480) | type AcnMessage_Lookup_Response_Performative struct method Reset (line 488) | func (x *AcnMessage_Lookup_Response_Performative) Reset() { method String (line 497) | func (x *AcnMessage_Lookup_Response_Performative) String() string { method ProtoMessage (line 501) | func (*AcnMessage_Lookup_Response_Performative) ProtoMessage() {} method ProtoReflect (line 503) | func (x *AcnMessage_Lookup_Response_Performative) ProtoReflect() proto... method Descriptor (line 516) | func (*AcnMessage_Lookup_Response_Performative) Descriptor() ([]byte, ... method GetRecord (line 520) | func (x *AcnMessage_Lookup_Response_Performative) GetRecord() *AcnMess... type AcnMessage_Aea_Envelope_Performative (line 527) | type AcnMessage_Aea_Envelope_Performative struct method Reset (line 536) | func (x *AcnMessage_Aea_Envelope_Performative) Reset() { method String (line 545) | func (x *AcnMessage_Aea_Envelope_Performative) String() string { method ProtoMessage (line 549) | func (*AcnMessage_Aea_Envelope_Performative) ProtoMessage() {} method ProtoReflect (line 551) | func (x *AcnMessage_Aea_Envelope_Performative) ProtoReflect() protoref... method Descriptor (line 564) | func (*AcnMessage_Aea_Envelope_Performative) Descriptor() ([]byte, []i... method GetEnvelope (line 568) | func (x *AcnMessage_Aea_Envelope_Performative) GetEnvelope() []byte { method GetRecord (line 575) | func (x *AcnMessage_Aea_Envelope_Performative) GetRecord() *AcnMessage... type AcnMessage_Status_Performative (line 582) | type AcnMessage_Status_Performative struct method Reset (line 590) | func (x *AcnMessage_Status_Performative) Reset() { method String (line 599) | func (x *AcnMessage_Status_Performative) String() string { method ProtoMessage (line 603) | func (*AcnMessage_Status_Performative) ProtoMessage() {} method ProtoReflect (line 605) | func (x *AcnMessage_Status_Performative) ProtoReflect() protoreflect.M... method Descriptor (line 618) | func (*AcnMessage_Status_Performative) Descriptor() ([]byte, []int) { method GetBody (line 622) | func (x *AcnMessage_Status_Performative) GetBody() *AcnMessage_StatusB... function file_acn_proto_rawDescGZIP (line 745) | func file_acn_proto_rawDescGZIP() []byte { function init (line 783) | func init() { file_acn_proto_init() } function file_acn_proto_init (line 784) | func file_acn_proto_init() { FILE: libs/go/aealite/protocols/base.pb.go constant _ (line 20) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 22) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) constant _ (line 27) | _ = proto.ProtoPackageIsVersion4 type DialogueMessage (line 29) | type DialogueMessage struct method Reset (line 41) | func (x *DialogueMessage) Reset() { method String (line 50) | func (x *DialogueMessage) String() string { method ProtoMessage (line 54) | func (*DialogueMessage) ProtoMessage() {} method ProtoReflect (line 56) | func (x *DialogueMessage) ProtoReflect() protoreflect.Message { method Descriptor (line 69) | func (*DialogueMessage) Descriptor() ([]byte, []int) { method GetMessageId (line 73) | func (x *DialogueMessage) GetMessageId() int32 { method GetDialogueStarterReference (line 80) | func (x *DialogueMessage) GetDialogueStarterReference() string { method GetDialogueResponderReference (line 87) | func (x *DialogueMessage) GetDialogueResponderReference() string { method GetTarget (line 94) | func (x *DialogueMessage) GetTarget() int32 { method GetContent (line 101) | func (x *DialogueMessage) GetContent() []byte { type Message (line 108) | type Message struct method Reset (line 119) | func (x *Message) Reset() { method String (line 128) | func (x *Message) String() string { method ProtoMessage (line 132) | func (*Message) ProtoMessage() {} method ProtoReflect (line 134) | func (x *Message) ProtoReflect() protoreflect.Message { method Descriptor (line 147) | func (*Message) Descriptor() ([]byte, []int) { method GetMessage (line 151) | func (m *Message) GetMessage() isMessage_Message { method GetBody (line 158) | func (x *Message) GetBody() *_struct.Struct { method GetDialogueMessage (line 165) | func (x *Message) GetDialogueMessage() *DialogueMessage { type isMessage_Message (line 172) | type isMessage_Message interface type Message_Body (line 176) | type Message_Body struct method isMessage_Message (line 184) | func (*Message_Body) isMessage_Message() {} type Message_DialogueMessage (line 180) | type Message_DialogueMessage struct method isMessage_Message (line 186) | func (*Message_DialogueMessage) isMessage_Message() {} type Envelope (line 188) | type Envelope struct method Reset (line 200) | func (x *Envelope) Reset() { method String (line 209) | func (x *Envelope) String() string { method ProtoMessage (line 213) | func (*Envelope) ProtoMessage() {} method ProtoReflect (line 215) | func (x *Envelope) ProtoReflect() protoreflect.Message { method Descriptor (line 228) | func (*Envelope) Descriptor() ([]byte, []int) { method GetTo (line 232) | func (x *Envelope) GetTo() string { method GetSender (line 239) | func (x *Envelope) GetSender() string { method GetProtocolId (line 246) | func (x *Envelope) GetProtocolId() string { method GetMessage (line 253) | func (x *Envelope) GetMessage() []byte { method GetUri (line 260) | func (x *Envelope) GetUri() string { function file_base_proto_rawDescGZIP (line 315) | func file_base_proto_rawDescGZIP() []byte { function init (line 339) | func init() { file_base_proto_init() } function file_base_proto_init (line 340) | func file_base_proto_init() { FILE: libs/go/aealite/protocols/dialogue.go type Role (line 29) | type Role type EndStates (line 30) | type EndStates constant NonceBytesNb (line 33) | NonceBytesNb = 32 constant Role1 (line 34) | Role1 Role = "role1" constant Role2 (line 35) | Role2 Role = "role2" constant StartingMessageId (line 36) | StartingMessageId MessageId = 1 constant StartingTarget (line 37) | StartingTarget MessageId = 0 constant UnassignedDialogueReference (line 38) | UnassignedDialogueReference = "" constant DialogueLabelStringSeparator (line 39) | DialogueLabelStringSeparator = "_" function max (line 44) | func max(list []MessageId) MessageId { function abs (line 54) | func abs(id MessageId) MessageId { type Rules (line 63) | type Rules struct function NewRules (line 69) | func NewRules(initialPerformatives []Performative, terminalPerformatives... type DialogueInterface (line 97) | type DialogueInterface interface type Dialogue (line 140) | type Dialogue struct method DialogueLabel (line 153) | func (dialogue *Dialogue) DialogueLabel() DialogueLabel { method IncompleteDialogueLabel (line 158) | func (dialogue *Dialogue) IncompleteDialogueLabel() DialogueLabel { method DialogueLabels (line 163) | func (dialogue *Dialogue) DialogueLabels() [2]DialogueLabel { method SelfAddress (line 168) | func (dialogue *Dialogue) SelfAddress() Address { method Role (line 173) | func (dialogue *Dialogue) Role() Role { method Rules (line 178) | func (dialogue *Dialogue) Rules() Rules { method AddTerminalStateCallback (line 182) | func (dialogue *Dialogue) AddTerminalStateCallback(fn func(*Dialogue)) { method IsSelfInitiated (line 187) | func (dialogue *Dialogue) IsSelfInitiated() bool { method LastIncomingMessage (line 191) | func (dialogue *Dialogue) LastIncomingMessage() ProtocolMessageInterfa... method LastOutgoingMessage (line 198) | func (dialogue *Dialogue) LastOutgoingMessage() ProtocolMessageInterfa... method LastMessage (line 205) | func (dialogue *Dialogue) LastMessage() ProtocolMessageInterface { method isEmpty (line 217) | func (dialogue *Dialogue) isEmpty() bool { method counterPartyFromMessage (line 221) | func (dialogue *Dialogue) counterPartyFromMessage(message ProtocolMess... method isMessageBySelf (line 228) | func (dialogue *Dialogue) isMessageBySelf(message ProtocolMessageInter... method hasMessageId (line 232) | func (dialogue *Dialogue) hasMessageId(messageId MessageId) bool { method update (line 237) | func (dialogue *Dialogue) update(message ProtocolMessageInterface) err... method isBelongingToDialogue (line 269) | func (dialogue *Dialogue) isBelongingToDialogue(message ProtocolMessag... method Reply (line 292) | func (dialogue *Dialogue) Reply( method validateNextMessage (line 344) | func (dialogue *Dialogue) validateNextMessage(message ProtocolMessageI... method checkLabelBelongsToDialogue (line 354) | func (dialogue *Dialogue) checkLabelBelongsToDialogue(label DialogueLa... method basicValidation (line 358) | func (dialogue *Dialogue) basicValidation(message ProtocolMessageInter... method basicValidationInitialMessage (line 365) | func (dialogue *Dialogue) basicValidationInitialMessage( method basicValidationNonInitialMessage (line 397) | func (dialogue *Dialogue) basicValidationNonInitialMessage( method validateMessageTarget (line 422) | func (dialogue *Dialogue) validateMessageTarget(message ProtocolMessag... method validateMessageId (line 466) | func (dialogue *Dialogue) validateMessageId(message ProtocolMessageInt... method getMessageById (line 481) | func (dialogue *Dialogue) getMessageById(messageId MessageId) Protocol... method getOutgoingNextMessageId (line 506) | func (dialogue *Dialogue) getOutgoingNextMessageId() MessageId { method getIncomingNextMessageId (line 517) | func (dialogue *Dialogue) getIncomingNextMessageId() MessageId { method updateDialogueLabel (line 528) | func (dialogue *Dialogue) updateDialogueLabel(finalDialogueLabel Dialo... function NewDialogue (line 537) | func NewDialogue(dialogueLabel DialogueLabel, FILE: libs/go/aealite/protocols/dialogue_label.go type DialogueReference (line 30) | type DialogueReference struct method DialogueStarterReference (line 35) | func (dialogueReference *DialogueReference) DialogueStarterReference()... method DialogueResponderReference (line 38) | func (dialogueReference *DialogueReference) DialogueResponderReference... type DialogueLabel (line 42) | type DialogueLabel struct method DialogueReference (line 49) | func (dialogueLabel *DialogueLabel) DialogueReference() DialogueRefere... method DialogueStarterReference (line 54) | func (dialogueLabel *DialogueLabel) DialogueStarterReference() string { method DialogueResponderReference (line 59) | func (dialogueLabel *DialogueLabel) DialogueResponderReference() string { method IsSelfInitiated (line 64) | func (dialogueLabel *DialogueLabel) IsSelfInitiated() bool { method DialogueOpponentAddress (line 69) | func (dialogueLabel *DialogueLabel) DialogueOpponentAddress() Address { method DialogueStarterAddress (line 74) | func (dialogueLabel *DialogueLabel) DialogueStarterAddress() Address { method IncompleteVersion (line 79) | func (dialogueLabel *DialogueLabel) IncompleteVersion() DialogueLabel { method MarshalJSON (line 88) | func (dialogueLabel DialogueLabel) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 105) | func (dialogueLabel *DialogueLabel) UnmarshalJSON(b []byte) error { method String (line 120) | func (dialogueLabel *DialogueLabel) String() string { method FromString (line 128) | func (dialogueLabel *DialogueLabel) FromString(s string) error { FILE: libs/go/aealite/protocols/dialogue_label_test.go constant senderAddress (line 31) | senderAddress Address = "ba6b08b13043e83a962a3a5eeaad3b6c" constant counterPartyAddress (line 32) | counterPartyAddress Address = "1ba5cb6f46f426a27ec53064032419f1" constant starterReference (line 33) | starterReference string = "starterReference" constant responderReference (line 34) | responderReference string = "responderReference" function getTestDialogueLabel (line 38) | func getTestDialogueLabel() DialogueLabel { function TestDialogueLabelGetters (line 47) | func TestDialogueLabelGetters(t *testing.T) { function TestGetIncompleteVersion (line 66) | func TestGetIncompleteVersion(t *testing.T) { function TestMarshalAndUnmarshal (line 84) | func TestMarshalAndUnmarshal(t *testing.T) { function TestToStringAndFromString (line 106) | func TestToStringAndFromString(t *testing.T) { FILE: libs/go/aealite/protocols/dialogue_test.go function TestDialogue (line 28) | func TestDialogue(t *testing.T) { FILE: libs/go/aealite/protocols/dialogues.go constant IncompleteDialogues (line 32) | IncompleteDialogues = "incomplete_dialogues" constant TerminalDialoguesSuffix (line 33) | TerminalDialoguesSuffix = "_terminal" function generateDialogueNonce (line 38) | func generateDialogueNonce() string { function randomHex (line 43) | func randomHex(n int) string { function newSelfInitiatedDialogueReference (line 51) | func newSelfInitiatedDialogueReference() DialogueReference { type Dialogues (line 55) | type Dialogues struct method IsKeepDialoguesInTerminalStates (line 69) | func (dialogues *Dialogues) IsKeepDialoguesInTerminalStates() bool { method SelfAddress (line 73) | func (dialogues *Dialogues) SelfAddress() (Address, error) { method GetDialoguesWithCounterparty (line 80) | func (dialogues *Dialogues) GetDialoguesWithCounterparty(counterparty ... method isMessageBySelf (line 84) | func (dialogues *Dialogues) isMessageBySelf(message ProtocolMessageInt... method isMessageByOther (line 88) | func (dialogues *Dialogues) isMessageByOther(message ProtocolMessageIn... method counterpartyFromMessage (line 92) | func (dialogues *Dialogues) counterpartyFromMessage(message ProtocolMe... method Create (line 99) | func (dialogues *Dialogues) Create( method CreateWithMessage (line 122) | func (dialogues *Dialogues) CreateWithMessage( method createDialogue (line 137) | func (dialogues *Dialogues) createDialogue( method Update (line 155) | func (dialogues *Dialogues) Update(message ProtocolMessageInterface) (... method completeDialogueReference (line 223) | func (dialogues *Dialogues) completeDialogueReference(message Protocol... method GetDialogue (line 264) | func (dialogues *Dialogues) GetDialogue(message ProtocolMessageInterfa... method getLatestLabel (line 291) | func (dialogues *Dialogues) getLatestLabel(label DialogueLabel) Dialog... method GetDialogueFromLabel (line 295) | func (dialogues *Dialogues) GetDialogueFromLabel(label DialogueLabel) ... method createSelfInitiated (line 299) | func (dialogues *Dialogues) createSelfInitiated( method createOpponentInitiated (line 323) | func (dialogues *Dialogues) createOpponentInitiated(dialogueOpponentAd... method create (line 355) | func (dialogues *Dialogues) create( function NewDialogues (line 386) | func NewDialogues( FILE: libs/go/aealite/protocols/message.go type MessageId (line 31) | type MessageId type Address (line 32) | type Address type Performative (line 33) | type Performative type ProtocolMessageInterface (line 35) | type ProtocolMessageInterface interface type DialogueMessageWrapper (line 51) | type DialogueMessageWrapper struct method InitFromProtobufAndPerfofrmative (line 69) | func (message *DialogueMessageWrapper) InitFromProtobufAndPerfofrmative( method Sender (line 84) | func (message *DialogueMessageWrapper) Sender() Address { method SetSender (line 88) | func (message *DialogueMessageWrapper) SetSender(newAddress Address) e... method To (line 96) | func (message *DialogueMessageWrapper) To() Address { method SetTo (line 100) | func (message *DialogueMessageWrapper) SetTo(newAddress Address) error { method MessageId (line 108) | func (message *DialogueMessageWrapper) MessageId() MessageId { method DialogueReference (line 112) | func (message *DialogueMessageWrapper) DialogueReference() DialogueRef... method Target (line 116) | func (message *DialogueMessageWrapper) Target() MessageId { method Performative (line 120) | func (message *DialogueMessageWrapper) Performative() Performative { method Body (line 124) | func (message *DialogueMessageWrapper) Body() map[string]interface{} { method HasSender (line 128) | func (message *DialogueMessageWrapper) HasSender() bool { method HasTo (line 132) | func (message *DialogueMessageWrapper) HasTo() bool { method GetField (line 140) | func (message *DialogueMessageWrapper) GetField(name string) interface... function GetPerformative (line 144) | func GetPerformative(message MessageInterface) (string, error) { type MessageInterface (line 158) | type MessageInterface interface function GetDialogueMessageWrappedAndSetContentFromEnvelope (line 162) | func GetDialogueMessageWrappedAndSetContentFromEnvelope( function MakeResponseEnvelope (line 207) | func MakeResponseEnvelope( FILE: libs/go/aealite/protocols/message_test.go constant DialogueStarterReference (line 30) | DialogueStarterReference = "DialogueStarterReference" constant DialogueResponderReference (line 31) | DialogueResponderReference = "DialogueResponderReference" function TestMessage (line 34) | func TestMessage(t *testing.T) { FILE: libs/go/aealite/protocols/search.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) constant _ (line 26) | _ = proto.ProtoPackageIsVersion4 type Query_Attribute_Type (line 28) | type Query_Attribute_Type method Enum (line 56) | func (x Query_Attribute_Type) Enum() *Query_Attribute_Type { method String (line 62) | func (x Query_Attribute_Type) String() string { method Descriptor (line 66) | func (Query_Attribute_Type) Descriptor() protoreflect.EnumDescriptor { method Type (line 70) | func (Query_Attribute_Type) Type() protoreflect.EnumType { method Number (line 74) | func (x Query_Attribute_Type) Number() protoreflect.EnumNumber { method EnumDescriptor (line 79) | func (Query_Attribute_Type) EnumDescriptor() ([]byte, []int) { constant Query_Attribute_DOUBLE (line 31) | Query_Attribute_DOUBLE Query_Attribute_Type = 0 constant Query_Attribute_INT (line 32) | Query_Attribute_INT Query_Attribute_Type = 1 constant Query_Attribute_BOOL (line 33) | Query_Attribute_BOOL Query_Attribute_Type = 2 constant Query_Attribute_STRING (line 34) | Query_Attribute_STRING Query_Attribute_Type = 3 constant Query_Attribute_LOCATION (line 35) | Query_Attribute_LOCATION Query_Attribute_Type = 4 type Query_Relation_Operator (line 83) | type Query_Relation_Operator method Enum (line 114) | func (x Query_Relation_Operator) Enum() *Query_Relation_Operator { method String (line 120) | func (x Query_Relation_Operator) String() string { method Descriptor (line 124) | func (Query_Relation_Operator) Descriptor() protoreflect.EnumDescriptor { method Type (line 128) | func (Query_Relation_Operator) Type() protoreflect.EnumType { method Number (line 132) | func (x Query_Relation_Operator) Number() protoreflect.EnumNumber { method EnumDescriptor (line 137) | func (Query_Relation_Operator) EnumDescriptor() ([]byte, []int) { constant Query_Relation_EQ (line 86) | Query_Relation_EQ Query_Relation_Operator = 0 constant Query_Relation_LT (line 87) | Query_Relation_LT Query_Relation_Operator = 1 constant Query_Relation_LTEQ (line 88) | Query_Relation_LTEQ Query_Relation_Operator = 2 constant Query_Relation_GT (line 89) | Query_Relation_GT Query_Relation_Operator = 3 constant Query_Relation_GTEQ (line 90) | Query_Relation_GTEQ Query_Relation_Operator = 4 constant Query_Relation_NOTEQ (line 91) | Query_Relation_NOTEQ Query_Relation_Operator = 5 type Query_Set_Operator (line 141) | type Query_Set_Operator method Enum (line 160) | func (x Query_Set_Operator) Enum() *Query_Set_Operator { method String (line 166) | func (x Query_Set_Operator) String() string { method Descriptor (line 170) | func (Query_Set_Operator) Descriptor() protoreflect.EnumDescriptor { method Type (line 174) | func (Query_Set_Operator) Type() protoreflect.EnumType { method Number (line 178) | func (x Query_Set_Operator) Number() protoreflect.EnumNumber { method EnumDescriptor (line 183) | func (Query_Set_Operator) EnumDescriptor() ([]byte, []int) { constant Query_Set_IN (line 144) | Query_Set_IN Query_Set_Operator = 0 constant Query_Set_NOTIN (line 145) | Query_Set_NOTIN Query_Set_Operator = 1 type Query (line 187) | type Query struct method Reset (line 193) | func (x *Query) Reset() { method String (line 202) | func (x *Query) String() string { method ProtoMessage (line 206) | func (*Query) ProtoMessage() {} method ProtoReflect (line 208) | func (x *Query) ProtoReflect() protoreflect.Message { method Descriptor (line 221) | func (*Query) Descriptor() ([]byte, []int) { type Query_Attribute (line 225) | type Query_Attribute struct method Reset (line 236) | func (x *Query_Attribute) Reset() { method String (line 245) | func (x *Query_Attribute) String() string { method ProtoMessage (line 249) | func (*Query_Attribute) ProtoMessage() {} method ProtoReflect (line 251) | func (x *Query_Attribute) ProtoReflect() protoreflect.Message { method Descriptor (line 264) | func (*Query_Attribute) Descriptor() ([]byte, []int) { method GetName (line 268) | func (x *Query_Attribute) GetName() string { method GetType (line 275) | func (x *Query_Attribute) GetType() Query_Attribute_Type { method GetRequired (line 282) | func (x *Query_Attribute) GetRequired() bool { method GetDescription (line 289) | func (x *Query_Attribute) GetDescription() string { type Query_DataModel (line 296) | type Query_DataModel struct method Reset (line 306) | func (x *Query_DataModel) Reset() { method String (line 315) | func (x *Query_DataModel) String() string { method ProtoMessage (line 319) | func (*Query_DataModel) ProtoMessage() {} method ProtoReflect (line 321) | func (x *Query_DataModel) ProtoReflect() protoreflect.Message { method Descriptor (line 334) | func (*Query_DataModel) Descriptor() ([]byte, []int) { method GetName (line 338) | func (x *Query_DataModel) GetName() string { method GetAttributes (line 345) | func (x *Query_DataModel) GetAttributes() []*Query_Attribute { method GetDescription (line 352) | func (x *Query_DataModel) GetDescription() string { type Query_Location (line 359) | type Query_Location struct method Reset (line 368) | func (x *Query_Location) Reset() { method String (line 377) | func (x *Query_Location) String() string { method ProtoMessage (line 381) | func (*Query_Location) ProtoMessage() {} method ProtoReflect (line 383) | func (x *Query_Location) ProtoReflect() protoreflect.Message { method Descriptor (line 396) | func (*Query_Location) Descriptor() ([]byte, []int) { method GetLon (line 400) | func (x *Query_Location) GetLon() float64 { method GetLat (line 407) | func (x *Query_Location) GetLat() float64 { type Query_Value (line 414) | type Query_Value struct method Reset (line 428) | func (x *Query_Value) Reset() { method String (line 437) | func (x *Query_Value) String() string { method ProtoMessage (line 441) | func (*Query_Value) ProtoMessage() {} method ProtoReflect (line 443) | func (x *Query_Value) ProtoReflect() protoreflect.Message { method Descriptor (line 456) | func (*Query_Value) Descriptor() ([]byte, []int) { method GetValue (line 460) | func (m *Query_Value) GetValue() isQuery_Value_Value { method GetString_ (line 467) | func (x *Query_Value) GetString_() string { method GetDouble (line 474) | func (x *Query_Value) GetDouble() float64 { method GetBoolean (line 481) | func (x *Query_Value) GetBoolean() bool { method GetInteger (line 488) | func (x *Query_Value) GetInteger() int64 { method GetLocation (line 495) | func (x *Query_Value) GetLocation() *Query_Location { type isQuery_Value_Value (line 502) | type isQuery_Value_Value interface type Query_Value_String_ (line 506) | type Query_Value_String_ struct method isQuery_Value_Value (line 526) | func (*Query_Value_String_) isQuery_Value_Value() {} type Query_Value_Double (line 510) | type Query_Value_Double struct method isQuery_Value_Value (line 528) | func (*Query_Value_Double) isQuery_Value_Value() {} type Query_Value_Boolean (line 514) | type Query_Value_Boolean struct method isQuery_Value_Value (line 530) | func (*Query_Value_Boolean) isQuery_Value_Value() {} type Query_Value_Integer (line 518) | type Query_Value_Integer struct method isQuery_Value_Value (line 532) | func (*Query_Value_Integer) isQuery_Value_Value() {} type Query_Value_Location (line 522) | type Query_Value_Location struct method isQuery_Value_Value (line 534) | func (*Query_Value_Location) isQuery_Value_Value() {} type Query_KeyValue (line 536) | type Query_KeyValue struct method Reset (line 545) | func (x *Query_KeyValue) Reset() { method String (line 554) | func (x *Query_KeyValue) String() string { method ProtoMessage (line 558) | func (*Query_KeyValue) ProtoMessage() {} method ProtoReflect (line 560) | func (x *Query_KeyValue) ProtoReflect() protoreflect.Message { method Descriptor (line 573) | func (*Query_KeyValue) Descriptor() ([]byte, []int) { method GetKey (line 577) | func (x *Query_KeyValue) GetKey() string { method GetValue (line 584) | func (x *Query_KeyValue) GetValue() *Query_Value { type Query_Instance (line 591) | type Query_Instance struct method Reset (line 600) | func (x *Query_Instance) Reset() { method String (line 609) | func (x *Query_Instance) String() string { method ProtoMessage (line 613) | func (*Query_Instance) ProtoMessage() {} method ProtoReflect (line 615) | func (x *Query_Instance) ProtoReflect() protoreflect.Message { method Descriptor (line 628) | func (*Query_Instance) Descriptor() ([]byte, []int) { method GetModel (line 632) | func (x *Query_Instance) GetModel() *Query_DataModel { method GetValues (line 639) | func (x *Query_Instance) GetValues() []*Query_KeyValue { type Query_StringPair (line 646) | type Query_StringPair struct method Reset (line 655) | func (x *Query_StringPair) Reset() { method String (line 664) | func (x *Query_StringPair) String() string { method ProtoMessage (line 668) | func (*Query_StringPair) ProtoMessage() {} method ProtoReflect (line 670) | func (x *Query_StringPair) ProtoReflect() protoreflect.Message { method Descriptor (line 683) | func (*Query_StringPair) Descriptor() ([]byte, []int) { method GetFirst (line 687) | func (x *Query_StringPair) GetFirst() string { method GetSecond (line 694) | func (x *Query_StringPair) GetSecond() string { type Query_IntPair (line 701) | type Query_IntPair struct method Reset (line 710) | func (x *Query_IntPair) Reset() { method String (line 719) | func (x *Query_IntPair) String() string { method ProtoMessage (line 723) | func (*Query_IntPair) ProtoMessage() {} method ProtoReflect (line 725) | func (x *Query_IntPair) ProtoReflect() protoreflect.Message { method Descriptor (line 738) | func (*Query_IntPair) Descriptor() ([]byte, []int) { method GetFirst (line 742) | func (x *Query_IntPair) GetFirst() int64 { method GetSecond (line 749) | func (x *Query_IntPair) GetSecond() int64 { type Query_DoublePair (line 756) | type Query_DoublePair struct method Reset (line 765) | func (x *Query_DoublePair) Reset() { method String (line 774) | func (x *Query_DoublePair) String() string { method ProtoMessage (line 778) | func (*Query_DoublePair) ProtoMessage() {} method ProtoReflect (line 780) | func (x *Query_DoublePair) ProtoReflect() protoreflect.Message { method Descriptor (line 793) | func (*Query_DoublePair) Descriptor() ([]byte, []int) { method GetFirst (line 797) | func (x *Query_DoublePair) GetFirst() float64 { method GetSecond (line 804) | func (x *Query_DoublePair) GetSecond() float64 { type Query_LocationPair (line 811) | type Query_LocationPair struct method Reset (line 820) | func (x *Query_LocationPair) Reset() { method String (line 829) | func (x *Query_LocationPair) String() string { method ProtoMessage (line 833) | func (*Query_LocationPair) ProtoMessage() {} method ProtoReflect (line 835) | func (x *Query_LocationPair) ProtoReflect() protoreflect.Message { method Descriptor (line 848) | func (*Query_LocationPair) Descriptor() ([]byte, []int) { method GetFirst (line 852) | func (x *Query_LocationPair) GetFirst() *Query_Location { method GetSecond (line 859) | func (x *Query_LocationPair) GetSecond() *Query_Location { type Query_Range (line 866) | type Query_Range struct method Reset (line 879) | func (x *Query_Range) Reset() { method String (line 888) | func (x *Query_Range) String() string { method ProtoMessage (line 892) | func (*Query_Range) ProtoMessage() {} method ProtoReflect (line 894) | func (x *Query_Range) ProtoReflect() protoreflect.Message { method Descriptor (line 907) | func (*Query_Range) Descriptor() ([]byte, []int) { method GetPair (line 911) | func (m *Query_Range) GetPair() isQuery_Range_Pair { method GetStringPair (line 918) | func (x *Query_Range) GetStringPair() *Query_StringPair { method GetIntegerPair (line 925) | func (x *Query_Range) GetIntegerPair() *Query_IntPair { method GetDoublePair (line 932) | func (x *Query_Range) GetDoublePair() *Query_DoublePair { method GetLocationPair (line 939) | func (x *Query_Range) GetLocationPair() *Query_LocationPair { type isQuery_Range_Pair (line 946) | type isQuery_Range_Pair interface type Query_Range_StringPair (line 950) | type Query_Range_StringPair struct method isQuery_Range_Pair (line 966) | func (*Query_Range_StringPair) isQuery_Range_Pair() {} type Query_Range_IntegerPair (line 954) | type Query_Range_IntegerPair struct method isQuery_Range_Pair (line 968) | func (*Query_Range_IntegerPair) isQuery_Range_Pair() {} type Query_Range_DoublePair (line 958) | type Query_Range_DoublePair struct method isQuery_Range_Pair (line 970) | func (*Query_Range_DoublePair) isQuery_Range_Pair() {} type Query_Range_LocationPair (line 962) | type Query_Range_LocationPair struct method isQuery_Range_Pair (line 972) | func (*Query_Range_LocationPair) isQuery_Range_Pair() {} type Query_Distance (line 974) | type Query_Distance struct method Reset (line 983) | func (x *Query_Distance) Reset() { method String (line 992) | func (x *Query_Distance) String() string { method ProtoMessage (line 996) | func (*Query_Distance) ProtoMessage() {} method ProtoReflect (line 998) | func (x *Query_Distance) ProtoReflect() protoreflect.Message { method Descriptor (line 1011) | func (*Query_Distance) Descriptor() ([]byte, []int) { method GetCenter (line 1015) | func (x *Query_Distance) GetCenter() *Query_Location { method GetDistance (line 1022) | func (x *Query_Distance) GetDistance() float64 { type Query_Relation (line 1029) | type Query_Relation struct method Reset (line 1038) | func (x *Query_Relation) Reset() { method String (line 1047) | func (x *Query_Relation) String() string { method ProtoMessage (line 1051) | func (*Query_Relation) ProtoMessage() {} method ProtoReflect (line 1053) | func (x *Query_Relation) ProtoReflect() protoreflect.Message { method Descriptor (line 1066) | func (*Query_Relation) Descriptor() ([]byte, []int) { method GetOperator (line 1070) | func (x *Query_Relation) GetOperator() Query_Relation_Operator { method GetValue (line 1077) | func (x *Query_Relation) GetValue() *Query_Value { type Query_Set (line 1084) | type Query_Set struct method Reset (line 1093) | func (x *Query_Set) Reset() { method String (line 1102) | func (x *Query_Set) String() string { method ProtoMessage (line 1106) | func (*Query_Set) ProtoMessage() {} method ProtoReflect (line 1108) | func (x *Query_Set) ProtoReflect() protoreflect.Message { method Descriptor (line 1121) | func (*Query_Set) Descriptor() ([]byte, []int) { method GetOperator (line 1125) | func (x *Query_Set) GetOperator() Query_Set_Operator { method GetValues (line 1132) | func (x *Query_Set) GetValues() *Query_Set_Values { type Query_ConstraintExpr (line 1139) | type Query_ConstraintExpr struct method Reset (line 1152) | func (x *Query_ConstraintExpr) Reset() { method String (line 1161) | func (x *Query_ConstraintExpr) String() string { method ProtoMessage (line 1165) | func (*Query_ConstraintExpr) ProtoMessage() {} method ProtoReflect (line 1167) | func (x *Query_ConstraintExpr) ProtoReflect() protoreflect.Message { method Descriptor (line 1180) | func (*Query_ConstraintExpr) Descriptor() ([]byte, []int) { method GetExpression (line 1184) | func (m *Query_ConstraintExpr) GetExpression() isQuery_ConstraintExpr_... method GetOr_ (line 1191) | func (x *Query_ConstraintExpr) GetOr_() *Query_ConstraintExpr_Or { method GetAnd_ (line 1198) | func (x *Query_ConstraintExpr) GetAnd_() *Query_ConstraintExpr_And { method GetNot_ (line 1205) | func (x *Query_ConstraintExpr) GetNot_() *Query_ConstraintExpr_Not { method GetConstraint (line 1212) | func (x *Query_ConstraintExpr) GetConstraint() *Query_ConstraintExpr_C... type isQuery_ConstraintExpr_Expression (line 1219) | type isQuery_ConstraintExpr_Expression interface type Query_ConstraintExpr_Or_ (line 1223) | type Query_ConstraintExpr_Or_ struct method isQuery_ConstraintExpr_Expression (line 1239) | func (*Query_ConstraintExpr_Or_) isQuery_ConstraintExpr_Expression() {} type Query_ConstraintExpr_And_ (line 1227) | type Query_ConstraintExpr_And_ struct method isQuery_ConstraintExpr_Expression (line 1241) | func (*Query_ConstraintExpr_And_) isQuery_ConstraintExpr_Expression() {} type Query_ConstraintExpr_Not_ (line 1231) | type Query_ConstraintExpr_Not_ struct method isQuery_ConstraintExpr_Expression (line 1243) | func (*Query_ConstraintExpr_Not_) isQuery_ConstraintExpr_Expression() {} type Query_ConstraintExpr_Constraint_ (line 1235) | type Query_ConstraintExpr_Constraint_ struct method isQuery_ConstraintExpr_Expression (line 1245) | func (*Query_ConstraintExpr_Constraint_) isQuery_ConstraintExpr_Expres... type Query_Model (line 1247) | type Query_Model struct method Reset (line 1256) | func (x *Query_Model) Reset() { method String (line 1265) | func (x *Query_Model) String() string { method ProtoMessage (line 1269) | func (*Query_Model) ProtoMessage() {} method ProtoReflect (line 1271) | func (x *Query_Model) ProtoReflect() protoreflect.Message { method Descriptor (line 1284) | func (*Query_Model) Descriptor() ([]byte, []int) { method GetConstraints (line 1288) | func (x *Query_Model) GetConstraints() []*Query_ConstraintExpr { method GetModel (line 1295) | func (x *Query_Model) GetModel() *Query_DataModel { type Query_Set_Values (line 1302) | type Query_Set_Values struct method Reset (line 1316) | func (x *Query_Set_Values) Reset() { method String (line 1325) | func (x *Query_Set_Values) String() string { method ProtoMessage (line 1329) | func (*Query_Set_Values) ProtoMessage() {} method ProtoReflect (line 1331) | func (x *Query_Set_Values) ProtoReflect() protoreflect.Message { method Descriptor (line 1344) | func (*Query_Set_Values) Descriptor() ([]byte, []int) { method GetValues (line 1348) | func (m *Query_Set_Values) GetValues() isQuery_Set_Values_Values { method GetString_ (line 1355) | func (x *Query_Set_Values) GetString_() *Query_Set_Values_Strings { method GetDouble (line 1362) | func (x *Query_Set_Values) GetDouble() *Query_Set_Values_Doubles { method GetBoolean (line 1369) | func (x *Query_Set_Values) GetBoolean() *Query_Set_Values_Bools { method GetInteger (line 1376) | func (x *Query_Set_Values) GetInteger() *Query_Set_Values_Ints { method GetLocation (line 1383) | func (x *Query_Set_Values) GetLocation() *Query_Set_Values_Locations { type isQuery_Set_Values_Values (line 1390) | type isQuery_Set_Values_Values interface type Query_Set_Values_String_ (line 1394) | type Query_Set_Values_String_ struct method isQuery_Set_Values_Values (line 1414) | func (*Query_Set_Values_String_) isQuery_Set_Values_Values() {} type Query_Set_Values_Double (line 1398) | type Query_Set_Values_Double struct method isQuery_Set_Values_Values (line 1416) | func (*Query_Set_Values_Double) isQuery_Set_Values_Values() {} type Query_Set_Values_Boolean (line 1402) | type Query_Set_Values_Boolean struct method isQuery_Set_Values_Values (line 1418) | func (*Query_Set_Values_Boolean) isQuery_Set_Values_Values() {} type Query_Set_Values_Integer (line 1406) | type Query_Set_Values_Integer struct method isQuery_Set_Values_Values (line 1420) | func (*Query_Set_Values_Integer) isQuery_Set_Values_Values() {} type Query_Set_Values_Location (line 1410) | type Query_Set_Values_Location struct method isQuery_Set_Values_Values (line 1422) | func (*Query_Set_Values_Location) isQuery_Set_Values_Values() {} type Query_Set_Values_Ints (line 1424) | type Query_Set_Values_Ints struct method Reset (line 1432) | func (x *Query_Set_Values_Ints) Reset() { method String (line 1441) | func (x *Query_Set_Values_Ints) String() string { method ProtoMessage (line 1445) | func (*Query_Set_Values_Ints) ProtoMessage() {} method ProtoReflect (line 1447) | func (x *Query_Set_Values_Ints) ProtoReflect() protoreflect.Message { method Descriptor (line 1460) | func (*Query_Set_Values_Ints) Descriptor() ([]byte, []int) { method GetValues (line 1464) | func (x *Query_Set_Values_Ints) GetValues() []int64 { type Query_Set_Values_Doubles (line 1471) | type Query_Set_Values_Doubles struct method Reset (line 1479) | func (x *Query_Set_Values_Doubles) Reset() { method String (line 1488) | func (x *Query_Set_Values_Doubles) String() string { method ProtoMessage (line 1492) | func (*Query_Set_Values_Doubles) ProtoMessage() {} method ProtoReflect (line 1494) | func (x *Query_Set_Values_Doubles) ProtoReflect() protoreflect.Message { method Descriptor (line 1507) | func (*Query_Set_Values_Doubles) Descriptor() ([]byte, []int) { method GetValues (line 1511) | func (x *Query_Set_Values_Doubles) GetValues() []float64 { type Query_Set_Values_Strings (line 1518) | type Query_Set_Values_Strings struct method Reset (line 1526) | func (x *Query_Set_Values_Strings) Reset() { method String (line 1535) | func (x *Query_Set_Values_Strings) String() string { method ProtoMessage (line 1539) | func (*Query_Set_Values_Strings) ProtoMessage() {} method ProtoReflect (line 1541) | func (x *Query_Set_Values_Strings) ProtoReflect() protoreflect.Message { method Descriptor (line 1554) | func (*Query_Set_Values_Strings) Descriptor() ([]byte, []int) { method GetValues (line 1558) | func (x *Query_Set_Values_Strings) GetValues() []string { type Query_Set_Values_Bools (line 1565) | type Query_Set_Values_Bools struct method Reset (line 1573) | func (x *Query_Set_Values_Bools) Reset() { method String (line 1582) | func (x *Query_Set_Values_Bools) String() string { method ProtoMessage (line 1586) | func (*Query_Set_Values_Bools) ProtoMessage() {} method ProtoReflect (line 1588) | func (x *Query_Set_Values_Bools) ProtoReflect() protoreflect.Message { method Descriptor (line 1601) | func (*Query_Set_Values_Bools) Descriptor() ([]byte, []int) { method GetValues (line 1605) | func (x *Query_Set_Values_Bools) GetValues() []bool { type Query_Set_Values_Locations (line 1612) | type Query_Set_Values_Locations struct method Reset (line 1620) | func (x *Query_Set_Values_Locations) Reset() { method String (line 1629) | func (x *Query_Set_Values_Locations) String() string { method ProtoMessage (line 1633) | func (*Query_Set_Values_Locations) ProtoMessage() {} method ProtoReflect (line 1635) | func (x *Query_Set_Values_Locations) ProtoReflect() protoreflect.Messa... method Descriptor (line 1648) | func (*Query_Set_Values_Locations) Descriptor() ([]byte, []int) { method GetValues (line 1652) | func (x *Query_Set_Values_Locations) GetValues() []*Query_Location { type Query_ConstraintExpr_Or (line 1659) | type Query_ConstraintExpr_Or struct method Reset (line 1667) | func (x *Query_ConstraintExpr_Or) Reset() { method String (line 1676) | func (x *Query_ConstraintExpr_Or) String() string { method ProtoMessage (line 1680) | func (*Query_ConstraintExpr_Or) ProtoMessage() {} method ProtoReflect (line 1682) | func (x *Query_ConstraintExpr_Or) ProtoReflect() protoreflect.Message { method Descriptor (line 1695) | func (*Query_ConstraintExpr_Or) Descriptor() ([]byte, []int) { method GetExpression (line 1699) | func (x *Query_ConstraintExpr_Or) GetExpression() []*Query_ConstraintE... type Query_ConstraintExpr_And (line 1706) | type Query_ConstraintExpr_And struct method Reset (line 1714) | func (x *Query_ConstraintExpr_And) Reset() { method String (line 1723) | func (x *Query_ConstraintExpr_And) String() string { method ProtoMessage (line 1727) | func (*Query_ConstraintExpr_And) ProtoMessage() {} method ProtoReflect (line 1729) | func (x *Query_ConstraintExpr_And) ProtoReflect() protoreflect.Message { method Descriptor (line 1742) | func (*Query_ConstraintExpr_And) Descriptor() ([]byte, []int) { method GetExpression (line 1746) | func (x *Query_ConstraintExpr_And) GetExpression() []*Query_Constraint... type Query_ConstraintExpr_Not (line 1753) | type Query_ConstraintExpr_Not struct method Reset (line 1761) | func (x *Query_ConstraintExpr_Not) Reset() { method String (line 1770) | func (x *Query_ConstraintExpr_Not) String() string { method ProtoMessage (line 1774) | func (*Query_ConstraintExpr_Not) ProtoMessage() {} method ProtoReflect (line 1776) | func (x *Query_ConstraintExpr_Not) ProtoReflect() protoreflect.Message { method Descriptor (line 1789) | func (*Query_ConstraintExpr_Not) Descriptor() ([]byte, []int) { method GetExpression (line 1793) | func (x *Query_ConstraintExpr_Not) GetExpression() *Query_ConstraintEx... type Query_ConstraintExpr_Constraint (line 1800) | type Query_ConstraintExpr_Constraint struct method Reset (line 1814) | func (x *Query_ConstraintExpr_Constraint) Reset() { method String (line 1823) | func (x *Query_ConstraintExpr_Constraint) String() string { method ProtoMessage (line 1827) | func (*Query_ConstraintExpr_Constraint) ProtoMessage() {} method ProtoReflect (line 1829) | func (x *Query_ConstraintExpr_Constraint) ProtoReflect() protoreflect.... method Descriptor (line 1842) | func (*Query_ConstraintExpr_Constraint) Descriptor() ([]byte, []int) { method GetAttributeName (line 1846) | func (x *Query_ConstraintExpr_Constraint) GetAttributeName() string { method GetConstraint (line 1853) | func (m *Query_ConstraintExpr_Constraint) GetConstraint() isQuery_Cons... method GetSet_ (line 1860) | func (x *Query_ConstraintExpr_Constraint) GetSet_() *Query_Set { method GetRange_ (line 1867) | func (x *Query_ConstraintExpr_Constraint) GetRange_() *Query_Range { method GetRelation (line 1874) | func (x *Query_ConstraintExpr_Constraint) GetRelation() *Query_Relation { method GetDistance (line 1881) | func (x *Query_ConstraintExpr_Constraint) GetDistance() *Query_Distance { type isQuery_ConstraintExpr_Constraint_Constraint (line 1888) | type isQuery_ConstraintExpr_Constraint_Constraint interface type Query_ConstraintExpr_Constraint_Set_ (line 1892) | type Query_ConstraintExpr_Constraint_Set_ struct method isQuery_ConstraintExpr_Constraint_Constraint (line 1908) | func (*Query_ConstraintExpr_Constraint_Set_) isQuery_ConstraintExpr_Co... type Query_ConstraintExpr_Constraint_Range_ (line 1896) | type Query_ConstraintExpr_Constraint_Range_ struct method isQuery_ConstraintExpr_Constraint_Constraint (line 1910) | func (*Query_ConstraintExpr_Constraint_Range_) isQuery_ConstraintExpr_... type Query_ConstraintExpr_Constraint_Relation (line 1900) | type Query_ConstraintExpr_Constraint_Relation struct method isQuery_ConstraintExpr_Constraint_Constraint (line 1912) | func (*Query_ConstraintExpr_Constraint_Relation) isQuery_ConstraintExp... type Query_ConstraintExpr_Constraint_Distance (line 1904) | type Query_ConstraintExpr_Constraint_Distance struct method isQuery_ConstraintExpr_Constraint_Constraint (line 1914) | func (*Query_ConstraintExpr_Constraint_Distance) isQuery_ConstraintExp... function file_search_proto_rawDescGZIP (line 2149) | func file_search_proto_rawDescGZIP() []byte { function init (line 2234) | func init() { file_search_proto_init() } function file_search_proto_init (line 2235) | func file_search_proto_init() { FILE: libs/go/aealite/protocols/storage.go type DialogueMap (line 25) | type DialogueMap type DialogueStorageInterface (line 28) | type DialogueStorageInterface interface type SimpleDialogueStorage (line 46) | type SimpleDialogueStorage struct method GetDialoguesInTerminalState (line 56) | func (dialogueStorage *SimpleDialogueStorage) GetDialoguesInTerminalSt... method GetDialoguesInActiveState (line 68) | func (dialogueStorage *SimpleDialogueStorage) GetDialoguesInActiveStat... method IsTerminalDialoguesKept (line 77) | func (dialogueStorage *SimpleDialogueStorage) IsTerminalDialoguesKept(... method DialogueTerminalStateCallback (line 80) | func (dialogueStorage *SimpleDialogueStorage) DialogueTerminalStateCal... method AddDialogue (line 87) | func (dialogueStorage *SimpleDialogueStorage) AddDialogue(dialogue *Di... method RemoveDialogue (line 99) | func (dialogueStorage *SimpleDialogueStorage) RemoveDialogue(dialogueL... method GetDialogue (line 113) | func (dialogueStorage *SimpleDialogueStorage) GetDialogue(label Dialog... method GetDialoguesWithCounterparty (line 117) | func (dialogueStorage *SimpleDialogueStorage) GetDialoguesWithCounterp... method IsInIncomplete (line 124) | func (dialogueStorage *SimpleDialogueStorage) IsInIncomplete(dialogueL... method SetIncompleteDialogue (line 129) | func (dialogueStorage *SimpleDialogueStorage) SetIncompleteDialogue( method IsDialoguePresent (line 135) | func (dialogueStorage *SimpleDialogueStorage) IsDialoguePresent(dialog... method GetLatestLabel (line 140) | func (dialogueStorage *SimpleDialogueStorage) GetLatestLabel( function removeDialogueFromArray (line 152) | func removeDialogueFromArray(array []*Dialogue, dialogueLabel DialogueLa... function NewSimpleDialogueStorage (line 166) | func NewSimpleDialogueStorage(dialogues *Dialogues) *SimpleDialogueStora... FILE: libs/go/aealite/protocols/storage_test.go function getTestDialogue (line 28) | func getTestDialogue() Dialogue { function TestStorage (line 40) | func TestStorage(t *testing.T) { FILE: libs/go/aealite/protocols/versions.go constant ACNProtocolVersion (line 24) | ACNProtocolVersion = "0.1.0" constant BaseProtocolVersion (line 25) | BaseProtocolVersion = "0.1.0" FILE: libs/go/aealite/wallet/utils.go function AddressFromPublicKey (line 57) | func AddressFromPublicKey(ledgerId string, publicKey string) (string, er... function PublicKeyFromPrivateKey (line 65) | func PublicKeyFromPrivateKey(ledgerId string, privateKey string) (string... function PubKeyFromFetchAIPublicKey (line 73) | func PubKeyFromFetchAIPublicKey(publicKey string) (crypto.PubKey, error) { function FetchAIPublicKeyFromPubKey (line 79) | func FetchAIPublicKeyFromPubKey(publicKey crypto.PubKey) (string, error) { function BTCPubKeyFromFetchAIPublicKey (line 88) | func BTCPubKeyFromFetchAIPublicKey(publicKey string) (*btcec.PublicKey, ... function BTCPubKeyFromEthereumPublicKey (line 99) | func BTCPubKeyFromEthereumPublicKey(publicKey string) (*btcec.PublicKey,... function ConvertStrEncodedSignatureToDER (line 107) | func ConvertStrEncodedSignatureToDER(signature []byte) ([]byte, error) { function ConvertDEREncodedSignatureToStr (line 130) | func ConvertDEREncodedSignatureToStr(signature []byte) ([]byte, error) { function ParseFetchAISignature (line 139) | func ParseFetchAISignature(signature string) (*btcec.Signature, error) { function VerifyLedgerSignature (line 155) | func VerifyLedgerSignature( function VerifyFetchAISignatureBTC (line 169) | func VerifyFetchAISignatureBTC(message []byte, signature string, pubkey ... function VerifyFetchAISignatureLibp2p (line 193) | func VerifyFetchAISignatureLibp2p(message []byte, signature string, pubk... function SignFetchAI (line 214) | func SignFetchAI(message []byte, privKey string) (string, error) { function signHashETH (line 231) | func signHashETH(data []byte) []byte { function RecoverAddressFromEthereumSignature (line 240) | func RecoverAddressFromEthereumSignature(message []byte, signature strin... function VerifyEthereumSignatureETH (line 262) | func VerifyEthereumSignatureETH(message []byte, signature string, pubkey... function KeyPairFromFetchAIKey (line 283) | func KeyPairFromFetchAIKey(key string) (crypto.PrivKey, crypto.PubKey, e... function FetchAIAddressFromPublicKey (line 299) | func FetchAIAddressFromPublicKey(publicKey string) (string, error) { function CosmosAddressFromPublicKey (line 304) | func CosmosAddressFromPublicKey(publicKey string) (string, error) { function cosmosAddressFromPublicKeyWithPrefix (line 310) | func cosmosAddressFromPublicKeyWithPrefix(prefix string, publicKey strin... function EthereumAddressFromPublicKey (line 341) | func EthereumAddressFromPublicKey(publicKey string) (string, error) { function encodeChecksumEIP55 (line 360) | func encodeChecksumEIP55(address []byte) string { function BTCPubKeyFromUncompressedHex (line 385) | func BTCPubKeyFromUncompressedHex(publicKey string) (*btcec.PublicKey, e... function FetchAIPublicKeyFromPrivateKey (line 398) | func FetchAIPublicKeyFromPrivateKey(privateKey string) (string, error) { FILE: libs/go/aealite/wallet/wallet.go type Wallet (line 40) | type Wallet struct method InitFromEnv (line 47) | func (wallet *Wallet) InitFromEnv(envFile string) error { FILE: libs/go/aealite/wallet/wallet_test.go constant EnvTestFile (line 28) | EnvTestFile = "../test_env_file.env" function TestWallet (line 39) | func TestWallet(t *testing.T) { FILE: libs/go/libp2p_node/acn/utils.go constant ERROR_DECODE (line 49) | ERROR_DECODE = acn_protocol.AcnMessage_StatusBody_ERROR_DECODE constant SUCCESS (line 50) | SUCCESS = acn_protocol.AcnMessage_StatusBody_SUCCESS constant ERROR_UNEXPECTED_PAYLOAD (line 51) | ERROR_UNEXPECTED_PAYLOAD = acn_protocol.AcnMessage_StatusBody_ERROR_UNEX... constant ERROR_AGENT_NOT_READY (line 52) | ERROR_AGENT_NOT_READY = acn_protocol.AcnMessage_StatusBody_ERROR_AGENT_N... constant ERROR_UNKNOWN_AGENT_ADDRESS (line 53) | ERROR_UNKNOWN_AGENT_ADDRESS = acn_protocol.AcnMessage_StatusBody_ERROR_U... constant ERROR_GENERIC (line 54) | ERROR_GENERIC = acn_protocol.AcnMessage_StatusBody_ERROR_GENERIC constant ERROR_WRONG_AGENT_ADDRESS (line 55) | ERROR_WRONG_AGENT_ADDRESS = acn_protocol.AcnMessage_StatusBody_ERROR_WRO... constant ERROR_UNSUPPORTED_LEDGER (line 56) | ERROR_UNSUPPORTED_LEDGER = acn_protocol.AcnMessage_StatusBody_ERROR_UNSU... constant ERROR_WRONG_PUBLIC_KEY (line 57) | ERROR_WRONG_PUBLIC_KEY = acn_protocol.AcnMessage_StatusBody_ERROR_WRONG_... constant ERROR_INVALID_PROOF (line 58) | ERROR_INVALID_PROOF = acn_protocol.AcnMessage_StatusBody_ERROR_INVALID_P... constant CurrentVersion (line 71) | CurrentVersion = "0.1.0" function ignore (line 73) | func ignore(err error) { type ACNError (line 79) | type ACNError struct method Error (line 84) | func (err *ACNError) Error() string { function DecodeAcnMessage (line 88) | func DecodeAcnMessage(buf []byte) (string, *AeaEnvelopePerformative, *St... function WaitForStatus (line 116) | func WaitForStatus(ch chan *StatusBody, timeout time.Duration) (*StatusB... function SendAcnSuccess (line 127) | func SendAcnSuccess(pipe Pipe) error { function SendAcnError (line 146) | func SendAcnError(pipe Pipe, error_msg string, err_codes ...Status_ErrCo... function EncodeAcnEnvelope (line 171) | func EncodeAcnEnvelope(envelope_bytes []byte, record *AgentRecord) ([]by... type Pipe (line 192) | type Pipe interface type StatusQueue (line 199) | type StatusQueue interface function ReadAgentRegistrationMessage (line 203) | func ReadAgentRegistrationMessage(pipe Pipe) (*RegisterPerformative, err... function SendEnvelopeMessageAndWaitForStatus (line 233) | func SendEnvelopeMessageAndWaitForStatus( function ReadLookupRequest (line 264) | func ReadLookupRequest(pipe Pipe) (string, error) { function SendLookupRequest (line 300) | func SendLookupRequest(pipe Pipe, address string) error { function ReadLookupResponse (line 313) | func ReadLookupResponse(pipe Pipe) (*AgentRecord, error) { function SendLookupResponse (line 348) | func SendLookupResponse(pipe Pipe, record *AgentRecord) error { function SendEnvelopeMessage (line 361) | func SendEnvelopeMessage(pipe Pipe, envelope_bytes []byte, record *Agent... function SendAgentRegisterMessage (line 376) | func SendAgentRegisterMessage(pipe Pipe, agentRecord *AgentRecord) error { function ReadAcnStatus (line 401) | func ReadAcnStatus(pipe Pipe) (*StatusBody, error) { function ReadEnvelopeMessage (line 432) | func ReadEnvelopeMessage(pipe Pipe) (*AeaEnvelopePerformative, error) { function PerformAddressLookup (line 454) | func PerformAddressLookup(pipe Pipe, address string) (*AgentRecord, erro... FILE: libs/go/libp2p_node/aea/api.go constant AcnStatusTimeout (line 40) | AcnStatusTimeout = 15.0 * time.Second constant SendQueueSize (line 41) | SendQueueSize = 100 constant OutQueueSize (line 42) | OutQueueSize = 100 type AeaApi (line 60) | type AeaApi struct method MailboxUri (line 92) | func (aea AeaApi) MailboxUri() string { method AeaAddress (line 96) | func (aea AeaApi) AeaAddress() string { method PrivateKey (line 100) | func (aea AeaApi) PrivateKey() string { method Address (line 104) | func (aea AeaApi) Address() (string, uint16) { method PublicAddress (line 108) | func (aea AeaApi) PublicAddress() (string, uint16) { method DelegateAddress (line 112) | func (aea AeaApi) DelegateAddress() (string, uint16) { method MonitoringAddress (line 116) | func (aea AeaApi) MonitoringAddress() (string, uint16) { method EntryPeers (line 120) | func (aea AeaApi) EntryPeers() []string { method AgentRecord (line 124) | func (aea AeaApi) AgentRecord() *acn.AgentRecord { method RegistrationDelayInSeconds (line 128) | func (aea AeaApi) RegistrationDelayInSeconds() float64 { method RecordStoragePath (line 132) | func (aea AeaApi) RecordStoragePath() string { method Put (line 136) | func (aea AeaApi) Put(envelope *Envelope) error { method Get (line 146) | func (aea *AeaApi) Get() *Envelope { method Queue (line 155) | func (aea *AeaApi) Queue() <-chan *Envelope { method Connected (line 159) | func (aea *AeaApi) Connected() bool { method Stop (line 163) | func (aea *AeaApi) Stop() { method Init (line 171) | func (aea *AeaApi) Init() error { method Connect (line 334) | func (aea *AeaApi) Connect() error { method listenForEnvelopes (line 362) | func (aea *AeaApi) listenForEnvelopes() { method envelopeSendLoop (line 404) | func (aea *AeaApi) envelopeSendLoop() { method stop (line 425) | func (aea *AeaApi) stop() { method SendEnvelope (line 447) | func (aea AeaApi) SendEnvelope(envelope *Envelope) error { method AddAcnStatusMessage (line 480) | func (aea AeaApi) AddAcnStatusMessage(status *acn.StatusBody, counterp... constant CurrentVersion (line 437) | CurrentVersion = "0.1.0" function MakeAcnMessageFromEnvelope (line 439) | func MakeAcnMessageFromEnvelope(envelope *Envelope) ([]byte, error) { function SendEnvelope (line 451) | func SendEnvelope( FILE: libs/go/libp2p_node/aea/envelope.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) constant _ (line 26) | _ = proto.ProtoPackageIsVersion4 type Envelope (line 28) | type Envelope struct method Reset (line 40) | func (x *Envelope) Reset() { method String (line 49) | func (x *Envelope) String() string { method ProtoMessage (line 53) | func (*Envelope) ProtoMessage() {} method ProtoReflect (line 55) | func (x *Envelope) ProtoReflect() protoreflect.Message { method Descriptor (line 68) | func (*Envelope) Descriptor() ([]byte, []int) { method GetTo (line 72) | func (x *Envelope) GetTo() string { method GetSender (line 79) | func (x *Envelope) GetSender() string { method GetProtocolId (line 86) | func (x *Envelope) GetProtocolId() string { method GetMessage (line 93) | func (x *Envelope) GetMessage() []byte { method GetUri (line 100) | func (x *Envelope) GetUri() string { function file_envelope_proto_rawDescGZIP (line 127) | func file_envelope_proto_rawDescGZIP() []byte { function init (line 146) | func init() { file_envelope_proto_init() } function file_envelope_proto_init (line 147) | func file_envelope_proto_init() { FILE: libs/go/libp2p_node/aea/pipe.go type TCPSocketChannel (line 34) | type TCPSocketChannel struct method Connect (line 39) | func (sock *TCPSocketChannel) Connect() error { method Read (line 51) | func (sock *TCPSocketChannel) Read() ([]byte, error) { method Write (line 66) | func (sock *TCPSocketChannel) Write(data []byte) error { method Close (line 81) | func (sock *TCPSocketChannel) Close() error { function NewPipe (line 85) | func NewPipe(msgin_path string, msgout_path string) common.Pipe { FILE: libs/go/libp2p_node/aea/utils.go function HandleAcnMessageFromPipe (line 32) | func HandleAcnMessageFromPipe( FILE: libs/go/libp2p_node/common/common.go type PipeError (line 22) | type PipeError struct method Error (line 27) | func (err *PipeError) Error() string { method Unwrap (line 31) | func (err *PipeError) Unwrap() error { type Pipe (line 35) | type Pipe interface FILE: libs/go/libp2p_node/dht/common/handlers.go function ignore (line 42) | func ignore(err error) { type DHTHandler (line 49) | type DHTHandler interface function receiveEnvelopeFromPeer (line 56) | func receiveEnvelopeFromPeer(dhtHandler DHTHandler, stream network.Strea... function HandleAeaEnvelopeStream (line 97) | func HandleAeaEnvelopeStream(dhtHandler DHTHandler, stream network.Strea... function HandleAeaAddressStream (line 129) | func HandleAeaAddressStream(dhtHandler DHTHandler, stream network.Stream) { FILE: libs/go/libp2p_node/dht/dhtclient/dhtclient.go function ignore (line 57) | func ignore(err error) { constant newStreamTimeoutRelayPeer (line 64) | newStreamTimeoutRelayPeer = 5 * 60 * time.Second constant newStreamTimeout (line 65) | newStreamTimeout = 1 * 60 * time.Second constant bootstrapTimeout (line 66) | bootstrapTimeout = 1 * 60 * time.Second constant sleepTimeDefaultDuration (line 67) | sleepTimeDefaultDuration = 100 * time.Millisecond constant sleepTimeIncreaseMFactor (line 68) | sleepTimeIncreaseMFactor = 2 constant reconnectTimeout (line 69) | reconnectTimeout = 5 * time.Second type Notifee (line 73) | type Notifee struct method Listen (line 81) | func (notifee *Notifee) Listen(network.Network, multiaddr.Multiaddr) {} method ListenClose (line 84) | func (notifee *Notifee) ListenClose(network.Network, multiaddr.Multiad... method Connected (line 87) | func (notifee *Notifee) Connected(net network.Network, conn network.Co... method Disconnected (line 97) | func (notifee *Notifee) Disconnected(net network.Network, conn network... method OpenedStream (line 137) | func (notifee *Notifee) OpenedStream(network.Network, network.Stream) {} method ClosedStream (line 140) | func (notifee *Notifee) ClosedStream(network.Network, network.Stream) {} type DHTClient (line 144) | type DHTClient struct method bootstrapLoopUntilTimeout (line 299) | func (dhtClient *DHTClient) bootstrapLoopUntilTimeout() error { method newStreamLoopUntilTimeout (line 332) | func (dhtClient *DHTClient) newStreamLoopUntilTimeout( method setupLogger (line 368) | func (dhtClient *DHTClient) setupLogger() { method GetLoggers (line 380) | func (dhtClient *DHTClient) GetLoggers() (func(error) *zerolog.Event, ... method Close (line 396) | func (dhtClient *DHTClient) Close() []error { method MultiAddr (line 420) | func (dhtClient *DHTClient) MultiAddr() string { method PeerID (line 424) | func (dhtClient *DHTClient) PeerID() string { method RouteEnvelope (line 429) | func (dhtClient *DHTClient) RouteEnvelope(envel *aea.Envelope) error { method handleAeaEnvelopeStream (line 628) | func (dhtClient *DHTClient) handleAeaEnvelopeStream(stream network.Str... method HandleAeaEnvelope (line 634) | func (dhtClient *DHTClient) HandleAeaEnvelope(envel *aea.Envelope) *ac... method handleAeaAddressStream (line 656) | func (dhtClient *DHTClient) handleAeaAddressStream(stream network.Stre... method HandleAeaAddressRequest (line 660) | func (dhtClient *DHTClient) HandleAeaAddressRequest( method registerAgentAddress (line 684) | func (dhtClient *DHTClient) registerAgentAddress() error { method ProcessEnvelope (line 727) | func (dhtClient *DHTClient) ProcessEnvelope(fn func(*aea.Envelope) err... function New (line 163) | func New(opts ...Option) (*DHTClient, error) { FILE: libs/go/libp2p_node/dht/dhtclient/dhtclient_test.go constant DefaultFetchAIKey (line 36) | DefaultFetchAIKey = "04ab8ac134ec727917cf4f9e47685e84622151bc8b128... constant DefaultFetchAIPublicKey (line 37) | DefaultFetchAIPublicKey = "03b07ef4513e3f0372245b3d6d474d871ba58eacaf3a2... constant DefaultAgentKey (line 38) | DefaultAgentKey = "f76137a61c1ad3ee8a0a9a185bc8e6fa51be1a2528f86... constant DefaultAgentPublicKey (line 39) | DefaultAgentPublicKey = "021820ce23b5f3a6ef01988149e724af854f89d37b9ca... constant DefaultAgentAddress (line 40) | DefaultAgentAddress = "fetch1ver6u7xdvkjy4dq8xxrkc6ualu98k7ykumv08q" constant EnvelopeDeliveryTimeout (line 42) | EnvelopeDeliveryTimeout = 10 * time.Second constant DefaultLedger (line 44) | DefaultLedger = dhtnode.DefaultLedger function TestNew (line 48) | func TestNew(t *testing.T) { function TestRouteEnvelopeToPeerAgent (line 91) | func TestRouteEnvelopeToPeerAgent(t *testing.T) { FILE: libs/go/libp2p_node/dht/dhtclient/options.go type Option (line 29) | type Option function IdentityFromFetchAIKey (line 32) | func IdentityFromFetchAIKey(key string) Option { function RegisterAgentAddress (line 44) | func RegisterAgentAddress(record *acn.AgentRecord, isReady func() bool) ... function BootstrapFrom (line 62) | func BootstrapFrom(entryPeers []string) Option { FILE: libs/go/libp2p_node/dht/dhtnode/dhtnode.go type DHTNode (line 27) | type DHTNode interface FILE: libs/go/libp2p_node/dht/dhtnode/streams.go constant AeaNotifStream (line 24) | AeaNotifStream = "/aea-notif/0.1.0" constant AeaAddressStream (line 25) | AeaAddressStream = "/aea-address/0.1.0" constant AeaEnvelopeStream (line 26) | AeaEnvelopeStream = "/aea/0.1.0" constant AeaRegisterRelayStream (line 27) | AeaRegisterRelayStream = "/aea-register/0.1.0" FILE: libs/go/libp2p_node/dht/dhtnode/utils.go constant DefaultLedger (line 34) | DefaultLedger = "fetchai" constant CurrentVersion (line 35) | CurrentVersion = "0.1.0" function IsValidProofOfRepresentation (line 40) | func IsValidProofOfRepresentation( FILE: libs/go/libp2p_node/dht/dhtpeer/benchmarks_test.go function init (line 51) | func init() { function acceptAndEcho (line 67) | func acceptAndEcho(server net.Listener) { function connect (line 89) | func connect(uri string, b *testing.B) net.Conn { function sendAndReceive (line 97) | func sendAndReceive(conn net.Conn, buf []byte, b *testing.B) { function connectAndSend (line 108) | func connectAndSend(buf []byte, b *testing.B) { function BenchmarkBaselineTCPEcho (line 116) | func BenchmarkBaselineTCPEcho(b *testing.B) { function BenchmarkBaselineTCPConnectAndEcho (line 135) | func BenchmarkBaselineTCPConnectAndEcho(b *testing.B) { function getKeysAndAddrs (line 166) | func getKeysAndAddrs(b *testing.B) (peers []string, agents []string) { function setupLocalDHTPeerForBench (line 190) | func setupLocalDHTPeerForBench( function deployPeers (line 258) | func deployPeers(number uint16, b *testing.B) ([]*DHTPeer, []string) { function closePeers (line 278) | func closePeers(peers ...*DHTPeer) { function setupEchoServicePeers (line 284) | func setupEchoServicePeers(peers ...*DHTPeer) { function benchmarkAgentRegistration (line 298) | func benchmarkAgentRegistration(npeers uint16, b *testing.B) { function benchmarkAgentLookup (line 321) | func benchmarkAgentLookup(npeers uint16, b *testing.B) { function benchmarkPeerJoin (line 347) | func benchmarkPeerJoin(npeers uint16, b *testing.B) { function benchmarkPeerEcho (line 368) | func benchmarkPeerEcho(npeers uint16, b *testing.B) { function BenchmarkAgentRegistration2 (line 404) | func BenchmarkAgentRegistration2(b *testing.B) { benchmarkAgentRegistr... function BenchmarkAgentRegistration8 (line 405) | func BenchmarkAgentRegistration8(b *testing.B) { benchmarkAgentRegistr... function BenchmarkAgentRegistration32 (line 406) | func BenchmarkAgentRegistration32(b *testing.B) { benchmarkAgentRegistr... function BenchmarkAgentRegistration128 (line 407) | func BenchmarkAgentRegistration128(b *testing.B) { benchmarkAgentRegistr... function BenchmarkAgentRegistration256 (line 408) | func BenchmarkAgentRegistration256(b *testing.B) { benchmarkAgentRegistr... function BenchmarkAgentLookup2 (line 410) | func BenchmarkAgentLookup2(b *testing.B) { benchmarkAgentLookup(2, b) } function BenchmarkAgentLookup8 (line 411) | func BenchmarkAgentLookup8(b *testing.B) { benchmarkAgentLookup(8, b) } function BenchmarkAgentLookup32 (line 412) | func BenchmarkAgentLookup32(b *testing.B) { benchmarkAgentLookup(32, b) } function BenchmarkAgentLookup128 (line 413) | func BenchmarkAgentLookup128(b *testing.B) { benchmarkAgentLookup(128, b) } function BenchmarkAgentLookup256 (line 414) | func BenchmarkAgentLookup256(b *testing.B) { benchmarkAgentLookup(256, b) } function BenchmarkPeerJoin2 (line 416) | func BenchmarkPeerJoin2(b *testing.B) { benchmarkPeerJoin(2, b) } function BenchmarkPeerJoin8 (line 417) | func BenchmarkPeerJoin8(b *testing.B) { benchmarkPeerJoin(8, b) } function BenchmarkPeerJoin32 (line 418) | func BenchmarkPeerJoin32(b *testing.B) { benchmarkPeerJoin(32, b) } function BenchmarkPeerJoin128 (line 419) | func BenchmarkPeerJoin128(b *testing.B) { benchmarkPeerJoin(128, b) } function BenchmarkPeerJoin256 (line 420) | func BenchmarkPeerJoin256(b *testing.B) { benchmarkPeerJoin(256, b) } function BenchmarkPeerEcho2 (line 422) | func BenchmarkPeerEcho2(b *testing.B) { benchmarkPeerEcho(2, b) } function BenchmarkPeerEcho8 (line 423) | func BenchmarkPeerEcho8(b *testing.B) { benchmarkPeerEcho(8, b) } function BenchmarkPeerEcho32 (line 424) | func BenchmarkPeerEcho32(b *testing.B) { benchmarkPeerEcho(32, b) } function BenchmarkPeerEcho128 (line 425) | func BenchmarkPeerEcho128(b *testing.B) { benchmarkPeerEcho(128, b) } function BenchmarkPeerEcho256 (line 426) | func BenchmarkPeerEcho256(b *testing.B) { benchmarkPeerEcho(256, b) } FILE: libs/go/libp2p_node/dht/dhtpeer/dhtpeer.go constant AcnStatusTimeout (line 74) | AcnStatusTimeout = 5.0 * time.Second constant AcnStatusesQueueSize (line 75) | AcnStatusesQueueSize = 1000 constant SlowQueueSize (line 76) | SlowQueueSize = 100 function check (line 79) | func check(err error) { function ignore (line 84) | func ignore(err error) { constant addressLookupTimeout (line 91) | addressLookupTimeout = 20 * time.Second constant timeoutBeforeMovingToSlowQueue (line 92) | timeoutBeforeMovingToSlowQueue = 3 * time.Second constant routingTableConnectionUpdateTimeout (line 93) | routingTableConnectionUpdateTimeout = 5 * time.Second constant newStreamTimeout (line 94) | newStreamTimeout = 10 * time.Second constant addressRegisterTimeout (line 95) | addressRegisterTimeout = 3 * time.Second constant addressRegistrationDelay (line 96) | addressRegistrationDelay = 0 * time.Second constant monitoringNamespace (line 97) | monitoringNamespace = "acn" constant metricDHTOpLatencyStore (line 98) | metricDHTOpLatencyStore = "dht_op_latency_store" constant metricDHTOpLatencyLookup (line 99) | metricDHTOpLatencyLookup = "dht_op_latency_lookup" constant metricOpLatencyRegister (line 100) | metricOpLatencyRegister = "op_latency_register" constant metricOpLatencyRoute (line 101) | metricOpLatencyRoute = "op_latency_route" constant metricOpRouteCount (line 102) | metricOpRouteCount = "op_route_count" constant metricOpRouteCountAll (line 103) | metricOpRouteCountAll = "op_route_count_all" constant metricOpRouteCountSuccess (line 104) | metricOpRouteCountSuccess = "op_route_count_success" constant metricServiceDelegateClientsCount (line 105) | metricServiceDelegateClientsCount = "service_delegate_clients_count" constant metricServiceDelegateClientsCountAll (line 106) | metricServiceDelegateClientsCountAll = "service_delegate_clients_count_all" constant metricServiceRelayClientsCount (line 107) | metricServiceRelayClientsCount = "service_relay_clients_count" constant metricServiceRelayClientsCountAll (line 108) | metricServiceRelayClientsCountAll = "service_relay_clients_count_all" constant defaultPersistentStoragePath (line 109) | defaultPersistentStoragePath = "./agent_records_store" type DHTPeer (line 121) | type DHTPeer struct method saveAgentRecordToPersistentStorage (line 431) | func (dhtPeer *DHTPeer) saveAgentRecordToPersistentStorage(record *acn... method initAgentRecordPersistentStorage (line 462) | func (dhtPeer *DHTPeer) initAgentRecordPersistentStorage() (int, error) { method closeAgentRecordPersistentStorage (line 510) | func (dhtPeer *DHTPeer) closeAgentRecordPersistentStorage() error { method setupMonitoring (line 517) | func (dhtPeer *DHTPeer) setupMonitoring() { method startMonitoring (line 530) | func (dhtPeer *DHTPeer) startMonitoring(ready *sync.WaitGroup) { method addMonitoringMetrics (line 537) | func (dhtPeer *DHTPeer) addMonitoringMetrics() { method setupLogger (line 582) | func (dhtPeer *DHTPeer) setupLogger() { method PeerID (line 592) | func (dhtPeer *DHTPeer) PeerID() string { method GetLoggers (line 596) | func (dhtPeer *DHTPeer) GetLoggers() (func(error) *zerolog.Event, func... method SetLogLevel (line 611) | func (dhtPeer *DHTPeer) SetLogLevel(lvl zerolog.Level) { method Close (line 616) | func (dhtPeer *DHTPeer) Close() []error { method launchDelegateService (line 730) | func (dhtPeer *DHTPeer) launchDelegateService() { method makeSSLCertifiateAndSignature (line 751) | func (dhtPeer *DHTPeer) makeSSLCertifiateAndSignature() error { method launchMailboxService (line 769) | func (dhtPeer *DHTPeer) launchMailboxService() { method handleDelegateService (line 791) | func (dhtPeer *DHTPeer) handleDelegateService(ready *sync.WaitGroup) { method CheckPOR (line 826) | func (dhtPeer *DHTPeer) CheckPOR(record *acn.AgentRecord) (*acn.Status... method handleNewDelegationConnection (line 837) | func (dhtPeer *DHTPeer) handleNewDelegationConnection(conn net.Conn) { method ProcessEnvelope (line 1013) | func (dhtPeer *DHTPeer) ProcessEnvelope(fn func(*aea.Envelope) error) { method MultiAddr (line 1018) | func (dhtPeer *DHTPeer) MultiAddr() string { method GetCertAndSignature (line 1028) | func (dhtPeer *DHTPeer) GetCertAndSignature() (*tls.Certificate, []byt... method getEnvelopeAcnRecord (line 1034) | func (dhtPeer *DHTPeer) getEnvelopeAcnRecord(envel *aea.Envelope) (*ac... method RouteEnvelope (line 1055) | func (dhtPeer *DHTPeer) RouteEnvelope(envel *aea.Envelope) error { method slowEnvelopeSendLoop (line 1186) | func (dhtPeer *DHTPeer) slowEnvelopeSendLoop() { method _routeEnvelopeDHTLookup (line 1210) | func (dhtPeer *DHTPeer) _routeEnvelopeDHTLookup( method _routeEnvelopeWithNewStream (line 1235) | func (dhtPeer *DHTPeer) _routeEnvelopeWithNewStream( method lookupAddressDHT (line 1324) | func (dhtPeer *DHTPeer) lookupAddressDHT( method handleAeaEnvelopeStream (line 1450) | func (dhtPeer *DHTPeer) handleAeaEnvelopeStream(stream network.Stream) { method HandleAeaEnvelope (line 1456) | func (dhtPeer *DHTPeer) HandleAeaEnvelope(envel *aea.Envelope) *acn.AC... method handleAeaAddressStream (line 1528) | func (dhtPeer *DHTPeer) handleAeaAddressStream(stream network.Stream) { method HandleAeaAddressRequest (line 1533) | func (dhtPeer *DHTPeer) HandleAeaAddressRequest( method handleAeaNotifStream (line 1615) | func (dhtPeer *DHTPeer) handleAeaNotifStream(stream network.Stream) { method IsAddressAnnouncementEnabled (line 1691) | func (dhtPeer *DHTPeer) IsAddressAnnouncementEnabled() bool { method handleAeaRegisterStream (line 1700) | func (dhtPeer *DHTPeer) handleAeaRegisterStream(stream network.Stream) { method RegisterAgentAddress (line 1795) | func (dhtPeer *DHTPeer) RegisterAgentAddress(addr string) error { method IsAddressAnnounced (line 1830) | func (dhtPeer *DHTPeer) IsAddressAnnounced(address string) bool { method setAddressAnnounced (line 1837) | func (dhtPeer *DHTPeer) setAddressAnnounced(address string) { method AddAcnStatusMessage (line 1843) | func (dhtPeer *DHTPeer) AddAcnStatusMessage(status *acn.StatusBody, co... method AwaitAcnStatus (line 1851) | func (dhtPeer *DHTPeer) AwaitAcnStatus(counterpartyID string) error { function New (line 187) | func New(opts ...Option) (*DHTPeer, error) { function parsePersistentStorageLine (line 449) | func parsePersistentStorageLine(line []byte) (*acn.AgentRecord, error) { function formatPersistentStorageLine (line 455) | func formatPersistentStorageLine(record *acn.AgentRecord) []byte { function generate_x509_cert (line 673) | func generate_x509_cert() (*tls.Certificate, error) { function makeSessionKeySignature (line 783) | func makeSessionKeySignature(cert *tls.Certificate, privateKey cryptop2p... FILE: libs/go/libp2p_node/dht/dhtpeer/dhtpeer_test.go constant DefaultLocalHost (line 52) | DefaultLocalHost = "127.0.0.1" constant DefaultLocalPort (line 53) | DefaultLocalPort = 2000 constant DefaultDelegatePort (line 54) | DefaultDelegatePort = 3000 constant EnvelopeDeliveryTimeout (line 56) | EnvelopeDeliveryTimeout = 1 * time.Second constant DHTPeerSetupTimeout (line 57) | DHTPeerSetupTimeout = 5 * time.Second constant DefaultLedger (line 59) | DefaultLedger = dhtnode.DefaultLedger function TestRoutingDHTPeerToSelf (line 121) | func TestRoutingDHTPeerToSelf(t *testing.T) { function TestRoutingDHTPeerToDHTPeerDirect (line 176) | func TestRoutingDHTPeerToDHTPeerDirect(t *testing.T) { function TestRoutingDHTPeerToDHTPeerIndirect (line 226) | func TestRoutingDHTPeerToDHTPeerIndirect(t *testing.T) { function TestRoutingDHTPeerToDHTPeerIndirectTwoHops (line 285) | func TestRoutingDHTPeerToDHTPeerIndirectTwoHops(t *testing.T) { function TestRoutingDHTPeerToDHTPeerFullConnectivity (line 354) | func TestRoutingDHTPeerToDHTPeerFullConnectivity(t *testing.T) { function TestRoutingDHTClientToDHTPeerX (line 426) | func TestRoutingDHTClientToDHTPeerX(t *testing.T) { function TestRoutingDHTClientToDHTPeerIndirect (line 474) | func TestRoutingDHTClientToDHTPeerIndirect(t *testing.T) { function TestRoutingDHTClientToDHTClient (line 533) | func TestRoutingDHTClientToDHTClient(t *testing.T) { function TestRoutingDHTClientToDHTClientIndirect (line 589) | func TestRoutingDHTClientToDHTClientIndirect(t *testing.T) { function TestRoutingDelegateClientToDHTPeerX (line 660) | func TestRoutingDelegateClientToDHTPeerX(t *testing.T) { function TestRoutingDelegateClientToDHTPeerIndirect (line 709) | func TestRoutingDelegateClientToDHTPeerIndirect(t *testing.T) { function TestMessageOrderingWithDelegateClient (line 768) | func TestMessageOrderingWithDelegateClient(t *testing.T) { function TestMessageOrderingWithDelegateClientTwoHops (line 864) | func TestMessageOrderingWithDelegateClientTwoHops(t *testing.T) { function TestRoutingDelegateClientToDHTPeerIndirectTwoHops (line 981) | func TestRoutingDelegateClientToDHTPeerIndirectTwoHops(t *testing.T) { function TestRoutingDelegateClientToDelegateClient (line 1051) | func TestRoutingDelegateClientToDelegateClient(t *testing.T) { function TestRoutingDelegateClientToDelegateClientIndirect (line 1106) | func TestRoutingDelegateClientToDelegateClientIndirect(t *testing.T) { function TestRoutingDelegateClientToDHTClientDirect (line 1171) | func TestRoutingDelegateClientToDHTClientDirect(t *testing.T) { function TestRoutingDelegateClientToDHTClientIndirect (line 1223) | func TestRoutingDelegateClientToDHTClientIndirect(t *testing.T) { function TestRoutingAllToAll (line 1300) | func TestRoutingAllToAll(t *testing.T) { function randSeq (line 1630) | func randSeq(n int) string { function SetupLocalDHTPeer (line 1640) | func SetupLocalDHTPeer( function SetupDHTClient (line 1701) | func SetupDHTClient( type DelegateClient (line 1750) | type DelegateClient struct method AddAcnStatusMessage (line 1762) | func (client *DelegateClient) AddAcnStatusMessage(status *acn.StatusBo... method Close (line 1766) | func (client *DelegateClient) Close() error { method Send (line 1770) | func (client *DelegateClient) Send(envelope *aea.Envelope) error { method ProcessEnvelope (line 1784) | func (client *DelegateClient) ProcessEnvelope(fn func(*aea.Envelope) e... function ValidateTLSSignature (line 1788) | func ValidateTLSSignature( function SetupDelegateClient (line 1809) | func SetupDelegateClient( function expectEnvelope (line 1918) | func expectEnvelope(t *testing.T, rx chan *aea.Envelope) { function expectEnvelopeOrdered (line 1928) | func expectEnvelopeOrdered(t *testing.T, rx chan *aea.Envelope, counter ... function ensureAddressAnnounced (line 1946) | func ensureAddressAnnounced(peers ...*DHTPeer) { function TestFetchAICrypto (line 1961) | func TestFetchAICrypto(t *testing.T) { function TestEthereumCrypto (line 1992) | func TestEthereumCrypto(t *testing.T) { function TestTLSSignatureValidation (line 2035) | func TestTLSSignatureValidation(t *testing.T) { FILE: libs/go/libp2p_node/dht/dhtpeer/mailbox.go type MailboxServer (line 240) | type MailboxServer struct method apiRegister (line 18) | func (mailboxServer *MailboxServer) apiRegister(res http.ResponseWrite... method apiUnregister (line 87) | func (mailboxServer *MailboxServer) apiUnregister(res http.ResponseWri... method apiGetSignature (line 124) | func (mailboxServer *MailboxServer) apiGetSignature(res http.ResponseW... method apiSendEnvelope (line 137) | func (mailboxServer *MailboxServer) apiSendEnvelope(res http.ResponseW... method apiGetEnvelope (line 192) | func (mailboxServer *MailboxServer) apiGetEnvelope(res http.ResponseWr... method start (line 253) | func (mailboxServer *MailboxServer) start() { method stop (line 287) | func (mailboxServer *MailboxServer) stop() { method RouteEnvelope (line 299) | func (mailboxServer *MailboxServer) RouteEnvelope(envelope *aea.Envelo... method IsAddrRegistered (line 325) | func (mailboxServer *MailboxServer) IsAddrRegistered(addr string) bool { method GetAgentRecord (line 332) | func (mailboxServer *MailboxServer) GetAgentRecord(addr string) *acn.A... FILE: libs/go/libp2p_node/dht/dhtpeer/notifee.go type Notifee (line 33) | type Notifee struct method Listen (line 38) | func (notifee *Notifee) Listen(network.Network, multiaddr.Multiaddr) {} method ListenClose (line 41) | func (notifee *Notifee) ListenClose(network.Network, multiaddr.Multiad... method Connected (line 44) | func (notifee *Notifee) Connected(net network.Network, conn network.Co... method Disconnected (line 54) | func (notifee *Notifee) Disconnected(net network.Network, conn network... method OpenedStream (line 62) | func (notifee *Notifee) OpenedStream(network.Network, network.Stream) {} method ClosedStream (line 65) | func (notifee *Notifee) ClosedStream(network.Network, network.Stream) {} FILE: libs/go/libp2p_node/dht/dhtpeer/options.go type Option (line 35) | type Option function IdentityFromFetchAIKey (line 38) | func IdentityFromFetchAIKey(key string) Option { function RegisterAgentAddress (line 50) | func RegisterAgentAddress(record *acn.AgentRecord, isReady func() bool) ... function BootstrapFrom (line 68) | func BootstrapFrom(entryPeers []string) Option { function LocalURI (line 80) | func LocalURI(host string, port uint16) Option { function PublicURI (line 95) | func PublicURI(host string, port uint16) Option { function EnableDelegateService (line 110) | func EnableDelegateService(port uint16) Option { function EnableMailboxService (line 118) | func EnableMailboxService(hostport string) Option { function EnableRelayService (line 126) | func EnableRelayService() Option { function LoggingLevel (line 135) | func LoggingLevel(lvl zerolog.Level) Option { function EnablePrometheusMonitoring (line 143) | func EnablePrometheusMonitoring(port uint16) Option { function WithRegistrationDelay (line 151) | func WithRegistrationDelay(delay time.Duration) Option { function StoreRecordsTo (line 159) | func StoreRecordsTo(path string) Option { FILE: libs/go/libp2p_node/dht/dhtpeer/utils.go type TLSListener (line 28) | type TLSListener struct method Accept (line 33) | func (listener TLSListener) Accept() (net.Conn, error) { method Close (line 44) | func (listener TLSListener) Close() error { method Addr (line 48) | func (listener TLSListener) Addr() net.Addr { FILE: libs/go/libp2p_node/dht/dhttests/dhttests.go constant DHTPeerDefaultLocalHost (line 38) | DHTPeerDefaultLocalHost = "127.0.0.1" constant DHTPeerDefaultLocalPort (line 39) | DHTPeerDefaultLocalPort = 2000 constant DHTPeerDefaultDelegatePort (line 40) | DHTPeerDefaultDelegatePort = 3000 constant DHTPeerDefaultFetchAIKey (line 42) | DHTPeerDefaultFetchAIKey = "34604436e55b0eb99b5e62508433e172dd3ee1... constant DHTPeerDefaultFetchAIPublicKey (line 43) | DHTPeerDefaultFetchAIPublicKey = "039e883de988eededb9afaa4d3a6baec9ba74d... constant DHTPeerDefaultAgentKey (line 45) | DHTPeerDefaultAgentKey = "719133dc740d76ff6d1d325e193f7cd63af4c8f3... constant DHTPeerDefaultAgentPublicKey (line 46) | DHTPeerDefaultAgentPublicKey = "039623e63ba1617404b2abbe7bd94d24eb788335... constant DHTPeerDefaultAgentAddress (line 47) | DHTPeerDefaultAgentAddress = "fetch134rg4n3wgmwctxsrm7gp6l65uwv6hxtxyf... function randSeq (line 50) | func randSeq(n int) string { function NewDHTPeerWithDefaults (line 60) | func NewDHTPeerWithDefaults(inbox chan<- *aea.Envelope) (*dhtpeer.DHTPee... FILE: libs/go/libp2p_node/dht/monitoring/file.go type FileGauge (line 30) | type FileGauge struct method Set (line 35) | func (fg *FileGauge) Set(value float64) { method Get (line 42) | func (fg *FileGauge) Get() float64 { method Inc (line 47) | func (fg *FileGauge) Inc() { method Dec (line 51) | func (fg *FileGauge) Dec() { method Add (line 55) | func (fg *FileGauge) Add(count float64) { method Sub (line 62) | func (fg *FileGauge) Sub(count float64) { type FileCounter (line 69) | type FileCounter struct method Inc (line 74) | func (fc *FileCounter) Inc() { method Add (line 79) | func (fc *FileCounter) Add(count float64) { method Get (line 85) | func (fc *FileCounter) Get() float64 { type FileHistogram (line 89) | type FileHistogram struct method Observe (line 95) | func (fh *FileHistogram) Observe(value float64) { type FileMonitoring (line 108) | type FileMonitoring struct method NewCounter (line 142) | func (fm *FileMonitoring) NewCounter(name string, description string) ... method GetCounter (line 150) | func (fm *FileMonitoring) GetCounter(name string) (Counter, bool) { method NewGauge (line 155) | func (fm *FileMonitoring) NewGauge(name string, description string) (G... method GetGauge (line 162) | func (fm *FileMonitoring) GetGauge(name string) (Gauge, bool) { method NewHistogram (line 167) | func (fm *FileMonitoring) NewHistogram( method GetHistogram (line 181) | func (fm *FileMonitoring) GetHistogram(name string) (Histogram, bool) { method Start (line 186) | func (fm *FileMonitoring) Start() { method Stop (line 210) | func (fm *FileMonitoring) Stop() { method getStats (line 214) | func (fm FileMonitoring) getStats() string { method Info (line 228) | func (fm *FileMonitoring) Info() string { method Timer (line 232) | func (fm *FileMonitoring) Timer() *Timer { function NewFileMonitoring (line 121) | func NewFileMonitoring(namespace string, write bool) *FileMonitoring { FILE: libs/go/libp2p_node/dht/monitoring/prometheus.go type PrometheusMonitoring (line 34) | type PrometheusMonitoring struct method NewCounter (line 65) | func (pmts *PrometheusMonitoring) NewCounter(name string, description ... method GetCounter (line 76) | func (pmts *PrometheusMonitoring) GetCounter(name string) (Counter, bo... method NewGauge (line 81) | func (pmts *PrometheusMonitoring) NewGauge(name string, description st... method GetGauge (line 92) | func (pmts *PrometheusMonitoring) GetGauge(name string) (Gauge, bool) { method NewHistogram (line 97) | func (pmts *PrometheusMonitoring) NewHistogram( method GetHistogram (line 113) | func (pmts *PrometheusMonitoring) GetHistogram(name string) (Histogram... method Start (line 118) | func (pmts *PrometheusMonitoring) Start() { method Stop (line 129) | func (pmts *PrometheusMonitoring) Stop() { method Info (line 133) | func (pmts *PrometheusMonitoring) Info() string { method Timer (line 136) | func (pmts *PrometheusMonitoring) Timer() *Timer { function NewPrometheusMonitoring (line 47) | func NewPrometheusMonitoring(namespace string, port uint16) *PrometheusM... FILE: libs/go/libp2p_node/dht/monitoring/service.go type Gauge (line 30) | type Gauge interface type Counter (line 38) | type Counter interface type Histogram (line 43) | type Histogram interface type Summary (line 47) | type Summary interface type Timer (line 51) | type Timer struct method NewTimer (line 56) | func (tm *Timer) NewTimer() time.Time { method GetTimer (line 60) | func (tm *Timer) GetTimer(timer time.Time) time.Duration { method NewTimerNamed (line 65) | func (tm *Timer) NewTimerNamed(name string) string { method GetTimerNamed (line 72) | func (tm *Timer) GetTimerNamed(timer string) (time.Duration, error) { type MonitoringService (line 86) | type MonitoringService interface function ignore (line 101) | func ignore(err error) { FILE: libs/go/libp2p_node/libp2p_node.go constant libp2pNodePanicError (line 40) | libp2pNodePanicError = "LIBP2P_NODE_PANIC_ERROR" constant libp2pMultiaddrsListStart (line 41) | libp2pMultiaddrsListStart = "MULTIADDRS_LIST_START" constant libp2pMultiaddrsListEnd (line 42) | libp2pMultiaddrsListEnd = "MULTIADDRS_LIST_END" function check (line 48) | func check(err error) { function main (line 55) | func main() { FILE: libs/go/libp2p_node/mocks/mock_host.go type MockHost (line 22) | type MockHost struct method EXPECT (line 40) | func (m *MockHost) EXPECT() *MockHostMockRecorder { method Addrs (line 45) | func (m *MockHost) Addrs() []multiaddr.Multiaddr { method Close (line 59) | func (m *MockHost) Close() error { method ConnManager (line 73) | func (m *MockHost) ConnManager() connmgr.ConnManager { method Connect (line 87) | func (m *MockHost) Connect(arg0 context.Context, arg1 peer.AddrInfo) e... method EventBus (line 101) | func (m *MockHost) EventBus() event.Bus { method ID (line 115) | func (m *MockHost) ID() peer.ID { method Mux (line 129) | func (m *MockHost) Mux() protocol.Switch { method Network (line 143) | func (m *MockHost) Network() network.Network { method NewStream (line 157) | func (m *MockHost) NewStream(arg0 context.Context, arg1 peer.ID, arg2 ... method Peerstore (line 177) | func (m *MockHost) Peerstore() peerstore.Peerstore { method RemoveStreamHandler (line 191) | func (m *MockHost) RemoveStreamHandler(arg0 protocol.ID) { method SetStreamHandler (line 203) | func (m *MockHost) SetStreamHandler(arg0 protocol.ID, arg1 network.Str... method SetStreamHandlerMatch (line 215) | func (m *MockHost) SetStreamHandlerMatch(arg0 protocol.ID, arg1 func(s... type MockHostMockRecorder (line 28) | type MockHostMockRecorder struct method Addrs (line 53) | func (mr *MockHostMockRecorder) Addrs() *gomock.Call { method Close (line 67) | func (mr *MockHostMockRecorder) Close() *gomock.Call { method ConnManager (line 81) | func (mr *MockHostMockRecorder) ConnManager() *gomock.Call { method Connect (line 95) | func (mr *MockHostMockRecorder) Connect(arg0, arg1 interface{}) *gomoc... method EventBus (line 109) | func (mr *MockHostMockRecorder) EventBus() *gomock.Call { method ID (line 123) | func (mr *MockHostMockRecorder) ID() *gomock.Call { method Mux (line 137) | func (mr *MockHostMockRecorder) Mux() *gomock.Call { method Network (line 151) | func (mr *MockHostMockRecorder) Network() *gomock.Call { method NewStream (line 170) | func (mr *MockHostMockRecorder) NewStream(arg0, arg1 interface{}, arg2... method Peerstore (line 185) | func (mr *MockHostMockRecorder) Peerstore() *gomock.Call { method RemoveStreamHandler (line 197) | func (mr *MockHostMockRecorder) RemoveStreamHandler(arg0 interface{}) ... method SetStreamHandler (line 209) | func (mr *MockHostMockRecorder) SetStreamHandler(arg0, arg1 interface{... method SetStreamHandlerMatch (line 221) | func (mr *MockHostMockRecorder) SetStreamHandlerMatch(arg0, arg1, arg2... function NewMockHost (line 33) | func NewMockHost(ctrl *gomock.Controller) *MockHost { FILE: libs/go/libp2p_node/mocks/mock_net.go type MockConn (line 16) | type MockConn struct method EXPECT (line 34) | func (m *MockConn) EXPECT() *MockConnMockRecorder { method Close (line 39) | func (m *MockConn) Close() error { method LocalAddr (line 53) | func (m *MockConn) LocalAddr() net.Addr { method Read (line 67) | func (m *MockConn) Read(arg0 []byte) (int, error) { method RemoteAddr (line 82) | func (m *MockConn) RemoteAddr() net.Addr { method SetDeadline (line 96) | func (m *MockConn) SetDeadline(arg0 time.Time) error { method SetReadDeadline (line 110) | func (m *MockConn) SetReadDeadline(arg0 time.Time) error { method SetWriteDeadline (line 124) | func (m *MockConn) SetWriteDeadline(arg0 time.Time) error { method Write (line 138) | func (m *MockConn) Write(arg0 []byte) (int, error) { type MockConnMockRecorder (line 22) | type MockConnMockRecorder struct method Close (line 47) | func (mr *MockConnMockRecorder) Close() *gomock.Call { method LocalAddr (line 61) | func (mr *MockConnMockRecorder) LocalAddr() *gomock.Call { method Read (line 76) | func (mr *MockConnMockRecorder) Read(arg0 interface{}) *gomock.Call { method RemoteAddr (line 90) | func (mr *MockConnMockRecorder) RemoteAddr() *gomock.Call { method SetDeadline (line 104) | func (mr *MockConnMockRecorder) SetDeadline(arg0 interface{}) *gomock.... method SetReadDeadline (line 118) | func (mr *MockConnMockRecorder) SetReadDeadline(arg0 interface{}) *gom... method SetWriteDeadline (line 132) | func (mr *MockConnMockRecorder) SetWriteDeadline(arg0 interface{}) *go... method Write (line 147) | func (mr *MockConnMockRecorder) Write(arg0 interface{}) *gomock.Call { function NewMockConn (line 27) | func NewMockConn(ctrl *gomock.Controller) *MockConn { FILE: libs/go/libp2p_node/mocks/mock_network.go type MockStream (line 17) | type MockStream struct method EXPECT (line 35) | func (m *MockStream) EXPECT() *MockStreamMockRecorder { method Close (line 40) | func (m *MockStream) Close() error { method Conn (line 54) | func (m *MockStream) Conn() network.Conn { method Protocol (line 68) | func (m *MockStream) Protocol() protocol.ID { method Read (line 82) | func (m *MockStream) Read(arg0 []byte) (int, error) { method Reset (line 97) | func (m *MockStream) Reset() error { method SetDeadline (line 111) | func (m *MockStream) SetDeadline(arg0 time.Time) error { method SetProtocol (line 125) | func (m *MockStream) SetProtocol(arg0 protocol.ID) { method SetReadDeadline (line 137) | func (m *MockStream) SetReadDeadline(arg0 time.Time) error { method SetWriteDeadline (line 151) | func (m *MockStream) SetWriteDeadline(arg0 time.Time) error { method Stat (line 165) | func (m *MockStream) Stat() network.Stat { method Write (line 179) | func (m *MockStream) Write(arg0 []byte) (int, error) { type MockStreamMockRecorder (line 23) | type MockStreamMockRecorder struct method Close (line 48) | func (mr *MockStreamMockRecorder) Close() *gomock.Call { method Conn (line 62) | func (mr *MockStreamMockRecorder) Conn() *gomock.Call { method Protocol (line 76) | func (mr *MockStreamMockRecorder) Protocol() *gomock.Call { method Read (line 91) | func (mr *MockStreamMockRecorder) Read(arg0 interface{}) *gomock.Call { method Reset (line 105) | func (mr *MockStreamMockRecorder) Reset() *gomock.Call { method SetDeadline (line 119) | func (mr *MockStreamMockRecorder) SetDeadline(arg0 interface{}) *gomoc... method SetProtocol (line 131) | func (mr *MockStreamMockRecorder) SetProtocol(arg0 interface{}) *gomoc... method SetReadDeadline (line 145) | func (mr *MockStreamMockRecorder) SetReadDeadline(arg0 interface{}) *g... method SetWriteDeadline (line 159) | func (mr *MockStreamMockRecorder) SetWriteDeadline(arg0 interface{}) *... method Stat (line 173) | func (mr *MockStreamMockRecorder) Stat() *gomock.Call { method Write (line 188) | func (mr *MockStreamMockRecorder) Write(arg0 interface{}) *gomock.Call { function NewMockStream (line 28) | func NewMockStream(ctrl *gomock.Controller) *MockStream { FILE: libs/go/libp2p_node/mocks/mock_peerstore.go type MockPeerstore (line 19) | type MockPeerstore struct method EXPECT (line 37) | func (m *MockPeerstore) EXPECT() *MockPeerstoreMockRecorder { method AddAddr (line 42) | func (m *MockPeerstore) AddAddr(arg0 peer.ID, arg1 multiaddr.Multiaddr... method AddAddrs (line 54) | func (m *MockPeerstore) AddAddrs(arg0 peer.ID, arg1 []multiaddr.Multia... method AddPrivKey (line 66) | func (m *MockPeerstore) AddPrivKey(arg0 peer.ID, arg1 crypto.PrivKey) ... method AddProtocols (line 80) | func (m *MockPeerstore) AddProtocols(arg0 peer.ID, arg1 ...string) err... method AddPubKey (line 99) | func (m *MockPeerstore) AddPubKey(arg0 peer.ID, arg1 crypto.PubKey) er... method AddrStream (line 113) | func (m *MockPeerstore) AddrStream(arg0 context.Context, arg1 peer.ID)... method Addrs (line 127) | func (m *MockPeerstore) Addrs(arg0 peer.ID) []multiaddr.Multiaddr { method ClearAddrs (line 141) | func (m *MockPeerstore) ClearAddrs(arg0 peer.ID) { method Close (line 153) | func (m *MockPeerstore) Close() error { method Get (line 167) | func (m *MockPeerstore) Get(arg0 peer.ID, arg1 string) (interface{}, e... method GetProtocols (line 182) | func (m *MockPeerstore) GetProtocols(arg0 peer.ID) ([]string, error) { method LatencyEWMA (line 197) | func (m *MockPeerstore) LatencyEWMA(arg0 peer.ID) time.Duration { method PeerInfo (line 211) | func (m *MockPeerstore) PeerInfo(arg0 peer.ID) peer.AddrInfo { method Peers (line 225) | func (m *MockPeerstore) Peers() peer.IDSlice { method PeersWithAddrs (line 239) | func (m *MockPeerstore) PeersWithAddrs() peer.IDSlice { method PeersWithKeys (line 253) | func (m *MockPeerstore) PeersWithKeys() peer.IDSlice { method PrivKey (line 267) | func (m *MockPeerstore) PrivKey(arg0 peer.ID) crypto.PrivKey { method PubKey (line 281) | func (m *MockPeerstore) PubKey(arg0 peer.ID) crypto.PubKey { method Put (line 295) | func (m *MockPeerstore) Put(arg0 peer.ID, arg1 string, arg2 interface{... method RecordLatency (line 309) | func (m *MockPeerstore) RecordLatency(arg0 peer.ID, arg1 time.Duration) { method RemoveProtocols (line 321) | func (m *MockPeerstore) RemoveProtocols(arg0 peer.ID, arg1 ...string) ... method SetAddr (line 340) | func (m *MockPeerstore) SetAddr(arg0 peer.ID, arg1 multiaddr.Multiaddr... method SetAddrs (line 352) | func (m *MockPeerstore) SetAddrs(arg0 peer.ID, arg1 []multiaddr.Multia... method SetProtocols (line 364) | func (m *MockPeerstore) SetProtocols(arg0 peer.ID, arg1 ...string) err... method SupportsProtocols (line 383) | func (m *MockPeerstore) SupportsProtocols(arg0 peer.ID, arg1 ...string... method UpdateAddrs (line 403) | func (m *MockPeerstore) UpdateAddrs(arg0 peer.ID, arg1, arg2 time.Dura... type MockPeerstoreMockRecorder (line 25) | type MockPeerstoreMockRecorder struct method AddAddr (line 48) | func (mr *MockPeerstoreMockRecorder) AddAddr(arg0, arg1, arg2 interfac... method AddAddrs (line 60) | func (mr *MockPeerstoreMockRecorder) AddAddrs(arg0, arg1, arg2 interfa... method AddPrivKey (line 74) | func (mr *MockPeerstoreMockRecorder) AddPrivKey(arg0, arg1 interface{}... method AddProtocols (line 92) | func (mr *MockPeerstoreMockRecorder) AddProtocols(arg0 interface{}, ar... method AddPubKey (line 107) | func (mr *MockPeerstoreMockRecorder) AddPubKey(arg0, arg1 interface{})... method AddrStream (line 121) | func (mr *MockPeerstoreMockRecorder) AddrStream(arg0, arg1 interface{}... method Addrs (line 135) | func (mr *MockPeerstoreMockRecorder) Addrs(arg0 interface{}) *gomock.C... method ClearAddrs (line 147) | func (mr *MockPeerstoreMockRecorder) ClearAddrs(arg0 interface{}) *gom... method Close (line 161) | func (mr *MockPeerstoreMockRecorder) Close() *gomock.Call { method Get (line 176) | func (mr *MockPeerstoreMockRecorder) Get(arg0, arg1 interface{}) *gomo... method GetProtocols (line 191) | func (mr *MockPeerstoreMockRecorder) GetProtocols(arg0 interface{}) *g... method LatencyEWMA (line 205) | func (mr *MockPeerstoreMockRecorder) LatencyEWMA(arg0 interface{}) *go... method PeerInfo (line 219) | func (mr *MockPeerstoreMockRecorder) PeerInfo(arg0 interface{}) *gomoc... method Peers (line 233) | func (mr *MockPeerstoreMockRecorder) Peers() *gomock.Call { method PeersWithAddrs (line 247) | func (mr *MockPeerstoreMockRecorder) PeersWithAddrs() *gomock.Call { method PeersWithKeys (line 261) | func (mr *MockPeerstoreMockRecorder) PeersWithKeys() *gomock.Call { method PrivKey (line 275) | func (mr *MockPeerstoreMockRecorder) PrivKey(arg0 interface{}) *gomock... method PubKey (line 289) | func (mr *MockPeerstoreMockRecorder) PubKey(arg0 interface{}) *gomock.... method Put (line 303) | func (mr *MockPeerstoreMockRecorder) Put(arg0, arg1, arg2 interface{})... method RecordLatency (line 315) | func (mr *MockPeerstoreMockRecorder) RecordLatency(arg0, arg1 interfac... method RemoveProtocols (line 333) | func (mr *MockPeerstoreMockRecorder) RemoveProtocols(arg0 interface{},... method SetAddr (line 346) | func (mr *MockPeerstoreMockRecorder) SetAddr(arg0, arg1, arg2 interfac... method SetAddrs (line 358) | func (mr *MockPeerstoreMockRecorder) SetAddrs(arg0, arg1, arg2 interfa... method SetProtocols (line 376) | func (mr *MockPeerstoreMockRecorder) SetProtocols(arg0 interface{}, ar... method SupportsProtocols (line 396) | func (mr *MockPeerstoreMockRecorder) SupportsProtocols(arg0 interface{... method UpdateAddrs (line 409) | func (mr *MockPeerstoreMockRecorder) UpdateAddrs(arg0, arg1, arg2 inte... function NewMockPeerstore (line 30) | func NewMockPeerstore(ctrl *gomock.Controller) *MockPeerstore { FILE: libs/go/libp2p_node/protocols/acn/v1_0_0/acn.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) constant _ (line 26) | _ = proto.ProtoPackageIsVersion4 type AcnMessage_StatusBody_StatusCodeEnum (line 28) | type AcnMessage_StatusBody_StatusCodeEnum method Enum (line 77) | func (x AcnMessage_StatusBody_StatusCodeEnum) Enum() *AcnMessage_Statu... method String (line 83) | func (x AcnMessage_StatusBody_StatusCodeEnum) String() string { method Descriptor (line 87) | func (AcnMessage_StatusBody_StatusCodeEnum) Descriptor() protoreflect.... method Type (line 91) | func (AcnMessage_StatusBody_StatusCodeEnum) Type() protoreflect.EnumTy... method Number (line 95) | func (x AcnMessage_StatusBody_StatusCodeEnum) Number() protoreflect.En... method EnumDescriptor (line 100) | func (AcnMessage_StatusBody_StatusCodeEnum) EnumDescriptor() ([]byte, ... constant AcnMessage_StatusBody_SUCCESS (line 32) | AcnMessage_StatusBody_SUCCESS AcnMessage_StatusBody_St... constant AcnMessage_StatusBody_ERROR_UNSUPPORTED_VERSION (line 33) | AcnMessage_StatusBody_ERROR_UNSUPPORTED_VERSION AcnMessage_StatusBody_St... constant AcnMessage_StatusBody_ERROR_UNEXPECTED_PAYLOAD (line 34) | AcnMessage_StatusBody_ERROR_UNEXPECTED_PAYLOAD AcnMessage_StatusBody_St... constant AcnMessage_StatusBody_ERROR_GENERIC (line 35) | AcnMessage_StatusBody_ERROR_GENERIC AcnMessage_StatusBody_St... constant AcnMessage_StatusBody_ERROR_DECODE (line 36) | AcnMessage_StatusBody_ERROR_DECODE AcnMessage_StatusBody_St... constant AcnMessage_StatusBody_ERROR_WRONG_AGENT_ADDRESS (line 38) | AcnMessage_StatusBody_ERROR_WRONG_AGENT_ADDRESS AcnMessage_StatusBody_St... constant AcnMessage_StatusBody_ERROR_WRONG_PUBLIC_KEY (line 39) | AcnMessage_StatusBody_ERROR_WRONG_PUBLIC_KEY AcnMessage_StatusBody_St... constant AcnMessage_StatusBody_ERROR_INVALID_PROOF (line 40) | AcnMessage_StatusBody_ERROR_INVALID_PROOF AcnMessage_StatusBody_St... constant AcnMessage_StatusBody_ERROR_UNSUPPORTED_LEDGER (line 41) | AcnMessage_StatusBody_ERROR_UNSUPPORTED_LEDGER AcnMessage_StatusBody_St... constant AcnMessage_StatusBody_ERROR_UNKNOWN_AGENT_ADDRESS (line 43) | AcnMessage_StatusBody_ERROR_UNKNOWN_AGENT_ADDRESS AcnMessage_StatusBody_... constant AcnMessage_StatusBody_ERROR_AGENT_NOT_READY (line 44) | AcnMessage_StatusBody_ERROR_AGENT_NOT_READY AcnMessage_StatusBody_... type AcnMessage (line 104) | type AcnMessage struct method Reset (line 118) | func (x *AcnMessage) Reset() { method String (line 127) | func (x *AcnMessage) String() string { method ProtoMessage (line 131) | func (*AcnMessage) ProtoMessage() {} method ProtoReflect (line 133) | func (x *AcnMessage) ProtoReflect() protoreflect.Message { method Descriptor (line 146) | func (*AcnMessage) Descriptor() ([]byte, []int) { method GetPerformative (line 150) | func (m *AcnMessage) GetPerformative() isAcnMessage_Performative { method GetAeaEnvelope (line 157) | func (x *AcnMessage) GetAeaEnvelope() *AcnMessage_Aea_Envelope_Perform... method GetLookupRequest (line 164) | func (x *AcnMessage) GetLookupRequest() *AcnMessage_Lookup_Request_Per... method GetLookupResponse (line 171) | func (x *AcnMessage) GetLookupResponse() *AcnMessage_Lookup_Response_P... method GetRegister (line 178) | func (x *AcnMessage) GetRegister() *AcnMessage_Register_Performative { method GetStatus (line 185) | func (x *AcnMessage) GetStatus() *AcnMessage_Status_Performative { type isAcnMessage_Performative (line 192) | type isAcnMessage_Performative interface type AcnMessage_AeaEnvelope (line 196) | type AcnMessage_AeaEnvelope struct method isAcnMessage_Performative (line 216) | func (*AcnMessage_AeaEnvelope) isAcnMessage_Performative() {} type AcnMessage_LookupRequest (line 200) | type AcnMessage_LookupRequest struct method isAcnMessage_Performative (line 218) | func (*AcnMessage_LookupRequest) isAcnMessage_Performative() {} type AcnMessage_LookupResponse (line 204) | type AcnMessage_LookupResponse struct method isAcnMessage_Performative (line 220) | func (*AcnMessage_LookupResponse) isAcnMessage_Performative() {} type AcnMessage_Register (line 208) | type AcnMessage_Register struct method isAcnMessage_Performative (line 222) | func (*AcnMessage_Register) isAcnMessage_Performative() {} type AcnMessage_Status (line 212) | type AcnMessage_Status struct method isAcnMessage_Performative (line 224) | func (*AcnMessage_Status) isAcnMessage_Performative() {} type AcnMessage_AgentRecord (line 227) | type AcnMessage_AgentRecord struct method Reset (line 242) | func (x *AcnMessage_AgentRecord) Reset() { method String (line 251) | func (x *AcnMessage_AgentRecord) String() string { method ProtoMessage (line 255) | func (*AcnMessage_AgentRecord) ProtoMessage() {} method ProtoReflect (line 257) | func (x *AcnMessage_AgentRecord) ProtoReflect() protoreflect.Message { method Descriptor (line 270) | func (*AcnMessage_AgentRecord) Descriptor() ([]byte, []int) { method GetServiceId (line 274) | func (x *AcnMessage_AgentRecord) GetServiceId() string { method GetLedgerId (line 281) | func (x *AcnMessage_AgentRecord) GetLedgerId() string { method GetAddress (line 288) | func (x *AcnMessage_AgentRecord) GetAddress() string { method GetPublicKey (line 295) | func (x *AcnMessage_AgentRecord) GetPublicKey() string { method GetPeerPublicKey (line 302) | func (x *AcnMessage_AgentRecord) GetPeerPublicKey() string { method GetSignature (line 309) | func (x *AcnMessage_AgentRecord) GetSignature() string { method GetNotBefore (line 316) | func (x *AcnMessage_AgentRecord) GetNotBefore() string { method GetNotAfter (line 323) | func (x *AcnMessage_AgentRecord) GetNotAfter() string { type AcnMessage_StatusBody (line 330) | type AcnMessage_StatusBody struct method Reset (line 339) | func (x *AcnMessage_StatusBody) Reset() { method String (line 348) | func (x *AcnMessage_StatusBody) String() string { method ProtoMessage (line 352) | func (*AcnMessage_StatusBody) ProtoMessage() {} method ProtoReflect (line 354) | func (x *AcnMessage_StatusBody) ProtoReflect() protoreflect.Message { method Descriptor (line 367) | func (*AcnMessage_StatusBody) Descriptor() ([]byte, []int) { method GetCode (line 371) | func (x *AcnMessage_StatusBody) GetCode() AcnMessage_StatusBody_Status... method GetMsgs (line 378) | func (x *AcnMessage_StatusBody) GetMsgs() []string { type AcnMessage_Register_Performative (line 386) | type AcnMessage_Register_Performative struct method Reset (line 394) | func (x *AcnMessage_Register_Performative) Reset() { method String (line 403) | func (x *AcnMessage_Register_Performative) String() string { method ProtoMessage (line 407) | func (*AcnMessage_Register_Performative) ProtoMessage() {} method ProtoReflect (line 409) | func (x *AcnMessage_Register_Performative) ProtoReflect() protoreflect... method Descriptor (line 422) | func (*AcnMessage_Register_Performative) Descriptor() ([]byte, []int) { method GetRecord (line 426) | func (x *AcnMessage_Register_Performative) GetRecord() *AcnMessage_Age... type AcnMessage_Lookup_Request_Performative (line 433) | type AcnMessage_Lookup_Request_Performative struct method Reset (line 441) | func (x *AcnMessage_Lookup_Request_Performative) Reset() { method String (line 450) | func (x *AcnMessage_Lookup_Request_Performative) String() string { method ProtoMessage (line 454) | func (*AcnMessage_Lookup_Request_Performative) ProtoMessage() {} method ProtoReflect (line 456) | func (x *AcnMessage_Lookup_Request_Performative) ProtoReflect() protor... method Descriptor (line 469) | func (*AcnMessage_Lookup_Request_Performative) Descriptor() ([]byte, [... method GetAgentAddress (line 473) | func (x *AcnMessage_Lookup_Request_Performative) GetAgentAddress() str... type AcnMessage_Lookup_Response_Performative (line 480) | type AcnMessage_Lookup_Response_Performative struct method Reset (line 488) | func (x *AcnMessage_Lookup_Response_Performative) Reset() { method String (line 497) | func (x *AcnMessage_Lookup_Response_Performative) String() string { method ProtoMessage (line 501) | func (*AcnMessage_Lookup_Response_Performative) ProtoMessage() {} method ProtoReflect (line 503) | func (x *AcnMessage_Lookup_Response_Performative) ProtoReflect() proto... method Descriptor (line 516) | func (*AcnMessage_Lookup_Response_Performative) Descriptor() ([]byte, ... method GetRecord (line 520) | func (x *AcnMessage_Lookup_Response_Performative) GetRecord() *AcnMess... type AcnMessage_Aea_Envelope_Performative (line 527) | type AcnMessage_Aea_Envelope_Performative struct method Reset (line 536) | func (x *AcnMessage_Aea_Envelope_Performative) Reset() { method String (line 545) | func (x *AcnMessage_Aea_Envelope_Performative) String() string { method ProtoMessage (line 549) | func (*AcnMessage_Aea_Envelope_Performative) ProtoMessage() {} method ProtoReflect (line 551) | func (x *AcnMessage_Aea_Envelope_Performative) ProtoReflect() protoref... method Descriptor (line 564) | func (*AcnMessage_Aea_Envelope_Performative) Descriptor() ([]byte, []i... method GetEnvelope (line 568) | func (x *AcnMessage_Aea_Envelope_Performative) GetEnvelope() []byte { method GetRecord (line 575) | func (x *AcnMessage_Aea_Envelope_Performative) GetRecord() *AcnMessage... type AcnMessage_Status_Performative (line 582) | type AcnMessage_Status_Performative struct method Reset (line 590) | func (x *AcnMessage_Status_Performative) Reset() { method String (line 599) | func (x *AcnMessage_Status_Performative) String() string { method ProtoMessage (line 603) | func (*AcnMessage_Status_Performative) ProtoMessage() {} method ProtoReflect (line 605) | func (x *AcnMessage_Status_Performative) ProtoReflect() protoreflect.M... method Descriptor (line 618) | func (*AcnMessage_Status_Performative) Descriptor() ([]byte, []int) { method GetBody (line 622) | func (x *AcnMessage_Status_Performative) GetBody() *AcnMessage_StatusB... function file_acn_proto_rawDescGZIP (line 745) | func file_acn_proto_rawDescGZIP() []byte { function init (line 783) | func init() { file_acn_proto_init() } function file_acn_proto_init (line 784) | func file_acn_proto_init() { FILE: libs/go/libp2p_node/utils/utils.go constant maxMessageSizeDelegateConnection (line 63) | maxMessageSizeDelegateConnection = 1024 * 1024 * 3 function SetLoggerLevel (line 84) | func SetLoggerLevel(lvl zerolog.Level) { function ignore (line 88) | func ignore(err error) { function newConsoleLogger (line 98) | func newConsoleLogger() zerolog.Logger { function NewDefaultLogger (line 107) | func NewDefaultLogger() zerolog.Logger { function NewDefaultLoggerWithFields (line 114) | func NewDefaultLoggerWithFields(fields map[string]string) zerolog.Logger { function BootstrapConnect (line 130) | func BootstrapConnect( function ComputeCID (line 203) | func ComputeCID(addr string) (cid.Cid, error) { function GetPeersAddrInfo (line 221) | func GetPeersAddrInfo(peers []string) ([]peer.AddrInfo, error) { function PubKeyFromFetchAIPublicKey (line 239) | func PubKeyFromFetchAIPublicKey(publicKey string) (crypto.PubKey, error) { function FetchAIPublicKeyFromPubKey (line 245) | func FetchAIPublicKeyFromPubKey(publicKey crypto.PubKey) (string, error) { function BTCPubKeyFromFetchAIPublicKey (line 254) | func BTCPubKeyFromFetchAIPublicKey(publicKey string) (*btcec.PublicKey, ... function BTCPubKeyFromEthereumPublicKey (line 265) | func BTCPubKeyFromEthereumPublicKey(publicKey string) (*btcec.PublicKey,... function ConvertStrEncodedSignatureToDER (line 273) | func ConvertStrEncodedSignatureToDER(signature []byte) []byte { function ConvertDEREncodedSignatureToStr (line 293) | func ConvertDEREncodedSignatureToStr(signature []byte) ([]byte, error) { function ParseFetchAISignature (line 302) | func ParseFetchAISignature(signature string) (*btcec.Signature, error) { function VerifyLedgerSignature (line 316) | func VerifyLedgerSignature( function VerifyFetchAISignatureBTC (line 330) | func VerifyFetchAISignatureBTC(message []byte, signature string, pubkey ... function VerifyFetchAISignatureLibp2p (line 354) | func VerifyFetchAISignatureLibp2p(message []byte, signature string, pubk... function SignFetchAI (line 373) | func SignFetchAI(message []byte, privKey string) (string, error) { function signHashETH (line 390) | func signHashETH(data []byte) []byte { function RecoverAddressFromEthereumSignature (line 399) | func RecoverAddressFromEthereumSignature(message []byte, signature strin... function VerifyEthereumSignatureETH (line 421) | func VerifyEthereumSignatureETH(message []byte, signature string, pubkey... function KeyPairFromFetchAIKey (line 442) | func KeyPairFromFetchAIKey(key string) (crypto.PrivKey, crypto.PubKey, e... function AgentAddressFromPublicKey (line 459) | func AgentAddressFromPublicKey(ledgerID string, publicKey string) (strin... function FetchAIAddressFromPublicKey (line 467) | func FetchAIAddressFromPublicKey(publicKey string) (string, error) { function CosmosAddressFromPublicKey (line 472) | func CosmosAddressFromPublicKey(publicKey string) (string, error) { function cosmosAddressFromPublicKeyWithPrefix (line 478) | func cosmosAddressFromPublicKeyWithPrefix(prefix string, publicKey strin... function EthereumAddressFromPublicKey (line 509) | func EthereumAddressFromPublicKey(publicKey string) (string, error) { function encodeChecksumEIP55 (line 528) | func encodeChecksumEIP55(address []byte) string { function IDFromFetchAIPublicKey (line 551) | func IDFromFetchAIPublicKey(publicKey string) (peer.ID, error) { function BTCPubKeyFromUncompressedHex (line 571) | func BTCPubKeyFromUncompressedHex(publicKey string) (*btcec.PublicKey, e... function IDFromFetchAIPublicKeyUncompressed (line 585) | func IDFromFetchAIPublicKeyUncompressed(publicKey string) (peer.ID, erro... function FetchAIPublicKeyFromFetchAIPrivateKey (line 600) | func FetchAIPublicKeyFromFetchAIPrivateKey(privateKey string) (string, e... function WriteBytesConn (line 615) | func WriteBytesConn(conn net.Conn, data []byte) error { function ReadBytesConn (line 635) | func ReadBytesConn(conn net.Conn) ([]byte, error) { function WriteEnvelopeConn (line 653) | func WriteEnvelopeConn(conn net.Conn, envelope *aea.Envelope) error { function ReadEnvelopeConn (line 662) | func ReadEnvelopeConn(conn net.Conn) (*aea.Envelope, error) { function ReadBytes (line 673) | func ReadBytes(s network.Stream) ([]byte, error) { function WriteBytes (line 703) | func WriteBytes(s network.Stream, data []byte) error { type ConnPipe (line 747) | type ConnPipe struct method Connect (line 751) | func (conPipe ConnPipe) Connect() error { method Read (line 754) | func (conPipe ConnPipe) Read() ([]byte, error) { method Write (line 757) | func (conPipe ConnPipe) Write(data []byte) error { method Close (line 760) | func (conPipe ConnPipe) Close() error { type StreamPipe (line 764) | type StreamPipe struct method Connect (line 768) | func (streamPipe StreamPipe) Connect() error { method Read (line 771) | func (streamPipe StreamPipe) Read() ([]byte, error) { method Write (line 774) | func (streamPipe StreamPipe) Write(data []byte) error { method Close (line 777) | func (streamPipe StreamPipe) Close() error { FILE: libs/go/libp2p_node/utils/utils_test.go function TestEthereumCrypto (line 46) | func TestEthereumCrypto(t *testing.T) { function TestFetchAICrypto (line 88) | func TestFetchAICrypto(t *testing.T) { function TestSetLoggerLevel (line 119) | func TestSetLoggerLevel(t *testing.T) { function Example_ignore (line 135) | func Example_ignore() { function TestNewDefaultLoggerWithFields (line 140) | func TestNewDefaultLoggerWithFields(t *testing.T) { function TestComputeCID (line 153) | func TestComputeCID(t *testing.T) { function TestWriteBytes (line 160) | func TestWriteBytes(t *testing.T) { function TestReadBytesConn (line 176) | func TestReadBytesConn(t *testing.T) { function TestWriteBytesConn (line 186) | func TestWriteBytesConn(t *testing.T) { function TestReadWriteEnvelopeFromConnection (line 195) | func TestReadWriteEnvelopeFromConnection(t *testing.T) { function TestGetPeersAddrInfo (line 231) | func TestGetPeersAddrInfo(t *testing.T) { function TestFetchAIPublicKeyFromPubKey (line 241) | func TestFetchAIPublicKeyFromPubKey(t *testing.T) { function TestIDFromFetchAIPublicKey (line 252) | func TestIDFromFetchAIPublicKey(t *testing.T) { function TestAgentAddressFromPublicKey (line 264) | func TestAgentAddressFromPublicKey(t *testing.T) { function TestCosmosAddressFromPublicKey (line 273) | func TestCosmosAddressFromPublicKey(t *testing.T) { function TestFetchAIPublicKeyFromFetchAIPrivateKey (line 281) | func TestFetchAIPublicKeyFromFetchAIPrivateKey(t *testing.T) { function TestIDFromFetchAIPublicKeyUncompressed (line 289) | func TestIDFromFetchAIPublicKeyUncompressed(t *testing.T) { function TestSignFetchAI (line 307) | func TestSignFetchAI(t *testing.T) { function TestBootstrapConnect (line 326) | func TestBootstrapConnect(t *testing.T) { FILE: packages/fetchai/connections/gym/connection.py class GymDialogues (line 49) | class GymDialogues(BaseGymDialogues): method __init__ (line 52) | def __init__(self, **kwargs: Any) -> None: class GymChannel (line 79) | class GymChannel: method __init__ (line 84) | def __init__(self, address: Address, gym_env: gym.Env): method _get_message_and_dialogue (line 96) | def _get_message_and_dialogue( method queue (line 111) | def queue(self) -> asyncio.Queue: method connect (line 117) | async def connect(self) -> None: method send (line 128) | async def send(self, envelope: Envelope) -> None: method _run_in_executor (line 140) | async def _run_in_executor( method handle_gym_message (line 147) | async def handle_gym_message(self, envelope: Envelope) -> None: method _send (line 198) | async def _send(self, envelope: Envelope) -> None: method disconnect (line 205) | async def disconnect(self) -> None: method get (line 211) | async def get(self) -> Optional[Envelope]: class GymConnection (line 216) | class GymConnection(Connection): method __init__ (line 221) | def __init__(self, gym_env: Optional[gym.Env] = None, **kwargs: Any) -... method connect (line 238) | async def connect(self) -> None: method disconnect (line 247) | async def disconnect(self) -> None: method send (line 256) | async def send(self, envelope: Envelope) -> None: method receive (line 265) | async def receive(self, *args: Any, **kwargs: Any) -> Optional["Envelo... FILE: packages/fetchai/connections/http_client/connection.py function headers_to_string (line 60) | def headers_to_string(headers: CIMultiDictProxy) -> str: class HttpDialogues (line 77) | class HttpDialogues(BaseHttpDialogues): method __init__ (line 80) | def __init__(self) -> None: class HTTPClientAsyncChannel (line 103) | class HTTPClientAsyncChannel: method __init__ (line 111) | def __init__( method connect (line 142) | async def connect(self, loop: AbstractEventLoop) -> None: method _get_message_and_dialogue (line 152) | def _get_message_and_dialogue( method _http_request_task (line 166) | async def _http_request_task(self, request_envelope: Envelope) -> None: method _perform_http_request (line 213) | async def _perform_http_request( method send (line 246) | def send(self, request_envelope: Envelope) -> None: method _task_done_callback (line 283) | def _task_done_callback(self, task: Task) -> None: method get_message (line 294) | async def get_message(self) -> Optional["Envelope"]: method to_envelope (line 309) | def to_envelope( method _cancel_tasks (line 345) | async def _cancel_tasks(self) -> None: method disconnect (line 360) | async def disconnect(self) -> None: class HTTPClientConnection (line 369) | class HTTPClientConnection(Connection): method __init__ (line 374) | def __init__(self, **kwargs: Any) -> None: method connect (line 392) | async def connect(self) -> None: method disconnect (line 401) | async def disconnect(self) -> None: method send (line 409) | async def send(self, envelope: "Envelope") -> None: method receive (line 418) | async def receive(self, *args: Any, **kwargs: Any) -> Optional["Envelo... FILE: packages/fetchai/connections/http_server/connection.py class HttpDialogues (line 72) | class HttpDialogues(BaseHttpDialogues): method __init__ (line 75) | def __init__(self, self_address: Address, **kwargs: Any) -> None: function headers_to_string (line 103) | def headers_to_string(headers: Dict) -> str: class Request (line 117) | class Request(OpenAPIRequest): method is_id_set (line 121) | def is_id_set(self) -> bool: method id (line 126) | def id(self) -> RequestId: method id (line 131) | def id(self, request_id: RequestId) -> None: method create (line 136) | async def create(cls, http_request: BaseRequest) -> "Request": method to_envelope_and_set_id (line 170) | def to_envelope_and_set_id( class Response (line 203) | class Response(web.Response): method from_message (line 207) | def from_message(cls, http_message: HttpMessage) -> "Response": class APISpec (line 238) | class APISpec: method __init__ (line 241) | def __init__( method verify (line 273) | def verify(self, request: Request) -> bool: class BaseAsyncChannel (line 292) | class BaseAsyncChannel(ABC): method __init__ (line 295) | def __init__(self, address: Address, connection_id: PublicId) -> None: method connect (line 309) | async def connect(self, loop: AbstractEventLoop) -> None: method get_message (line 321) | async def get_message(self) -> Optional["Envelope"]: method send (line 336) | def send(self, envelope: Envelope) -> None: method disconnect (line 344) | async def disconnect(self) -> None: class HTTPChannel (line 352) | class HTTPChannel(BaseAsyncChannel): method __init__ (line 357) | def __init__( method api_spec (line 403) | def api_spec(self) -> APISpec: method connect (line 407) | async def connect(self, loop: AbstractEventLoop) -> None: method _http_handler (line 430) | async def _http_handler(self, http_request: BaseRequest) -> Response: method _start_http_server (line 484) | async def _start_http_server(self) -> None: method send (line 498) | def send(self, envelope: Envelope) -> None: method disconnect (line 528) | async def disconnect(self) -> None: class HTTPServerConnection (line 544) | class HTTPServerConnection(Connection): method __init__ (line 549) | def __init__(self, **kwargs: Any) -> None: method connect (line 583) | async def connect(self) -> None: method disconnect (line 596) | async def disconnect(self) -> None: method send (line 605) | async def send(self, envelope: "Envelope") -> None: method receive (line 614) | async def receive(self, *args: Any, **kwargs: Any) -> Optional["Envelo... FILE: packages/fetchai/connections/ledger/base.py class RequestDispatcher (line 39) | class RequestDispatcher(ABC): method __init__ (line 45) | def __init__( method api_config (line 68) | def api_config(self, ledger_id: str) -> Dict[str, str]: method run_async (line 75) | async def run_async( method dispatch (line 99) | def dispatch(self, envelope: Envelope) -> Task: method get_handler (line 120) | def get_handler(self, performative: Any) -> Callable[[Any], Task]: method get_error_message (line 133) | def get_error_message( method dialogues (line 152) | def dialogues(self) -> Dialogues: method ledger_api_registry (line 156) | def ledger_api_registry(self) -> Registry: method get_ledger_id (line 161) | def get_ledger_id(self, message: Message) -> str: FILE: packages/fetchai/connections/ledger/connection.py class LedgerConnection (line 41) | class LedgerConnection(Connection): method __init__ (line 46) | def __init__(self, **kwargs: Any): method event_new_receiving_task (line 62) | def event_new_receiving_task(self) -> asyncio.Event: method connect (line 66) | async def connect(self) -> None: method disconnect (line 90) | async def disconnect(self) -> None: method send (line 106) | async def send(self, envelope: "Envelope") -> None: method _schedule_request (line 117) | def _schedule_request(self, envelope: Envelope) -> Task: method receive (line 145) | async def receive(self, *args: Any, **kwargs: Any) -> Optional["Envelo... method _handle_done_task (line 175) | def _handle_done_task(self, task: asyncio.Future) -> Optional[Envelope]: FILE: packages/fetchai/connections/ledger/contract_dispatcher.py class ContractApiDialogues (line 49) | class ContractApiDialogues(BaseContractApiDialogues): method __init__ (line 52) | def __init__(self, **kwargs: Any) -> None: class ContractApiRequestDispatcher (line 79) | class ContractApiRequestDispatcher(RequestDispatcher): method __init__ (line 82) | def __init__(self, *args: Any, **kwargs: Any) -> None: method dialogues (line 91) | def dialogues(self) -> BaseDialogues: method contract_registry (line 96) | def contract_registry(self) -> Registry[Contract]: method get_ledger_id (line 100) | def get_ledger_id(self, message: Message) -> str: method get_error_message (line 107) | def get_error_message( method dispatch_request (line 135) | def dispatch_request( method get_state (line 167) | def get_state( method get_deploy_transaction (line 199) | def get_deploy_transaction( method get_raw_transaction (line 231) | def get_raw_transaction( method get_raw_message (line 263) | def get_raw_message( method _get_data (line 295) | def _get_data( method _call_stub (line 312) | def _call_stub( method _validate_and_call_callable (line 339) | def _validate_and_call_callable( FILE: packages/fetchai/connections/ledger/ledger_dispatcher.py class LedgerApiDialogues (line 45) | class LedgerApiDialogues(BaseLedgerApiDialogues): method __init__ (line 48) | def __init__(self, **kwargs: Any) -> None: class LedgerApiRequestDispatcher (line 75) | class LedgerApiRequestDispatcher(RequestDispatcher): method __init__ (line 78) | def __init__(self, *args: Any, **kwargs: Any) -> None: method get_ledger_id (line 85) | def get_ledger_id(self, message: Message) -> str: method dialogues (line 107) | def dialogues(self) -> BaseDialogues: method get_balance (line 111) | def get_balance( method get_state (line 142) | def get_state( method get_raw_transaction (line 173) | def get_raw_transaction( method get_transaction_receipt (line 212) | def get_transaction_receipt( method send_signed_transaction (line 280) | def send_signed_transaction( method get_error_message (line 314) | def get_error_message( FILE: packages/fetchai/connections/local/connection.py class OefSearchDialogues (line 63) | class OefSearchDialogues(BaseOefSearchDialogues): method __init__ (line 66) | def __init__(self) -> None: class LocalNode (line 89) | class LocalNode: method __init__ (line 92) | def __init__( method __enter__ (line 115) | def __enter__(self) -> "LocalNode": method __exit__ (line 120) | def __exit__(self, exc_type: str, exc_val: str, exc_tb: str) -> None: method _run_loop (line 124) | def _run_loop(self) -> None: method connect (line 135) | async def connect( method start (line 157) | def start(self) -> None: method stop (line 167) | def stop(self) -> None: method receiving_loop (line 180) | async def receiving_loop(self) -> None: method _handle_envelope (line 192) | async def _handle_envelope(self, envelope: Envelope) -> None: method _handle_oef_message (line 208) | async def _handle_oef_message(self, envelope: Envelope) -> None: method _handle_agent_message (line 237) | async def _handle_agent_message(self, envelope: Envelope) -> None: method _register_service (line 264) | async def _register_service( method _unregister_service (line 276) | async def _unregister_service( method _search_services (line 307) | async def _search_services( method _get_message_and_dialogue (line 345) | def _get_message_and_dialogue( method _send (line 361) | async def _send(self, envelope: Envelope) -> None: method disconnect (line 368) | async def disconnect(self, address: Address) -> None: class OEFLocalConnection (line 379) | class OEFLocalConnection(Connection): method __init__ (line 389) | def __init__(self, local_node: Optional[LocalNode] = None, **kwargs: A... method connect (line 403) | async def connect(self) -> None: method disconnect (line 415) | async def disconnect(self) -> None: method send (line 429) | async def send(self, envelope: Envelope) -> None: method receive (line 438) | async def receive(self, *args: Any, **kwargs: Any) -> Optional["Envelo... FILE: packages/fetchai/connections/oef/connection.py class OefSearchDialogues (line 67) | class OefSearchDialogues(BaseOefSearchDialogues): method __init__ (line 70) | def __init__(self) -> None: class OEFChannel (line 93) | class OEFChannel(OEFAgent): method __init__ (line 101) | def __init__( method _run_in_executor (line 136) | async def _run_in_executor(self, fn: Callable, *args: Any) -> Any: method in_queue (line 142) | def in_queue(self) -> asyncio.Queue: method loop (line 149) | def loop(self) -> AbstractEventLoop: method on_message (line 155) | def on_message( # pylint: disable=unused-argument method on_cfp (line 172) | def on_cfp( method on_propose (line 196) | def on_propose( # pylint: disable=unused-argument method on_accept (line 220) | def on_accept( method on_decline (line 238) | def on_decline( method on_search_result (line 256) | def on_search_result(self, search_id: int, agents: List[Address]) -> N... method on_oef_error (line 286) | def on_oef_error( method on_dialogue_error (line 322) | def on_dialogue_error( # pylint: disable=unused-argument method send (line 349) | def send(self, envelope: Envelope) -> None: method send_default_message (line 363) | def send_default_message(self, envelope: Envelope) -> None: method send_oef_message (line 369) | def send_oef_message(self, envelope: Envelope) -> None: method handle_failure (line 411) | def handle_failure( # pylint: disable=unused-argument method _set_loop_and_queue (line 417) | async def _set_loop_and_queue(self) -> None: method _unset_loop_and_queue (line 421) | async def _unset_loop_and_queue(self) -> None: method _check_loop_and_queue (line 425) | def _check_loop_and_queue(self) -> None: method connect (line 429) | async def connect( # pylint: disable=invalid-overridden-method,argume... method _oef_agent_connect (line 460) | def _oef_agent_connect(self, timeout: float = 2) -> bool: method disconnect (line 469) | async def disconnect(self) -> None: # pylint: disable=invalid-overrid... method get (line 478) | async def get(self) -> Optional[Envelope]: class OEFConnection (line 483) | class OEFConnection(Connection): method __init__ (line 488) | def __init__(self, **kwargs: Any) -> None: method connect (line 504) | async def connect(self) -> None: method _connection_check (line 520) | async def _connection_check(self) -> None: method disconnect (line 539) | async def disconnect(self) -> None: method receive (line 551) | async def receive(self, *args: Any, **kwargs: Any) -> Optional["Envelo... method send (line 573) | async def send(self, envelope: "Envelope") -> None: FILE: packages/fetchai/connections/oef/object_translator.py class OEFObjectTranslator (line 60) | class OEFObjectTranslator: method to_oef_description (line 64) | def to_oef_description(cls, desc: Description) -> OEFDescription: method to_oef_data_model (line 105) | def to_oef_data_model(cls, data_model: DataModel) -> OEFDataModel: method to_oef_attribute (line 113) | def to_oef_attribute(cls, attribute: Attribute) -> OEFAttribute: method to_oef_query (line 122) | def to_oef_query(cls, query: Query) -> OEFQuery: method to_oef_location (line 131) | def to_oef_location(cls, location: Location) -> OEFLocation: method to_oef_constraint_expr (line 136) | def to_oef_constraint_expr( method to_oef_constraint_type (line 158) | def to_oef_constraint_type( method from_oef_description (line 187) | def from_oef_description(cls, oef_desc: OEFDescription) -> Description: method from_oef_data_model (line 207) | def from_oef_data_model(cls, oef_data_model: OEFDataModel) -> DataModel: method from_oef_attribute (line 216) | def from_oef_attribute(cls, oef_attribute: OEFAttribute) -> Attribute: method from_oef_query (line 229) | def from_oef_query(cls, oef_query: OEFQuery) -> Query: method from_oef_location (line 240) | def from_oef_location(cls, oef_location: OEFLocation) -> Location: method from_oef_constraint_expr (line 247) | def from_oef_constraint_expr( method from_oef_constraint_type (line 275) | def from_oef_constraint_type( FILE: packages/fetchai/connections/p2p_libp2p/check_dependencies.py function nth (line 66) | def nth(iterable: Iterable, n: int, default: int = 0) -> int: function get_version (line 71) | def get_version(*args: int) -> VERSION: function version_to_string (line 86) | def version_to_string(version: VERSION) -> str: function print_ok_message (line 96) | def print_ok_message( function check_binary (line 111) | def check_binary( function check_versions (line 156) | def check_versions() -> None: function main (line 180) | def main() -> None: # pragma: nocover function _golang_module_build (line 189) | def _golang_module_build( function build_node (line 219) | def build_node(build_dir: str) -> None: FILE: packages/fetchai/connections/p2p_libp2p/connection.py function _ip_all_private_or_all_public (line 70) | def _ip_all_private_or_all_public(addrs: List[str]) -> bool: function _golang_module_run (line 85) | def _golang_module_run( class NodeClient (line 126) | class NodeClient: method __init__ (line 131) | def __init__(self, pipe: IPCChannel, agent_record: AgentRecord) -> None: method connect (line 137) | async def connect(self) -> bool: method send_envelope (line 141) | async def send_envelope(self, envelope: Envelope) -> None: method wait_for_status (line 154) | async def wait_for_status(self) -> Any: method make_acn_envelope_message (line 172) | def make_acn_envelope_message(envelope: Envelope) -> bytes: method read_envelope (line 181) | async def read_envelope(self) -> Optional[Envelope]: method write_acn_status_ok (line 225) | async def write_acn_status_ok(self) -> None: method write_acn_status_error (line 239) | async def write_acn_status_error( method _write (line 257) | async def _write(self, data: bytes) -> None: method _read (line 265) | async def _read(self) -> Optional[bytes]: class Libp2pNode (line 274) | class Libp2pNode: method __init__ (line 277) | def __init__( method _make_env_file (line 387) | def _make_env_file(self, pipe_in_path: str, pipe_out_path: str) -> str: method _set_connection_to_node (line 442) | async def _set_connection_to_node(self) -> bool: method get_client (line 448) | def get_client(self) -> NodeClient: method _child_watcher_callback (line 455) | def _child_watcher_callback(self, *_) -> None: # type: ignore # pragm... method is_proccess_running (line 467) | def is_proccess_running(self) -> bool: method start (line 475) | async def start(self) -> None: method restart (line 542) | async def restart(self) -> None: method describe_configuration (line 550) | def describe_configuration(self) -> None: method get_libp2p_node_multiaddrs (line 569) | def get_libp2p_node_multiaddrs(self) -> Sequence[MultiAddr]: method get_libp2p_node_error (line 597) | def get_libp2p_node_error(self) -> str: method stop (line 623) | async def stop(self) -> None: class P2PLibp2pConnection (line 653) | class P2PLibp2pConnection(Connection): method __init__ (line 659) | def __init__(self, **kwargs: Any) -> None: method _check_node_built (line 809) | def _check_node_built(self) -> str: method connect (line 823) | async def connect(self) -> None: method _start_node (line 839) | async def _start_node(self) -> None: method _restart_node (line 844) | async def _restart_node(self) -> None: method disconnect (line 849) | async def disconnect(self) -> None: method receive (line 875) | async def receive(self, *args: Any, **kwargs: Any) -> Optional["Envelo... method _send_envelope_with_node_client (line 898) | async def _send_envelope_with_node_client(self, envelope: Envelope) ->... method _send_loop (line 939) | async def _send_loop(self) -> None: method send (line 957) | async def send(self, envelope: Envelope) -> None: method _read_envelope_from_node (line 969) | async def _read_envelope_from_node(self) -> Optional[Envelope]: method _receive_from_node (line 984) | async def _receive_from_node(self) -> None: FILE: packages/fetchai/connections/p2p_libp2p/libp2p_node/acn/utils.go constant ERROR_DECODE (line 49) | ERROR_DECODE = acn_protocol.AcnMessage_StatusBody_ERROR_DECODE constant SUCCESS (line 50) | SUCCESS = acn_protocol.AcnMessage_StatusBody_SUCCESS constant ERROR_UNEXPECTED_PAYLOAD (line 51) | ERROR_UNEXPECTED_PAYLOAD = acn_protocol.AcnMessage_StatusBody_ERROR_UNEX... constant ERROR_AGENT_NOT_READY (line 52) | ERROR_AGENT_NOT_READY = acn_protocol.AcnMessage_StatusBody_ERROR_AGENT_N... constant ERROR_UNKNOWN_AGENT_ADDRESS (line 53) | ERROR_UNKNOWN_AGENT_ADDRESS = acn_protocol.AcnMessage_StatusBody_ERROR_U... constant ERROR_GENERIC (line 54) | ERROR_GENERIC = acn_protocol.AcnMessage_StatusBody_ERROR_GENERIC constant ERROR_WRONG_AGENT_ADDRESS (line 55) | ERROR_WRONG_AGENT_ADDRESS = acn_protocol.AcnMessage_StatusBody_ERROR_WRO... constant ERROR_UNSUPPORTED_LEDGER (line 56) | ERROR_UNSUPPORTED_LEDGER = acn_protocol.AcnMessage_StatusBody_ERROR_UNSU... constant ERROR_WRONG_PUBLIC_KEY (line 57) | ERROR_WRONG_PUBLIC_KEY = acn_protocol.AcnMessage_StatusBody_ERROR_WRONG_... constant ERROR_INVALID_PROOF (line 58) | ERROR_INVALID_PROOF = acn_protocol.AcnMessage_StatusBody_ERROR_INVALID_P... constant CurrentVersion (line 71) | CurrentVersion = "0.1.0" function ignore (line 73) | func ignore(err error) { type ACNError (line 79) | type ACNError struct method Error (line 84) | func (err *ACNError) Error() string { function DecodeAcnMessage (line 88) | func DecodeAcnMessage(buf []byte) (string, *AeaEnvelopePerformative, *St... function WaitForStatus (line 116) | func WaitForStatus(ch chan *StatusBody, timeout time.Duration) (*StatusB... function SendAcnSuccess (line 127) | func SendAcnSuccess(pipe Pipe) error { function SendAcnError (line 146) | func SendAcnError(pipe Pipe, error_msg string, err_codes ...Status_ErrCo... function EncodeAcnEnvelope (line 171) | func EncodeAcnEnvelope(envelope_bytes []byte, record *AgentRecord) ([]by... type Pipe (line 192) | type Pipe interface type StatusQueue (line 199) | type StatusQueue interface function ReadAgentRegistrationMessage (line 203) | func ReadAgentRegistrationMessage(pipe Pipe) (*RegisterPerformative, err... function SendEnvelopeMessageAndWaitForStatus (line 233) | func SendEnvelopeMessageAndWaitForStatus( function ReadLookupRequest (line 264) | func ReadLookupRequest(pipe Pipe) (string, error) { function SendLookupRequest (line 300) | func SendLookupRequest(pipe Pipe, address string) error { function ReadLookupResponse (line 313) | func ReadLookupResponse(pipe Pipe) (*AgentRecord, error) { function SendLookupResponse (line 348) | func SendLookupResponse(pipe Pipe, record *AgentRecord) error { function SendEnvelopeMessage (line 361) | func SendEnvelopeMessage(pipe Pipe, envelope_bytes []byte, record *Agent... function SendAgentRegisterMessage (line 376) | func SendAgentRegisterMessage(pipe Pipe, agentRecord *AgentRecord) error { function ReadAcnStatus (line 401) | func ReadAcnStatus(pipe Pipe) (*StatusBody, error) { function ReadEnvelopeMessage (line 432) | func ReadEnvelopeMessage(pipe Pipe) (*AeaEnvelopePerformative, error) { function PerformAddressLookup (line 454) | func PerformAddressLookup(pipe Pipe, address string) (*AgentRecord, erro... FILE: packages/fetchai/connections/p2p_libp2p/libp2p_node/aea/api.go constant AcnStatusTimeout (line 40) | AcnStatusTimeout = 15.0 * time.Second constant SendQueueSize (line 41) | SendQueueSize = 100 constant OutQueueSize (line 42) | OutQueueSize = 100 type AeaApi (line 60) | type AeaApi struct method MailboxUri (line 92) | func (aea AeaApi) MailboxUri() string { method AeaAddress (line 96) | func (aea AeaApi) AeaAddress() string { method PrivateKey (line 100) | func (aea AeaApi) PrivateKey() string { method Address (line 104) | func (aea AeaApi) Address() (string, uint16) { method PublicAddress (line 108) | func (aea AeaApi) PublicAddress() (string, uint16) { method DelegateAddress (line 112) | func (aea AeaApi) DelegateAddress() (string, uint16) { method MonitoringAddress (line 116) | func (aea AeaApi) MonitoringAddress() (string, uint16) { method EntryPeers (line 120) | func (aea AeaApi) EntryPeers() []string { method AgentRecord (line 124) | func (aea AeaApi) AgentRecord() *acn.AgentRecord { method RegistrationDelayInSeconds (line 128) | func (aea AeaApi) RegistrationDelayInSeconds() float64 { method RecordStoragePath (line 132) | func (aea AeaApi) RecordStoragePath() string { method Put (line 136) | func (aea AeaApi) Put(envelope *Envelope) error { method Get (line 146) | func (aea *AeaApi) Get() *Envelope { method Queue (line 155) | func (aea *AeaApi) Queue() <-chan *Envelope { method Connected (line 159) | func (aea *AeaApi) Connected() bool { method Stop (line 163) | func (aea *AeaApi) Stop() { method Init (line 171) | func (aea *AeaApi) Init() error { method Connect (line 334) | func (aea *AeaApi) Connect() error { method listenForEnvelopes (line 362) | func (aea *AeaApi) listenForEnvelopes() { method envelopeSendLoop (line 404) | func (aea *AeaApi) envelopeSendLoop() { method stop (line 425) | func (aea *AeaApi) stop() { method SendEnvelope (line 447) | func (aea AeaApi) SendEnvelope(envelope *Envelope) error { method AddAcnStatusMessage (line 480) | func (aea AeaApi) AddAcnStatusMessage(status *acn.StatusBody, counterp... constant CurrentVersion (line 437) | CurrentVersion = "0.1.0" function MakeAcnMessageFromEnvelope (line 439) | func MakeAcnMessageFromEnvelope(envelope *Envelope) ([]byte, error) { function SendEnvelope (line 451) | func SendEnvelope( FILE: packages/fetchai/connections/p2p_libp2p/libp2p_node/aea/envelope.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) constant _ (line 26) | _ = proto.ProtoPackageIsVersion4 type Envelope (line 28) | type Envelope struct method Reset (line 40) | func (x *Envelope) Reset() { method String (line 49) | func (x *Envelope) String() string { method ProtoMessage (line 53) | func (*Envelope) ProtoMessage() {} method ProtoReflect (line 55) | func (x *Envelope) ProtoReflect() protoreflect.Message { method Descriptor (line 68) | func (*Envelope) Descriptor() ([]byte, []int) { method GetTo (line 72) | func (x *Envelope) GetTo() string { method GetSender (line 79) | func (x *Envelope) GetSender() string { method GetProtocolId (line 86) | func (x *Envelope) GetProtocolId() string { method GetMessage (line 93) | func (x *Envelope) GetMessage() []byte { method GetUri (line 100) | func (x *Envelope) GetUri() string { function file_envelope_proto_rawDescGZIP (line 127) | func file_envelope_proto_rawDescGZIP() []byte { function init (line 146) | func init() { file_envelope_proto_init() } function file_envelope_proto_init (line 147) | func file_envelope_proto_init() { FILE: packages/fetchai/connections/p2p_libp2p/libp2p_node/aea/pipe.go type TCPSocketChannel (line 34) | type TCPSocketChannel struct method Connect (line 39) | func (sock *TCPSocketChannel) Connect() error { method Read (line 51) | func (sock *TCPSocketChannel) Read() ([]byte, error) { method Write (line 66) | func (sock *TCPSocketChannel) Write(data []byte) error { method Close (line 81) | func (sock *TCPSocketChannel) Close() error { function NewPipe (line 85) | func NewPipe(msgin_path string, msgout_path string) common.Pipe { FILE: packages/fetchai/connections/p2p_libp2p/libp2p_node/aea/utils.go function HandleAcnMessageFromPipe (line 32) | func HandleAcnMessageFromPipe( FILE: packages/fetchai/connections/p2p_libp2p/libp2p_node/common/common.go type PipeError (line 22) | type PipeError struct method Error (line 27) | func (err *PipeError) Error() string { method Unwrap (line 31) | func (err *PipeError) Unwrap() error { type Pipe (line 35) | type Pipe interface FILE: packages/fetchai/connections/p2p_libp2p/libp2p_node/dht/common/handlers.go function ignore (line 42) | func ignore(err error) { type DHTHandler (line 49) | type DHTHandler interface function receiveEnvelopeFromPeer (line 56) | func receiveEnvelopeFromPeer(dhtHandler DHTHandler, stream network.Strea... function HandleAeaEnvelopeStream (line 97) | func HandleAeaEnvelopeStream(dhtHandler DHTHandler, stream network.Strea... function HandleAeaAddressStream (line 129) | func HandleAeaAddressStream(dhtHandler DHTHandler, stream network.Stream) { FILE: packages/fetchai/connections/p2p_libp2p/libp2p_node/dht/dhtclient/dhtclient.go function ignore (line 57) | func ignore(err error) { constant newStreamTimeoutRelayPeer (line 64) | newStreamTimeoutRelayPeer = 5 * 60 * time.Second constant newStreamTimeout (line 65) | newStreamTimeout = 1 * 60 * time.Second constant bootstrapTimeout (line 66) | bootstrapTimeout = 1 * 60 * time.Second constant sleepTimeDefaultDuration (line 67) | sleepTimeDefaultDuration = 100 * time.Millisecond constant sleepTimeIncreaseMFactor (line 68) | sleepTimeIncreaseMFactor = 2 constant reconnectTimeout (line 69) | reconnectTimeout = 5 * time.Second type Notifee (line 73) | type Notifee struct method Listen (line 81) | func (notifee *Notifee) Listen(network.Network, multiaddr.Multiaddr) {} method ListenClose (line 84) | func (notifee *Notifee) ListenClose(network.Network, multiaddr.Multiad... method Connected (line 87) | func (notifee *Notifee) Connected(net network.Network, conn network.Co... method Disconnected (line 97) | func (notifee *Notifee) Disconnected(net network.Network, conn network... method OpenedStream (line 137) | func (notifee *Notifee) OpenedStream(network.Network, network.Stream) {} method ClosedStream (line 140) | func (notifee *Notifee) ClosedStream(network.Network, network.Stream) {} type DHTClient (line 144) | type DHTClient struct method bootstrapLoopUntilTimeout (line 299) | func (dhtClient *DHTClient) bootstrapLoopUntilTimeout() error { method newStreamLoopUntilTimeout (line 332) | func (dhtClient *DHTClient) newStreamLoopUntilTimeout( method setupLogger (line 368) | func (dhtClient *DHTClient) setupLogger() { method GetLoggers (line 380) | func (dhtClient *DHTClient) GetLoggers() (func(error) *zerolog.Event, ... method Close (line 396) | func (dhtClient *DHTClient) Close() []error { method MultiAddr (line 420) | func (dhtClient *DHTClient) MultiAddr() string { method PeerID (line 424) | func (dhtClient *DHTClient) PeerID() string { method RouteEnvelope (line 429) | func (dhtClient *DHTClient) RouteEnvelope(envel *aea.Envelope) error { method handleAeaEnvelopeStream (line 628) | func (dhtClient *DHTClient) handleAeaEnvelopeStream(stream network.Str... method HandleAeaEnvelope (line 634) | func (dhtClient *DHTClient) HandleAeaEnvelope(envel *aea.Envelope) *ac... method handleAeaAddressStream (line 656) | func (dhtClient *DHTClient) handleAeaAddressStream(stream network.Stre... method HandleAeaAddressRequest (line 660) | func (dhtClient *DHTClient) HandleAeaAddressRequest( method registerAgentAddress (line 684) | func (dhtClient *DHTClient) registerAgentAddress() error { method ProcessEnvelope (line 727) | func (dhtClient *DHTClient) ProcessEnvelope(fn func(*aea.Envelope) err... function New (line 163) | func New(opts ...Option) (*DHTClient, error) { FILE: packages/fetchai/connections/p2p_libp2p/libp2p_node/dht/dhtclient/dhtclient_test.go constant DefaultFetchAIKey (line 36) | DefaultFetchAIKey = "04ab8ac134ec727917cf4f9e47685e84622151bc8b128... constant DefaultFetchAIPublicKey (line 37) | DefaultFetchAIPublicKey = "03b07ef4513e3f0372245b3d6d474d871ba58eacaf3a2... constant DefaultAgentKey (line 38) | DefaultAgentKey = "f76137a61c1ad3ee8a0a9a185bc8e6fa51be1a2528f86... constant DefaultAgentPublicKey (line 39) | DefaultAgentPublicKey = "021820ce23b5f3a6ef01988149e724af854f89d37b9ca... constant DefaultAgentAddress (line 40) | DefaultAgentAddress = "fetch1ver6u7xdvkjy4dq8xxrkc6ualu98k7ykumv08q" constant EnvelopeDeliveryTimeout (line 42) | EnvelopeDeliveryTimeout = 10 * time.Second constant DefaultLedger (line 44) | DefaultLedger = dhtnode.DefaultLedger function TestNew (line 48) | func TestNew(t *testing.T) { function TestRouteEnvelopeToPeerAgent (line 91) | func TestRouteEnvelopeToPeerAgent(t *testing.T) { FILE: packages/fetchai/connections/p2p_libp2p/libp2p_node/dht/dhtclient/options.go type Option (line 29) | type Option function IdentityFromFetchAIKey (line 32) | func IdentityFromFetchAIKey(key string) Option { function RegisterAgentAddress (line 44) | func RegisterAgentAddress(record *acn.AgentRecord, isReady func() bool) ... function BootstrapFrom (line 62) | func BootstrapFrom(entryPeers []string) Option { FILE: packages/fetchai/connections/p2p_libp2p/libp2p_node/dht/dhtnode/dhtnode.go type DHTNode (line 27) | type DHTNode interface FILE: packages/fetchai/connections/p2p_libp2p/libp2p_node/dht/dhtnode/streams.go constant AeaNotifStream (line 24) | AeaNotifStream = "/aea-notif/0.1.0" constant AeaAddressStream (line 25) | AeaAddressStream = "/aea-address/0.1.0" constant AeaEnvelopeStream (line 26) | AeaEnvelopeStream = "/aea/0.1.0" constant AeaRegisterRelayStream (line 27) | AeaRegisterRelayStream = "/aea-register/0.1.0" FILE: packages/fetchai/connections/p2p_libp2p/libp2p_node/dht/dhtnode/utils.go constant DefaultLedger (line 34) | DefaultLedger = "fetchai" constant CurrentVersion (line 35) | CurrentVersion = "0.1.0" function IsValidProofOfRepresentation (line 40) | func IsValidProofOfRepresentation( FILE: packages/fetchai/connections/p2p_libp2p/libp2p_node/dht/dhtpeer/benchmarks_test.go function init (line 51) | func init() { function acceptAndEcho (line 67) | func acceptAndEcho(server net.Listener) { function connect (line 89) | func connect(uri string, b *testing.B) net.Conn { function sendAndReceive (line 97) | func sendAndReceive(conn net.Conn, buf []byte, b *testing.B) { function connectAndSend (line 108) | func connectAndSend(buf []byte, b *testing.B) { function BenchmarkBaselineTCPEcho (line 116) | func BenchmarkBaselineTCPEcho(b *testing.B) { function BenchmarkBaselineTCPConnectAndEcho (line 135) | func BenchmarkBaselineTCPConnectAndEcho(b *testing.B) { function getKeysAndAddrs (line 166) | func getKeysAndAddrs(b *testing.B) (peers []string, agents []string) { function setupLocalDHTPeerForBench (line 190) | func setupLocalDHTPeerForBench( function deployPeers (line 258) | func deployPeers(number uint16, b *testing.B) ([]*DHTPeer, []string) { function closePeers (line 278) | func closePeers(peers ...*DHTPeer) { function setupEchoServicePeers (line 284) | func setupEchoServicePeers(peers ...*DHTPeer) { function benchmarkAgentRegistration (line 298) | func benchmarkAgentRegistration(npeers uint16, b *testing.B) { function benchmarkAgentLookup (line 321) | func benchmarkAgentLookup(npeers uint16, b *testing.B) { function benchmarkPeerJoin (line 347) | func benchmarkPeerJoin(npeers uint16, b *testing.B) { function benchmarkPeerEcho (line 368) | func benchmarkPeerEcho(npeers uint16, b *testing.B) { function BenchmarkAgentRegistration2 (line 404) | func BenchmarkAgentRegistration2(b *testing.B) { benchmarkAgentRegistr... function BenchmarkAgentRegistration8 (line 405) | func BenchmarkAgentRegistration8(b *testing.B) { benchmarkAgentRegistr... function BenchmarkAgentRegistration32 (line 406) | func BenchmarkAgentRegistration32(b *testing.B) { benchmarkAgentRegistr... function BenchmarkAgentRegistration128 (line 407) | func BenchmarkAgentRegistration128(b *testing.B) { benchmarkAgentRegistr... function BenchmarkAgentRegistration256 (line 408) | func BenchmarkAgentRegistration256(b *testing.B) { benchmarkAgentRegistr... function BenchmarkAgentLookup2 (line 410) | func BenchmarkAgentLookup2(b *testing.B) { benchmarkAgentLookup(2, b) } function BenchmarkAgentLookup8 (line 411) | func BenchmarkAgentLookup8(b *testing.B) { benchmarkAgentLookup(8, b) } function BenchmarkAgentLookup32 (line 412) | func BenchmarkAgentLookup32(b *testing.B) { benchmarkAgentLookup(32, b) } function BenchmarkAgentLookup128 (line 413) | func BenchmarkAgentLookup128(b *testing.B) { benchmarkAgentLookup(128, b) } function BenchmarkAgentLookup256 (line 414) | func BenchmarkAgentLookup256(b *testing.B) { benchmarkAgentLookup(256, b) } function BenchmarkPeerJoin2 (line 416) | func BenchmarkPeerJoin2(b *testing.B) { benchmarkPeerJoin(2, b) } function BenchmarkPeerJoin8 (line 417) | func BenchmarkPeerJoin8(b *testing.B) { benchmarkPeerJoin(8, b) } function BenchmarkPeerJoin32 (line 418) | func BenchmarkPeerJoin32(b *testing.B) { benchmarkPeerJoin(32, b) } function BenchmarkPeerJoin128 (line 419) | func BenchmarkPeerJoin128(b *testing.B) { benchmarkPeerJoin(128, b) } function BenchmarkPeerJoin256 (line 420) | func BenchmarkPeerJoin256(b *testing.B) { benchmarkPeerJoin(256, b) } function BenchmarkPeerEcho2 (line 422) | func BenchmarkPeerEcho2(b *testing.B) { benchmarkPeerEcho(2, b) } function BenchmarkPeerEcho8 (line 423) | func BenchmarkPeerEcho8(b *testing.B) { benchmarkPeerEcho(8, b) } function BenchmarkPeerEcho32 (line 424) | func BenchmarkPeerEcho32(b *testing.B) { benchmarkPeerEcho(32, b) } function BenchmarkPeerEcho128 (line 425) | func BenchmarkPeerEcho128(b *testing.B) { benchmarkPeerEcho(128, b) } function BenchmarkPeerEcho256 (line 426) | func BenchmarkPeerEcho256(b *testing.B) { benchmarkPeerEcho(256, b) } FILE: packages/fetchai/connections/p2p_libp2p/libp2p_node/dht/dhtpeer/dhtpeer.go constant AcnStatusTimeout (line 74) | AcnStatusTimeout = 5.0 * time.Second constant AcnStatusesQueueSize (line 75) | AcnStatusesQueueSize = 1000 constant SlowQueueSize (line 76) | SlowQueueSize = 100 function check (line 79) | func check(err error) { function ignore (line 84) | func ignore(err error) { constant addressLookupTimeout (line 91) | addressLookupTimeout = 20 * time.Second constant timeoutBeforeMovingToSlowQueue (line 92) | timeoutBeforeMovingToSlowQueue = 3 * time.Second constant routingTableConnectionUpdateTimeout (line 93) | routingTableConnectionUpdateTimeout = 5 * time.Second constant newStreamTimeout (line 94) | newStreamTimeout = 10 * time.Second constant addressRegisterTimeout (line 95) | addressRegisterTimeout = 3 * time.Second constant addressRegistrationDelay (line 96) | addressRegistrationDelay = 0 * time.Second constant monitoringNamespace (line 97) | monitoringNamespace = "acn" constant metricDHTOpLatencyStore (line 98) | metricDHTOpLatencyStore = "dht_op_latency_store" constant metricDHTOpLatencyLookup (line 99) | metricDHTOpLatencyLookup = "dht_op_latency_lookup" constant metricOpLatencyRegister (line 100) | metricOpLatencyRegister = "op_latency_register" constant metricOpLatencyRoute (line 101) | metricOpLatencyRoute = "op_latency_route" constant metricOpRouteCount (line 102) | metricOpRouteCount = "op_route_count" constant metricOpRouteCountAll (line 103) | metricOpRouteCountAll = "op_route_count_all" constant metricOpRouteCountSuccess (line 104) | metricOpRouteCountSuccess = "op_route_count_success" constant metricServiceDelegateClientsCount (line 105) | metricServiceDelegateClientsCount = "service_delegate_clients_count" constant metricServiceDelegateClientsCountAll (line 106) | metricServiceDelegateClientsCountAll = "service_delegate_clients_count_all" constant metricServiceRelayClientsCount (line 107) | metricServiceRelayClientsCount = "service_relay_clients_count" constant metricServiceRelayClientsCountAll (line 108) | metricServiceRelayClientsCountAll = "service_relay_clients_count_all" constant defaultPersistentStoragePath (line 109) | defaultPersistentStoragePath = "./agent_records_store" type DHTPeer (line 121) | type DHTPeer struct method saveAgentRecordToPersistentStorage (line 431) | func (dhtPeer *DHTPeer) saveAgentRecordToPersistentStorage(record *acn... method initAgentRecordPersistentStorage (line 462) | func (dhtPeer *DHTPeer) initAgentRecordPersistentStorage() (int, error) { method closeAgentRecordPersistentStorage (line 510) | func (dhtPeer *DHTPeer) closeAgentRecordPersistentStorage() error { method setupMonitoring (line 517) | func (dhtPeer *DHTPeer) setupMonitoring() { method startMonitoring (line 530) | func (dhtPeer *DHTPeer) startMonitoring(ready *sync.WaitGroup) { method addMonitoringMetrics (line 537) | func (dhtPeer *DHTPeer) addMonitoringMetrics() { method setupLogger (line 582) | func (dhtPeer *DHTPeer) setupLogger() { method PeerID (line 592) | func (dhtPeer *DHTPeer) PeerID() string { method GetLoggers (line 596) | func (dhtPeer *DHTPeer) GetLoggers() (func(error) *zerolog.Event, func... method SetLogLevel (line 611) | func (dhtPeer *DHTPeer) SetLogLevel(lvl zerolog.Level) { method Close (line 616) | func (dhtPeer *DHTPeer) Close() []error { method launchDelegateService (line 730) | func (dhtPeer *DHTPeer) launchDelegateService() { method makeSSLCertifiateAndSignature (line 751) | func (dhtPeer *DHTPeer) makeSSLCertifiateAndSignature() error { method launchMailboxService (line 769) | func (dhtPeer *DHTPeer) launchMailboxService() { method handleDelegateService (line 791) | func (dhtPeer *DHTPeer) handleDelegateService(ready *sync.WaitGroup) { method CheckPOR (line 826) | func (dhtPeer *DHTPeer) CheckPOR(record *acn.AgentRecord) (*acn.Status... method handleNewDelegationConnection (line 837) | func (dhtPeer *DHTPeer) handleNewDelegationConnection(conn net.Conn) { method ProcessEnvelope (line 1013) | func (dhtPeer *DHTPeer) ProcessEnvelope(fn func(*aea.Envelope) error) { method MultiAddr (line 1018) | func (dhtPeer *DHTPeer) MultiAddr() string { method GetCertAndSignature (line 1028) | func (dhtPeer *DHTPeer) GetCertAndSignature() (*tls.Certificate, []byt... method getEnvelopeAcnRecord (line 1034) | func (dhtPeer *DHTPeer) getEnvelopeAcnRecord(envel *aea.Envelope) (*ac... method RouteEnvelope (line 1055) | func (dhtPeer *DHTPeer) RouteEnvelope(envel *aea.Envelope) error { method slowEnvelopeSendLoop (line 1186) | func (dhtPeer *DHTPeer) slowEnvelopeSendLoop() { method _routeEnvelopeDHTLookup (line 1210) | func (dhtPeer *DHTPeer) _routeEnvelopeDHTLookup( method _routeEnvelopeWithNewStream (line 1235) | func (dhtPeer *DHTPeer) _routeEnvelopeWithNewStream( method lookupAddressDHT (line 1324) | func (dhtPeer *DHTPeer) lookupAddressDHT( method handleAeaEnvelopeStream (line 1450) | func (dhtPeer *DHTPeer) handleAeaEnvelopeStream(stream network.Stream) { method HandleAeaEnvelope (line 1456) | func (dhtPeer *DHTPeer) HandleAeaEnvelope(envel *aea.Envelope) *acn.AC... method handleAeaAddressStream (line 1528) | func (dhtPeer *DHTPeer) handleAeaAddressStream(stream network.Stream) { method HandleAeaAddressRequest (line 1533) | func (dhtPeer *DHTPeer) HandleAeaAddressRequest( method handleAeaNotifStream (line 1615) | func (dhtPeer *DHTPeer) handleAeaNotifStream(stream network.Stream) { method IsAddressAnnouncementEnabled (line 1691) | func (dhtPeer *DHTPeer) IsAddressAnnouncementEnabled() bool { method handleAeaRegisterStream (line 1700) | func (dhtPeer *DHTPeer) handleAeaRegisterStream(stream network.Stream) { method RegisterAgentAddress (line 1795) | func (dhtPeer *DHTPeer) RegisterAgentAddress(addr string) error { method IsAddressAnnounced (line 1830) | func (dhtPeer *DHTPeer) IsAddressAnnounced(address string) bool { method setAddressAnnounced (line 1837) | func (dhtPeer *DHTPeer) setAddressAnnounced(address string) { method AddAcnStatusMessage (line 1843) | func (dhtPeer *DHTPeer) AddAcnStatusMessage(status *acn.StatusBody, co... method AwaitAcnStatus (line 1851) | func (dhtPeer *DHTPeer) AwaitAcnStatus(counterpartyID string) error { function New (line 187) | func New(opts ...Option) (*DHTPeer, error) { function parsePersistentStorageLine (line 449) | func parsePersistentStorageLine(line []byte) (*acn.AgentRecord, error) { function formatPersistentStorageLine (line 455) | func formatPersistentStorageLine(record *acn.AgentRecord) []byte { function generate_x509_cert (line 673) | func generate_x509_cert() (*tls.Certificate, error) { function makeSessionKeySignature (line 783) | func makeSessionKeySignature(cert *tls.Certificate, privateKey cryptop2p... FILE: packages/fetchai/connections/p2p_libp2p/libp2p_node/dht/dhtpeer/dhtpeer_test.go constant DefaultLocalHost (line 52) | DefaultLocalHost = "127.0.0.1" constant DefaultLocalPort (line 53) | DefaultLocalPort = 2000 constant DefaultDelegatePort (line 54) | DefaultDelegatePort = 3000 constant EnvelopeDeliveryTimeout (line 56) | EnvelopeDeliveryTimeout = 1 * time.Second constant DHTPeerSetupTimeout (line 57) | DHTPeerSetupTimeout = 5 * time.Second constant DefaultLedger (line 59) | DefaultLedger = dhtnode.DefaultLedger function TestRoutingDHTPeerToSelf (line 121) | func TestRoutingDHTPeerToSelf(t *testing.T) { function TestRoutingDHTPeerToDHTPeerDirect (line 176) | func TestRoutingDHTPeerToDHTPeerDirect(t *testing.T) { function TestRoutingDHTPeerToDHTPeerIndirect (line 226) | func TestRoutingDHTPeerToDHTPeerIndirect(t *testing.T) { function TestRoutingDHTPeerToDHTPeerIndirectTwoHops (line 285) | func TestRoutingDHTPeerToDHTPeerIndirectTwoHops(t *testing.T) { function TestRoutingDHTPeerToDHTPeerFullConnectivity (line 354) | func TestRoutingDHTPeerToDHTPeerFullConnectivity(t *testing.T) { function TestRoutingDHTClientToDHTPeerX (line 426) | func TestRoutingDHTClientToDHTPeerX(t *testing.T) { function TestRoutingDHTClientToDHTPeerIndirect (line 474) | func TestRoutingDHTClientToDHTPeerIndirect(t *testing.T) { function TestRoutingDHTClientToDHTClient (line 533) | func TestRoutingDHTClientToDHTClient(t *testing.T) { function TestRoutingDHTClientToDHTClientIndirect (line 589) | func TestRoutingDHTClientToDHTClientIndirect(t *testing.T) { function TestRoutingDelegateClientToDHTPeerX (line 660) | func TestRoutingDelegateClientToDHTPeerX(t *testing.T) { function TestRoutingDelegateClientToDHTPeerIndirect (line 709) | func TestRoutingDelegateClientToDHTPeerIndirect(t *testing.T) { function TestMessageOrderingWithDelegateClient (line 768) | func TestMessageOrderingWithDelegateClient(t *testing.T) { function TestMessageOrderingWithDelegateClientTwoHops (line 864) | func TestMessageOrderingWithDelegateClientTwoHops(t *testing.T) { function TestRoutingDelegateClientToDHTPeerIndirectTwoHops (line 981) | func TestRoutingDelegateClientToDHTPeerIndirectTwoHops(t *testing.T) { function TestRoutingDelegateClientToDelegateClient (line 1051) | func TestRoutingDelegateClientToDelegateClient(t *testing.T) { function TestRoutingDelegateClientToDelegateClientIndirect (line 1106) | func TestRoutingDelegateClientToDelegateClientIndirect(t *testing.T) { function TestRoutingDelegateClientToDHTClientDirect (line 1171) | func TestRoutingDelegateClientToDHTClientDirect(t *testing.T) { function TestRoutingDelegateClientToDHTClientIndirect (line 1223) | func TestRoutingDelegateClientToDHTClientIndirect(t *testing.T) { function TestRoutingAllToAll (line 1300) | func TestRoutingAllToAll(t *testing.T) { function randSeq (line 1630) | func randSeq(n int) string { function SetupLocalDHTPeer (line 1640) | func SetupLocalDHTPeer( function SetupDHTClient (line 1701) | func SetupDHTClient( type DelegateClient (line 1750) | type DelegateClient struct method AddAcnStatusMessage (line 1762) | func (client *DelegateClient) AddAcnStatusMessage(status *acn.StatusBo... method Close (line 1766) | func (client *DelegateClient) Close() error { method Send (line 1770) | func (client *DelegateClient) Send(envelope *aea.Envelope) error { method ProcessEnvelope (line 1784) | func (client *DelegateClient) ProcessEnvelope(fn func(*aea.Envelope) e... function ValidateTLSSignature (line 1788) | func ValidateTLSSignature( function SetupDelegateClient (line 1809) | func SetupDelegateClient( function expectEnvelope (line 1918) | func expectEnvelope(t *testing.T, rx chan *aea.Envelope) { function expectEnvelopeOrdered (line 1928) | func expectEnvelopeOrdered(t *testing.T, rx chan *aea.Envelope, counter ... function ensureAddressAnnounced (line 1946) | func ensureAddressAnnounced(peers ...*DHTPeer) { function TestFetchAICrypto (line 1961) | func TestFetchAICrypto(t *testing.T) { function TestEthereumCrypto (line 1992) | func TestEthereumCrypto(t *testing.T) { function TestTLSSignatureValidation (line 2035) | func TestTLSSignatureValidation(t *testing.T) { FILE: packages/fetchai/connections/p2p_libp2p/libp2p_node/dht/dhtpeer/mailbox.go type MailboxServer (line 240) | type MailboxServer struct method apiRegister (line 18) | func (mailboxServer *MailboxServer) apiRegister(res http.ResponseWrite... method apiUnregister (line 87) | func (mailboxServer *MailboxServer) apiUnregister(res http.ResponseWri... method apiGetSignature (line 124) | func (mailboxServer *MailboxServer) apiGetSignature(res http.ResponseW... method apiSendEnvelope (line 137) | func (mailboxServer *MailboxServer) apiSendEnvelope(res http.ResponseW... method apiGetEnvelope (line 192) | func (mailboxServer *MailboxServer) apiGetEnvelope(res http.ResponseWr... method start (line 253) | func (mailboxServer *MailboxServer) start() { method stop (line 287) | func (mailboxServer *MailboxServer) stop() { method RouteEnvelope (line 299) | func (mailboxServer *MailboxServer) RouteEnvelope(envelope *aea.Envelo... method IsAddrRegistered (line 325) | func (mailboxServer *MailboxServer) IsAddrRegistered(addr string) bool { method GetAgentRecord (line 332) | func (mailboxServer *MailboxServer) GetAgentRecord(addr string) *acn.A... FILE: packages/fetchai/connections/p2p_libp2p/libp2p_node/dht/dhtpeer/notifee.go type Notifee (line 33) | type Notifee struct method Listen (line 38) | func (notifee *Notifee) Listen(network.Network, multiaddr.Multiaddr) {} method ListenClose (line 41) | func (notifee *Notifee) ListenClose(network.Network, multiaddr.Multiad... method Connected (line 44) | func (notifee *Notifee) Connected(net network.Network, conn network.Co... method Disconnected (line 54) | func (notifee *Notifee) Disconnected(net network.Network, conn network... method OpenedStream (line 62) | func (notifee *Notifee) OpenedStream(network.Network, network.Stream) {} method ClosedStream (line 65) | func (notifee *Notifee) ClosedStream(network.Network, network.Stream) {} FILE: packages/fetchai/connections/p2p_libp2p/libp2p_node/dht/dhtpeer/options.go type Option (line 35) | type Option function IdentityFromFetchAIKey (line 38) | func IdentityFromFetchAIKey(key string) Option { function RegisterAgentAddress (line 50) | func RegisterAgentAddress(record *acn.AgentRecord, isReady func() bool) ... function BootstrapFrom (line 68) | func BootstrapFrom(entryPeers []string) Option { function LocalURI (line 80) | func LocalURI(host string, port uint16) Option { function PublicURI (line 95) | func PublicURI(host string, port uint16) Option { function EnableDelegateService (line 110) | func EnableDelegateService(port uint16) Option { function EnableMailboxService (line 118) | func EnableMailboxService(hostport string) Option { function EnableRelayService (line 126) | func EnableRelayService() Option { function LoggingLevel (line 135) | func LoggingLevel(lvl zerolog.Level) Option { function EnablePrometheusMonitoring (line 143) | func EnablePrometheusMonitoring(port uint16) Option { function WithRegistrationDelay (line 151) | func WithRegistrationDelay(delay time.Duration) Option { function StoreRecordsTo (line 159) | func StoreRecordsTo(path string) Option { FILE: packages/fetchai/connections/p2p_libp2p/libp2p_node/dht/dhtpeer/utils.go type TLSListener (line 28) | type TLSListener struct method Accept (line 33) | func (listener TLSListener) Accept() (net.Conn, error) { method Close (line 44) | func (listener TLSListener) Close() error { method Addr (line 48) | func (listener TLSListener) Addr() net.Addr { FILE: packages/fetchai/connections/p2p_libp2p/libp2p_node/dht/dhttests/dhttests.go constant DHTPeerDefaultLocalHost (line 38) | DHTPeerDefaultLocalHost = "127.0.0.1" constant DHTPeerDefaultLocalPort (line 39) | DHTPeerDefaultLocalPort = 2000 constant DHTPeerDefaultDelegatePort (line 40) | DHTPeerDefaultDelegatePort = 3000 constant DHTPeerDefaultFetchAIKey (line 42) | DHTPeerDefaultFetchAIKey = "34604436e55b0eb99b5e62508433e172dd3ee1... constant DHTPeerDefaultFetchAIPublicKey (line 43) | DHTPeerDefaultFetchAIPublicKey = "039e883de988eededb9afaa4d3a6baec9ba74d... constant DHTPeerDefaultAgentKey (line 45) | DHTPeerDefaultAgentKey = "719133dc740d76ff6d1d325e193f7cd63af4c8f3... constant DHTPeerDefaultAgentPublicKey (line 46) | DHTPeerDefaultAgentPublicKey = "039623e63ba1617404b2abbe7bd94d24eb788335... constant DHTPeerDefaultAgentAddress (line 47) | DHTPeerDefaultAgentAddress = "fetch134rg4n3wgmwctxsrm7gp6l65uwv6hxtxyf... function randSeq (line 50) | func randSeq(n int) string { function NewDHTPeerWithDefaults (line 60) | func NewDHTPeerWithDefaults(inbox chan<- *aea.Envelope) (*dhtpeer.DHTPee... FILE: packages/fetchai/connections/p2p_libp2p/libp2p_node/dht/monitoring/file.go type FileGauge (line 30) | type FileGauge struct method Set (line 35) | func (fg *FileGauge) Set(value float64) { method Get (line 42) | func (fg *FileGauge) Get() float64 { method Inc (line 47) | func (fg *FileGauge) Inc() { method Dec (line 51) | func (fg *FileGauge) Dec() { method Add (line 55) | func (fg *FileGauge) Add(count float64) { method Sub (line 62) | func (fg *FileGauge) Sub(count float64) { type FileCounter (line 69) | type FileCounter struct method Inc (line 74) | func (fc *FileCounter) Inc() { method Add (line 79) | func (fc *FileCounter) Add(count float64) { method Get (line 85) | func (fc *FileCounter) Get() float64 { type FileHistogram (line 89) | type FileHistogram struct method Observe (line 95) | func (fh *FileHistogram) Observe(value float64) { type FileMonitoring (line 108) | type FileMonitoring struct method NewCounter (line 142) | func (fm *FileMonitoring) NewCounter(name string, description string) ... method GetCounter (line 150) | func (fm *FileMonitoring) GetCounter(name string) (Counter, bool) { method NewGauge (line 155) | func (fm *FileMonitoring) NewGauge(name string, description string) (G... method GetGauge (line 162) | func (fm *FileMonitoring) GetGauge(name string) (Gauge, bool) { method NewHistogram (line 167) | func (fm *FileMonitoring) NewHistogram( method GetHistogram (line 181) | func (fm *FileMonitoring) GetHistogram(name string) (Histogram, bool) { method Start (line 186) | func (fm *FileMonitoring) Start() { method Stop (line 210) | func (fm *FileMonitoring) Stop() { method getStats (line 214) | func (fm FileMonitoring) getStats() string { method Info (line 228) | func (fm *FileMonitoring) Info() string { method Timer (line 232) | func (fm *FileMonitoring) Timer() *Timer { function NewFileMonitoring (line 121) | func NewFileMonitoring(namespace string, write bool) *FileMonitoring { FILE: packages/fetchai/connections/p2p_libp2p/libp2p_node/dht/monitoring/prometheus.go type PrometheusMonitoring (line 34) | type PrometheusMonitoring struct method NewCounter (line 65) | func (pmts *PrometheusMonitoring) NewCounter(name string, description ... method GetCounter (line 76) | func (pmts *PrometheusMonitoring) GetCounter(name string) (Counter, bo... method NewGauge (line 81) | func (pmts *PrometheusMonitoring) NewGauge(name string, description st... method GetGauge (line 92) | func (pmts *PrometheusMonitoring) GetGauge(name string) (Gauge, bool) { method NewHistogram (line 97) | func (pmts *PrometheusMonitoring) NewHistogram( method GetHistogram (line 113) | func (pmts *PrometheusMonitoring) GetHistogram(name string) (Histogram... method Start (line 118) | func (pmts *PrometheusMonitoring) Start() { method Stop (line 129) | func (pmts *PrometheusMonitoring) Stop() { method Info (line 133) | func (pmts *PrometheusMonitoring) Info() string { method Timer (line 136) | func (pmts *PrometheusMonitoring) Timer() *Timer { function NewPrometheusMonitoring (line 47) | func NewPrometheusMonitoring(namespace string, port uint16) *PrometheusM... FILE: packages/fetchai/connections/p2p_libp2p/libp2p_node/dht/monitoring/service.go type Gauge (line 30) | type Gauge interface type Counter (line 38) | type Counter interface type Histogram (line 43) | type Histogram interface type Summary (line 47) | type Summary interface type Timer (line 51) | type Timer struct method NewTimer (line 56) | func (tm *Timer) NewTimer() time.Time { method GetTimer (line 60) | func (tm *Timer) GetTimer(timer time.Time) time.Duration { method NewTimerNamed (line 65) | func (tm *Timer) NewTimerNamed(name string) string { method GetTimerNamed (line 72) | func (tm *Timer) GetTimerNamed(timer string) (time.Duration, error) { type MonitoringService (line 86) | type MonitoringService interface function ignore (line 101) | func ignore(err error) { FILE: packages/fetchai/connections/p2p_libp2p/libp2p_node/libp2p_node.go constant libp2pNodePanicError (line 40) | libp2pNodePanicError = "LIBP2P_NODE_PANIC_ERROR" constant libp2pMultiaddrsListStart (line 41) | libp2pMultiaddrsListStart = "MULTIADDRS_LIST_START" constant libp2pMultiaddrsListEnd (line 42) | libp2pMultiaddrsListEnd = "MULTIADDRS_LIST_END" function check (line 48) | func check(err error) { function main (line 55) | func main() { FILE: packages/fetchai/connections/p2p_libp2p/libp2p_node/mocks/mock_host.go type MockHost (line 22) | type MockHost struct method EXPECT (line 40) | func (m *MockHost) EXPECT() *MockHostMockRecorder { method Addrs (line 45) | func (m *MockHost) Addrs() []multiaddr.Multiaddr { method Close (line 59) | func (m *MockHost) Close() error { method ConnManager (line 73) | func (m *MockHost) ConnManager() connmgr.ConnManager { method Connect (line 87) | func (m *MockHost) Connect(arg0 context.Context, arg1 peer.AddrInfo) e... method EventBus (line 101) | func (m *MockHost) EventBus() event.Bus { method ID (line 115) | func (m *MockHost) ID() peer.ID { method Mux (line 129) | func (m *MockHost) Mux() protocol.Switch { method Network (line 143) | func (m *MockHost) Network() network.Network { method NewStream (line 157) | func (m *MockHost) NewStream(arg0 context.Context, arg1 peer.ID, arg2 ... method Peerstore (line 177) | func (m *MockHost) Peerstore() peerstore.Peerstore { method RemoveStreamHandler (line 191) | func (m *MockHost) RemoveStreamHandler(arg0 protocol.ID) { method SetStreamHandler (line 203) | func (m *MockHost) SetStreamHandler(arg0 protocol.ID, arg1 network.Str... method SetStreamHandlerMatch (line 215) | func (m *MockHost) SetStreamHandlerMatch(arg0 protocol.ID, arg1 func(s... type MockHostMockRecorder (line 28) | type MockHostMockRecorder struct method Addrs (line 53) | func (mr *MockHostMockRecorder) Addrs() *gomock.Call { method Close (line 67) | func (mr *MockHostMockRecorder) Close() *gomock.Call { method ConnManager (line 81) | func (mr *MockHostMockRecorder) ConnManager() *gomock.Call { method Connect (line 95) | func (mr *MockHostMockRecorder) Connect(arg0, arg1 interface{}) *gomoc... method EventBus (line 109) | func (mr *MockHostMockRecorder) EventBus() *gomock.Call { method ID (line 123) | func (mr *MockHostMockRecorder) ID() *gomock.Call { method Mux (line 137) | func (mr *MockHostMockRecorder) Mux() *gomock.Call { method Network (line 151) | func (mr *MockHostMockRecorder) Network() *gomock.Call { method NewStream (line 170) | func (mr *MockHostMockRecorder) NewStream(arg0, arg1 interface{}, arg2... method Peerstore (line 185) | func (mr *MockHostMockRecorder) Peerstore() *gomock.Call { method RemoveStreamHandler (line 197) | func (mr *MockHostMockRecorder) RemoveStreamHandler(arg0 interface{}) ... method SetStreamHandler (line 209) | func (mr *MockHostMockRecorder) SetStreamHandler(arg0, arg1 interface{... method SetStreamHandlerMatch (line 221) | func (mr *MockHostMockRecorder) SetStreamHandlerMatch(arg0, arg1, arg2... function NewMockHost (line 33) | func NewMockHost(ctrl *gomock.Controller) *MockHost { FILE: packages/fetchai/connections/p2p_libp2p/libp2p_node/mocks/mock_net.go type MockConn (line 16) | type MockConn struct method EXPECT (line 34) | func (m *MockConn) EXPECT() *MockConnMockRecorder { method Close (line 39) | func (m *MockConn) Close() error { method LocalAddr (line 53) | func (m *MockConn) LocalAddr() net.Addr { method Read (line 67) | func (m *MockConn) Read(arg0 []byte) (int, error) { method RemoteAddr (line 82) | func (m *MockConn) RemoteAddr() net.Addr { method SetDeadline (line 96) | func (m *MockConn) SetDeadline(arg0 time.Time) error { method SetReadDeadline (line 110) | func (m *MockConn) SetReadDeadline(arg0 time.Time) error { method SetWriteDeadline (line 124) | func (m *MockConn) SetWriteDeadline(arg0 time.Time) error { method Write (line 138) | func (m *MockConn) Write(arg0 []byte) (int, error) { type MockConnMockRecorder (line 22) | type MockConnMockRecorder struct method Close (line 47) | func (mr *MockConnMockRecorder) Close() *gomock.Call { method LocalAddr (line 61) | func (mr *MockConnMockRecorder) LocalAddr() *gomock.Call { method Read (line 76) | func (mr *MockConnMockRecorder) Read(arg0 interface{}) *gomock.Call { method RemoteAddr (line 90) | func (mr *MockConnMockRecorder) RemoteAddr() *gomock.Call { method SetDeadline (line 104) | func (mr *MockConnMockRecorder) SetDeadline(arg0 interface{}) *gomock.... method SetReadDeadline (line 118) | func (mr *MockConnMockRecorder) SetReadDeadline(arg0 interface{}) *gom... method SetWriteDeadline (line 132) | func (mr *MockConnMockRecorder) SetWriteDeadline(arg0 interface{}) *go... method Write (line 147) | func (mr *MockConnMockRecorder) Write(arg0 interface{}) *gomock.Call { function NewMockConn (line 27) | func NewMockConn(ctrl *gomock.Controller) *MockConn { FILE: packages/fetchai/connections/p2p_libp2p/libp2p_node/mocks/mock_network.go type MockStream (line 17) | type MockStream struct method EXPECT (line 35) | func (m *MockStream) EXPECT() *MockStreamMockRecorder { method Close (line 40) | func (m *MockStream) Close() error { method Conn (line 54) | func (m *MockStream) Conn() network.Conn { method Protocol (line 68) | func (m *MockStream) Protocol() protocol.ID { method Read (line 82) | func (m *MockStream) Read(arg0 []byte) (int, error) { method Reset (line 97) | func (m *MockStream) Reset() error { method SetDeadline (line 111) | func (m *MockStream) SetDeadline(arg0 time.Time) error { method SetProtocol (line 125) | func (m *MockStream) SetProtocol(arg0 protocol.ID) { method SetReadDeadline (line 137) | func (m *MockStream) SetReadDeadline(arg0 time.Time) error { method SetWriteDeadline (line 151) | func (m *MockStream) SetWriteDeadline(arg0 time.Time) error { method Stat (line 165) | func (m *MockStream) Stat() network.Stat { method Write (line 179) | func (m *MockStream) Write(arg0 []byte) (int, error) { type MockStreamMockRecorder (line 23) | type MockStreamMockRecorder struct method Close (line 48) | func (mr *MockStreamMockRecorder) Close() *gomock.Call { method Conn (line 62) | func (mr *MockStreamMockRecorder) Conn() *gomock.Call { method Protocol (line 76) | func (mr *MockStreamMockRecorder) Protocol() *gomock.Call { method Read (line 91) | func (mr *MockStreamMockRecorder) Read(arg0 interface{}) *gomock.Call { method Reset (line 105) | func (mr *MockStreamMockRecorder) Reset() *gomock.Call { method SetDeadline (line 119) | func (mr *MockStreamMockRecorder) SetDeadline(arg0 interface{}) *gomoc... method SetProtocol (line 131) | func (mr *MockStreamMockRecorder) SetProtocol(arg0 interface{}) *gomoc... method SetReadDeadline (line 145) | func (mr *MockStreamMockRecorder) SetReadDeadline(arg0 interface{}) *g... method SetWriteDeadline (line 159) | func (mr *MockStreamMockRecorder) SetWriteDeadline(arg0 interface{}) *... method Stat (line 173) | func (mr *MockStreamMockRecorder) Stat() *gomock.Call { method Write (line 188) | func (mr *MockStreamMockRecorder) Write(arg0 interface{}) *gomock.Call { function NewMockStream (line 28) | func NewMockStream(ctrl *gomock.Controller) *MockStream { FILE: packages/fetchai/connections/p2p_libp2p/libp2p_node/mocks/mock_peerstore.go type MockPeerstore (line 19) | type MockPeerstore struct method EXPECT (line 37) | func (m *MockPeerstore) EXPECT() *MockPeerstoreMockRecorder { method AddAddr (line 42) | func (m *MockPeerstore) AddAddr(arg0 peer.ID, arg1 multiaddr.Multiaddr... method AddAddrs (line 54) | func (m *MockPeerstore) AddAddrs(arg0 peer.ID, arg1 []multiaddr.Multia... method AddPrivKey (line 66) | func (m *MockPeerstore) AddPrivKey(arg0 peer.ID, arg1 crypto.PrivKey) ... method AddProtocols (line 80) | func (m *MockPeerstore) AddProtocols(arg0 peer.ID, arg1 ...string) err... method AddPubKey (line 99) | func (m *MockPeerstore) AddPubKey(arg0 peer.ID, arg1 crypto.PubKey) er... method AddrStream (line 113) | func (m *MockPeerstore) AddrStream(arg0 context.Context, arg1 peer.ID)... method Addrs (line 127) | func (m *MockPeerstore) Addrs(arg0 peer.ID) []multiaddr.Multiaddr { method ClearAddrs (line 141) | func (m *MockPeerstore) ClearAddrs(arg0 peer.ID) { method Close (line 153) | func (m *MockPeerstore) Close() error { method Get (line 167) | func (m *MockPeerstore) Get(arg0 peer.ID, arg1 string) (interface{}, e... method GetProtocols (line 182) | func (m *MockPeerstore) GetProtocols(arg0 peer.ID) ([]string, error) { method LatencyEWMA (line 197) | func (m *MockPeerstore) LatencyEWMA(arg0 peer.ID) time.Duration { method PeerInfo (line 211) | func (m *MockPeerstore) PeerInfo(arg0 peer.ID) peer.AddrInfo { method Peers (line 225) | func (m *MockPeerstore) Peers() peer.IDSlice { method PeersWithAddrs (line 239) | func (m *MockPeerstore) PeersWithAddrs() peer.IDSlice { method PeersWithKeys (line 253) | func (m *MockPeerstore) PeersWithKeys() peer.IDSlice { method PrivKey (line 267) | func (m *MockPeerstore) PrivKey(arg0 peer.ID) crypto.PrivKey { method PubKey (line 281) | func (m *MockPeerstore) PubKey(arg0 peer.ID) crypto.PubKey { method Put (line 295) | func (m *MockPeerstore) Put(arg0 peer.ID, arg1 string, arg2 interface{... method RecordLatency (line 309) | func (m *MockPeerstore) RecordLatency(arg0 peer.ID, arg1 time.Duration) { method RemoveProtocols (line 321) | func (m *MockPeerstore) RemoveProtocols(arg0 peer.ID, arg1 ...string) ... method SetAddr (line 340) | func (m *MockPeerstore) SetAddr(arg0 peer.ID, arg1 multiaddr.Multiaddr... method SetAddrs (line 352) | func (m *MockPeerstore) SetAddrs(arg0 peer.ID, arg1 []multiaddr.Multia... method SetProtocols (line 364) | func (m *MockPeerstore) SetProtocols(arg0 peer.ID, arg1 ...string) err... method SupportsProtocols (line 383) | func (m *MockPeerstore) SupportsProtocols(arg0 peer.ID, arg1 ...string... method UpdateAddrs (line 403) | func (m *MockPeerstore) UpdateAddrs(arg0 peer.ID, arg1, arg2 time.Dura... type MockPeerstoreMockRecorder (line 25) | type MockPeerstoreMockRecorder struct method AddAddr (line 48) | func (mr *MockPeerstoreMockRecorder) AddAddr(arg0, arg1, arg2 interfac... method AddAddrs (line 60) | func (mr *MockPeerstoreMockRecorder) AddAddrs(arg0, arg1, arg2 interfa... method AddPrivKey (line 74) | func (mr *MockPeerstoreMockRecorder) AddPrivKey(arg0, arg1 interface{}... method AddProtocols (line 92) | func (mr *MockPeerstoreMockRecorder) AddProtocols(arg0 interface{}, ar... method AddPubKey (line 107) | func (mr *MockPeerstoreMockRecorder) AddPubKey(arg0, arg1 interface{})... method AddrStream (line 121) | func (mr *MockPeerstoreMockRecorder) AddrStream(arg0, arg1 interface{}... method Addrs (line 135) | func (mr *MockPeerstoreMockRecorder) Addrs(arg0 interface{}) *gomock.C... method ClearAddrs (line 147) | func (mr *MockPeerstoreMockRecorder) ClearAddrs(arg0 interface{}) *gom... method Close (line 161) | func (mr *MockPeerstoreMockRecorder) Close() *gomock.Call { method Get (line 176) | func (mr *MockPeerstoreMockRecorder) Get(arg0, arg1 interface{}) *gomo... method GetProtocols (line 191) | func (mr *MockPeerstoreMockRecorder) GetProtocols(arg0 interface{}) *g... method LatencyEWMA (line 205) | func (mr *MockPeerstoreMockRecorder) LatencyEWMA(arg0 interface{}) *go... method PeerInfo (line 219) | func (mr *MockPeerstoreMockRecorder) PeerInfo(arg0 interface{}) *gomoc... method Peers (line 233) | func (mr *MockPeerstoreMockRecorder) Peers() *gomock.Call { method PeersWithAddrs (line 247) | func (mr *MockPeerstoreMockRecorder) PeersWithAddrs() *gomock.Call { method PeersWithKeys (line 261) | func (mr *MockPeerstoreMockRecorder) PeersWithKeys() *gomock.Call { method PrivKey (line 275) | func (mr *MockPeerstoreMockRecorder) PrivKey(arg0 interface{}) *gomock... method PubKey (line 289) | func (mr *MockPeerstoreMockRecorder) PubKey(arg0 interface{}) *gomock.... method Put (line 303) | func (mr *MockPeerstoreMockRecorder) Put(arg0, arg1, arg2 interface{})... method RecordLatency (line 315) | func (mr *MockPeerstoreMockRecorder) RecordLatency(arg0, arg1 interfac... method RemoveProtocols (line 333) | func (mr *MockPeerstoreMockRecorder) RemoveProtocols(arg0 interface{},... method SetAddr (line 346) | func (mr *MockPeerstoreMockRecorder) SetAddr(arg0, arg1, arg2 interfac... method SetAddrs (line 358) | func (mr *MockPeerstoreMockRecorder) SetAddrs(arg0, arg1, arg2 interfa... method SetProtocols (line 376) | func (mr *MockPeerstoreMockRecorder) SetProtocols(arg0 interface{}, ar... method SupportsProtocols (line 396) | func (mr *MockPeerstoreMockRecorder) SupportsProtocols(arg0 interface{... method UpdateAddrs (line 409) | func (mr *MockPeerstoreMockRecorder) UpdateAddrs(arg0, arg1, arg2 inte... function NewMockPeerstore (line 30) | func NewMockPeerstore(ctrl *gomock.Controller) *MockPeerstore { FILE: packages/fetchai/connections/p2p_libp2p/libp2p_node/protocols/acn/v1_0_0/acn.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) constant _ (line 26) | _ = proto.ProtoPackageIsVersion4 type AcnMessage_StatusBody_StatusCodeEnum (line 28) | type AcnMessage_StatusBody_StatusCodeEnum method Enum (line 77) | func (x AcnMessage_StatusBody_StatusCodeEnum) Enum() *AcnMessage_Statu... method String (line 83) | func (x AcnMessage_StatusBody_StatusCodeEnum) String() string { method Descriptor (line 87) | func (AcnMessage_StatusBody_StatusCodeEnum) Descriptor() protoreflect.... method Type (line 91) | func (AcnMessage_StatusBody_StatusCodeEnum) Type() protoreflect.EnumTy... method Number (line 95) | func (x AcnMessage_StatusBody_StatusCodeEnum) Number() protoreflect.En... method EnumDescriptor (line 100) | func (AcnMessage_StatusBody_StatusCodeEnum) EnumDescriptor() ([]byte, ... constant AcnMessage_StatusBody_SUCCESS (line 32) | AcnMessage_StatusBody_SUCCESS AcnMessage_StatusBody_St... constant AcnMessage_StatusBody_ERROR_UNSUPPORTED_VERSION (line 33) | AcnMessage_StatusBody_ERROR_UNSUPPORTED_VERSION AcnMessage_StatusBody_St... constant AcnMessage_StatusBody_ERROR_UNEXPECTED_PAYLOAD (line 34) | AcnMessage_StatusBody_ERROR_UNEXPECTED_PAYLOAD AcnMessage_StatusBody_St... constant AcnMessage_StatusBody_ERROR_GENERIC (line 35) | AcnMessage_StatusBody_ERROR_GENERIC AcnMessage_StatusBody_St... constant AcnMessage_StatusBody_ERROR_DECODE (line 36) | AcnMessage_StatusBody_ERROR_DECODE AcnMessage_StatusBody_St... constant AcnMessage_StatusBody_ERROR_WRONG_AGENT_ADDRESS (line 38) | AcnMessage_StatusBody_ERROR_WRONG_AGENT_ADDRESS AcnMessage_StatusBody_St... constant AcnMessage_StatusBody_ERROR_WRONG_PUBLIC_KEY (line 39) | AcnMessage_StatusBody_ERROR_WRONG_PUBLIC_KEY AcnMessage_StatusBody_St... constant AcnMessage_StatusBody_ERROR_INVALID_PROOF (line 40) | AcnMessage_StatusBody_ERROR_INVALID_PROOF AcnMessage_StatusBody_St... constant AcnMessage_StatusBody_ERROR_UNSUPPORTED_LEDGER (line 41) | AcnMessage_StatusBody_ERROR_UNSUPPORTED_LEDGER AcnMessage_StatusBody_St... constant AcnMessage_StatusBody_ERROR_UNKNOWN_AGENT_ADDRESS (line 43) | AcnMessage_StatusBody_ERROR_UNKNOWN_AGENT_ADDRESS AcnMessage_StatusBody_... constant AcnMessage_StatusBody_ERROR_AGENT_NOT_READY (line 44) | AcnMessage_StatusBody_ERROR_AGENT_NOT_READY AcnMessage_StatusBody_... type AcnMessage (line 104) | type AcnMessage struct method Reset (line 118) | func (x *AcnMessage) Reset() { method String (line 127) | func (x *AcnMessage) String() string { method ProtoMessage (line 131) | func (*AcnMessage) ProtoMessage() {} method ProtoReflect (line 133) | func (x *AcnMessage) ProtoReflect() protoreflect.Message { method Descriptor (line 146) | func (*AcnMessage) Descriptor() ([]byte, []int) { method GetPerformative (line 150) | func (m *AcnMessage) GetPerformative() isAcnMessage_Performative { method GetAeaEnvelope (line 157) | func (x *AcnMessage) GetAeaEnvelope() *AcnMessage_Aea_Envelope_Perform... method GetLookupRequest (line 164) | func (x *AcnMessage) GetLookupRequest() *AcnMessage_Lookup_Request_Per... method GetLookupResponse (line 171) | func (x *AcnMessage) GetLookupResponse() *AcnMessage_Lookup_Response_P... method GetRegister (line 178) | func (x *AcnMessage) GetRegister() *AcnMessage_Register_Performative { method GetStatus (line 185) | func (x *AcnMessage) GetStatus() *AcnMessage_Status_Performative { type isAcnMessage_Performative (line 192) | type isAcnMessage_Performative interface type AcnMessage_AeaEnvelope (line 196) | type AcnMessage_AeaEnvelope struct method isAcnMessage_Performative (line 216) | func (*AcnMessage_AeaEnvelope) isAcnMessage_Performative() {} type AcnMessage_LookupRequest (line 200) | type AcnMessage_LookupRequest struct method isAcnMessage_Performative (line 218) | func (*AcnMessage_LookupRequest) isAcnMessage_Performative() {} type AcnMessage_LookupResponse (line 204) | type AcnMessage_LookupResponse struct method isAcnMessage_Performative (line 220) | func (*AcnMessage_LookupResponse) isAcnMessage_Performative() {} type AcnMessage_Register (line 208) | type AcnMessage_Register struct method isAcnMessage_Performative (line 222) | func (*AcnMessage_Register) isAcnMessage_Performative() {} type AcnMessage_Status (line 212) | type AcnMessage_Status struct method isAcnMessage_Performative (line 224) | func (*AcnMessage_Status) isAcnMessage_Performative() {} type AcnMessage_AgentRecord (line 227) | type AcnMessage_AgentRecord struct method Reset (line 242) | func (x *AcnMessage_AgentRecord) Reset() { method String (line 251) | func (x *AcnMessage_AgentRecord) String() string { method ProtoMessage (line 255) | func (*AcnMessage_AgentRecord) ProtoMessage() {} method ProtoReflect (line 257) | func (x *AcnMessage_AgentRecord) ProtoReflect() protoreflect.Message { method Descriptor (line 270) | func (*AcnMessage_AgentRecord) Descriptor() ([]byte, []int) { method GetServiceId (line 274) | func (x *AcnMessage_AgentRecord) GetServiceId() string { method GetLedgerId (line 281) | func (x *AcnMessage_AgentRecord) GetLedgerId() string { method GetAddress (line 288) | func (x *AcnMessage_AgentRecord) GetAddress() string { method GetPublicKey (line 295) | func (x *AcnMessage_AgentRecord) GetPublicKey() string { method GetPeerPublicKey (line 302) | func (x *AcnMessage_AgentRecord) GetPeerPublicKey() string { method GetSignature (line 309) | func (x *AcnMessage_AgentRecord) GetSignature() string { method GetNotBefore (line 316) | func (x *AcnMessage_AgentRecord) GetNotBefore() string { method GetNotAfter (line 323) | func (x *AcnMessage_AgentRecord) GetNotAfter() string { type AcnMessage_StatusBody (line 330) | type AcnMessage_StatusBody struct method Reset (line 339) | func (x *AcnMessage_StatusBody) Reset() { method String (line 348) | func (x *AcnMessage_StatusBody) String() string { method ProtoMessage (line 352) | func (*AcnMessage_StatusBody) ProtoMessage() {} method ProtoReflect (line 354) | func (x *AcnMessage_StatusBody) ProtoReflect() protoreflect.Message { method Descriptor (line 367) | func (*AcnMessage_StatusBody) Descriptor() ([]byte, []int) { method GetCode (line 371) | func (x *AcnMessage_StatusBody) GetCode() AcnMessage_StatusBody_Status... method GetMsgs (line 378) | func (x *AcnMessage_StatusBody) GetMsgs() []string { type AcnMessage_Register_Performative (line 386) | type AcnMessage_Register_Performative struct method Reset (line 394) | func (x *AcnMessage_Register_Performative) Reset() { method String (line 403) | func (x *AcnMessage_Register_Performative) String() string { method ProtoMessage (line 407) | func (*AcnMessage_Register_Performative) ProtoMessage() {} method ProtoReflect (line 409) | func (x *AcnMessage_Register_Performative) ProtoReflect() protoreflect... method Descriptor (line 422) | func (*AcnMessage_Register_Performative) Descriptor() ([]byte, []int) { method GetRecord (line 426) | func (x *AcnMessage_Register_Performative) GetRecord() *AcnMessage_Age... type AcnMessage_Lookup_Request_Performative (line 433) | type AcnMessage_Lookup_Request_Performative struct method Reset (line 441) | func (x *AcnMessage_Lookup_Request_Performative) Reset() { method String (line 450) | func (x *AcnMessage_Lookup_Request_Performative) String() string { method ProtoMessage (line 454) | func (*AcnMessage_Lookup_Request_Performative) ProtoMessage() {} method ProtoReflect (line 456) | func (x *AcnMessage_Lookup_Request_Performative) ProtoReflect() protor... method Descriptor (line 469) | func (*AcnMessage_Lookup_Request_Performative) Descriptor() ([]byte, [... method GetAgentAddress (line 473) | func (x *AcnMessage_Lookup_Request_Performative) GetAgentAddress() str... type AcnMessage_Lookup_Response_Performative (line 480) | type AcnMessage_Lookup_Response_Performative struct method Reset (line 488) | func (x *AcnMessage_Lookup_Response_Performative) Reset() { method String (line 497) | func (x *AcnMessage_Lookup_Response_Performative) String() string { method ProtoMessage (line 501) | func (*AcnMessage_Lookup_Response_Performative) ProtoMessage() {} method ProtoReflect (line 503) | func (x *AcnMessage_Lookup_Response_Performative) ProtoReflect() proto... method Descriptor (line 516) | func (*AcnMessage_Lookup_Response_Performative) Descriptor() ([]byte, ... method GetRecord (line 520) | func (x *AcnMessage_Lookup_Response_Performative) GetRecord() *AcnMess... type AcnMessage_Aea_Envelope_Performative (line 527) | type AcnMessage_Aea_Envelope_Performative struct method Reset (line 536) | func (x *AcnMessage_Aea_Envelope_Performative) Reset() { method String (line 545) | func (x *AcnMessage_Aea_Envelope_Performative) String() string { method ProtoMessage (line 549) | func (*AcnMessage_Aea_Envelope_Performative) ProtoMessage() {} method ProtoReflect (line 551) | func (x *AcnMessage_Aea_Envelope_Performative) ProtoReflect() protoref... method Descriptor (line 564) | func (*AcnMessage_Aea_Envelope_Performative) Descriptor() ([]byte, []i... method GetEnvelope (line 568) | func (x *AcnMessage_Aea_Envelope_Performative) GetEnvelope() []byte { method GetRecord (line 575) | func (x *AcnMessage_Aea_Envelope_Performative) GetRecord() *AcnMessage... type AcnMessage_Status_Performative (line 582) | type AcnMessage_Status_Performative struct method Reset (line 590) | func (x *AcnMessage_Status_Performative) Reset() { method String (line 599) | func (x *AcnMessage_Status_Performative) String() string { method ProtoMessage (line 603) | func (*AcnMessage_Status_Performative) ProtoMessage() {} method ProtoReflect (line 605) | func (x *AcnMessage_Status_Performative) ProtoReflect() protoreflect.M... method Descriptor (line 618) | func (*AcnMessage_Status_Performative) Descriptor() ([]byte, []int) { method GetBody (line 622) | func (x *AcnMessage_Status_Performative) GetBody() *AcnMessage_StatusB... function file_acn_proto_rawDescGZIP (line 745) | func file_acn_proto_rawDescGZIP() []byte { function init (line 783) | func init() { file_acn_proto_init() } function file_acn_proto_init (line 784) | func file_acn_proto_init() { FILE: packages/fetchai/connections/p2p_libp2p/libp2p_node/utils/utils.go constant maxMessageSizeDelegateConnection (line 63) | maxMessageSizeDelegateConnection = 1024 * 1024 * 3 function SetLoggerLevel (line 84) | func SetLoggerLevel(lvl zerolog.Level) { function ignore (line 88) | func ignore(err error) { function newConsoleLogger (line 98) | func newConsoleLogger() zerolog.Logger { function NewDefaultLogger (line 107) | func NewDefaultLogger() zerolog.Logger { function NewDefaultLoggerWithFields (line 114) | func NewDefaultLoggerWithFields(fields map[string]string) zerolog.Logger { function BootstrapConnect (line 130) | func BootstrapConnect( function ComputeCID (line 203) | func ComputeCID(addr string) (cid.Cid, error) { function GetPeersAddrInfo (line 221) | func GetPeersAddrInfo(peers []string) ([]peer.AddrInfo, error) { function PubKeyFromFetchAIPublicKey (line 239) | func PubKeyFromFetchAIPublicKey(publicKey string) (crypto.PubKey, error) { function FetchAIPublicKeyFromPubKey (line 245) | func FetchAIPublicKeyFromPubKey(publicKey crypto.PubKey) (string, error) { function BTCPubKeyFromFetchAIPublicKey (line 254) | func BTCPubKeyFromFetchAIPublicKey(publicKey string) (*btcec.PublicKey, ... function BTCPubKeyFromEthereumPublicKey (line 265) | func BTCPubKeyFromEthereumPublicKey(publicKey string) (*btcec.PublicKey,... function ConvertStrEncodedSignatureToDER (line 273) | func ConvertStrEncodedSignatureToDER(signature []byte) []byte { function ConvertDEREncodedSignatureToStr (line 293) | func ConvertDEREncodedSignatureToStr(signature []byte) ([]byte, error) { function ParseFetchAISignature (line 302) | func ParseFetchAISignature(signature string) (*btcec.Signature, error) { function VerifyLedgerSignature (line 316) | func VerifyLedgerSignature( function VerifyFetchAISignatureBTC (line 330) | func VerifyFetchAISignatureBTC(message []byte, signature string, pubkey ... function VerifyFetchAISignatureLibp2p (line 354) | func VerifyFetchAISignatureLibp2p(message []byte, signature string, pubk... function SignFetchAI (line 373) | func SignFetchAI(message []byte, privKey string) (string, error) { function signHashETH (line 390) | func signHashETH(data []byte) []byte { function RecoverAddressFromEthereumSignature (line 399) | func RecoverAddressFromEthereumSignature(message []byte, signature strin... function VerifyEthereumSignatureETH (line 421) | func VerifyEthereumSignatureETH(message []byte, signature string, pubkey... function KeyPairFromFetchAIKey (line 442) | func KeyPairFromFetchAIKey(key string) (crypto.PrivKey, crypto.PubKey, e... function AgentAddressFromPublicKey (line 459) | func AgentAddressFromPublicKey(ledgerID string, publicKey string) (strin... function FetchAIAddressFromPublicKey (line 467) | func FetchAIAddressFromPublicKey(publicKey string) (string, error) { function CosmosAddressFromPublicKey (line 472) | func CosmosAddressFromPublicKey(publicKey string) (string, error) { function cosmosAddressFromPublicKeyWithPrefix (line 478) | func cosmosAddressFromPublicKeyWithPrefix(prefix string, publicKey strin... function EthereumAddressFromPublicKey (line 509) | func EthereumAddressFromPublicKey(publicKey string) (string, error) { function encodeChecksumEIP55 (line 528) | func encodeChecksumEIP55(address []byte) string { function IDFromFetchAIPublicKey (line 551) | func IDFromFetchAIPublicKey(publicKey string) (peer.ID, error) { function BTCPubKeyFromUncompressedHex (line 571) | func BTCPubKeyFromUncompressedHex(publicKey string) (*btcec.PublicKey, e... function IDFromFetchAIPublicKeyUncompressed (line 585) | func IDFromFetchAIPublicKeyUncompressed(publicKey string) (peer.ID, erro... function FetchAIPublicKeyFromFetchAIPrivateKey (line 600) | func FetchAIPublicKeyFromFetchAIPrivateKey(privateKey string) (string, e... function WriteBytesConn (line 615) | func WriteBytesConn(conn net.Conn, data []byte) error { function ReadBytesConn (line 635) | func ReadBytesConn(conn net.Conn) ([]byte, error) { function WriteEnvelopeConn (line 653) | func WriteEnvelopeConn(conn net.Conn, envelope *aea.Envelope) error { function ReadEnvelopeConn (line 662) | func ReadEnvelopeConn(conn net.Conn) (*aea.Envelope, error) { function ReadBytes (line 673) | func ReadBytes(s network.Stream) ([]byte, error) { function WriteBytes (line 703) | func WriteBytes(s network.Stream, data []byte) error { type ConnPipe (line 747) | type ConnPipe struct method Connect (line 751) | func (conPipe ConnPipe) Connect() error { method Read (line 754) | func (conPipe ConnPipe) Read() ([]byte, error) { method Write (line 757) | func (conPipe ConnPipe) Write(data []byte) error { method Close (line 760) | func (conPipe ConnPipe) Close() error { type StreamPipe (line 764) | type StreamPipe struct method Connect (line 768) | func (streamPipe StreamPipe) Connect() error { method Read (line 771) | func (streamPipe StreamPipe) Read() ([]byte, error) { method Write (line 774) | func (streamPipe StreamPipe) Write(data []byte) error { method Close (line 777) | func (streamPipe StreamPipe) Close() error { FILE: packages/fetchai/connections/p2p_libp2p/libp2p_node/utils/utils_test.go function TestEthereumCrypto (line 46) | func TestEthereumCrypto(t *testing.T) { function TestFetchAICrypto (line 88) | func TestFetchAICrypto(t *testing.T) { function TestSetLoggerLevel (line 119) | func TestSetLoggerLevel(t *testing.T) { function Example_ignore (line 135) | func Example_ignore() { function TestNewDefaultLoggerWithFields (line 140) | func TestNewDefaultLoggerWithFields(t *testing.T) { function TestComputeCID (line 153) | func TestComputeCID(t *testing.T) { function TestWriteBytes (line 160) | func TestWriteBytes(t *testing.T) { function TestReadBytesConn (line 176) | func TestReadBytesConn(t *testing.T) { function TestWriteBytesConn (line 186) | func TestWriteBytesConn(t *testing.T) { function TestReadWriteEnvelopeFromConnection (line 195) | func TestReadWriteEnvelopeFromConnection(t *testing.T) { function TestGetPeersAddrInfo (line 231) | func TestGetPeersAddrInfo(t *testing.T) { function TestFetchAIPublicKeyFromPubKey (line 241) | func TestFetchAIPublicKeyFromPubKey(t *testing.T) { function TestIDFromFetchAIPublicKey (line 252) | func TestIDFromFetchAIPublicKey(t *testing.T) { function TestAgentAddressFromPublicKey (line 264) | func TestAgentAddressFromPublicKey(t *testing.T) { function TestCosmosAddressFromPublicKey (line 273) | func TestCosmosAddressFromPublicKey(t *testing.T) { function TestFetchAIPublicKeyFromFetchAIPrivateKey (line 281) | func TestFetchAIPublicKeyFromFetchAIPrivateKey(t *testing.T) { function TestIDFromFetchAIPublicKeyUncompressed (line 289) | func TestIDFromFetchAIPublicKeyUncompressed(t *testing.T) { function TestSignFetchAI (line 307) | func TestSignFetchAI(t *testing.T) { function TestBootstrapConnect (line 326) | func TestBootstrapConnect(t *testing.T) { FILE: packages/fetchai/connections/p2p_libp2p_client/connection.py class NodeClient (line 70) | class NodeClient: method __init__ (line 75) | def __init__(self, pipe: IPCChannelClient, node_por: AgentRecord) -> N... method wait_for_status (line 81) | async def wait_for_status(self) -> Any: method make_acn_envelope_message (line 88) | def make_acn_envelope_message(envelope: Envelope) -> bytes: method write_acn_status_ok (line 97) | async def write_acn_status_ok(self) -> None: method write_acn_status_error (line 111) | async def write_acn_status_error( method connect (line 129) | async def connect(self) -> bool: method send_envelope (line 133) | async def send_envelope(self, envelope: Envelope) -> None: method make_agent_record (line 152) | def make_agent_record(self) -> AcnMessage.AgentRecord: # type: ignore method read_envelope (line 164) | async def read_envelope(self) -> Optional[Envelope]: method _write (line 208) | async def _write(self, data: bytes) -> None: method _read (line 216) | async def _read(self) -> Optional[bytes]: method register (line 224) | async def register( method close (line 264) | async def close(self) -> None: class P2PLibp2pClientConnection (line 269) | class P2PLibp2pClientConnection(Connection): method __init__ (line 282) | def __init__(self, **kwargs: Any) -> None: method _send_loop (line 369) | async def _send_loop(self) -> None: method _send_envelope_with_node_client (line 387) | async def _send_envelope_with_node_client(self, envelope: Envelope) ->... method connect (line 402) | async def connect(self) -> None: method _perform_connection_to_node (line 419) | async def _perform_connection_to_node(self) -> None: method _setup_connection (line 471) | async def _setup_connection(self) -> None: method disconnect (line 478) | async def disconnect(self) -> None: method receive (line 511) | async def receive(self, *args: Any, **kwargs: Any) -> Optional["Envelo... method send (line 535) | async def send(self, envelope: Envelope) -> None: method _read_envelope_from_node (line 547) | async def _read_envelope_from_node(self) -> Optional[Envelope]: method _process_messages (line 576) | async def _process_messages(self) -> None: class TCPSocketChannelClientTLS (line 590) | class TCPSocketChannelClientTLS(TCPSocketChannelClient): method __init__ (line 595) | def __init__( method _get_session_pub_key (line 623) | def _get_session_pub_key(writer: StreamWriter) -> bytes: # pragma: no... method _open_connection (line 633) | async def _open_connection(self) -> TCPSocketProtocol: method _open_tls_connection (line 658) | async def _open_tls_connection(self) -> TCPSocketProtocol: method _verify_session_key_signature (line 674) | def _verify_session_key_signature( FILE: packages/fetchai/connections/p2p_libp2p_mailbox/connection.py class NodeClient (line 71) | class NodeClient: method __init__ (line 76) | def __init__(self, node_uri: Uri, node_por: AgentRecord) -> None: method connect (line 83) | async def connect(self) -> bool: method send_envelope (line 92) | async def send_envelope(self, envelope: Envelope) -> None: method _perform_http_request (line 110) | async def _perform_http_request( method make_agent_record (line 120) | def make_agent_record(self) -> AcnMessage.AgentRecord: # type: ignore method read_envelope (line 132) | async def read_envelope(self) -> Optional[Envelope]: method register (line 150) | async def register(self) -> None: method close (line 171) | async def close(self) -> None: class P2PLibp2pMailboxConnection (line 185) | class P2PLibp2pMailboxConnection(Connection): method __init__ (line 198) | def __init__(self, **kwargs: Any) -> None: method _send_loop (line 285) | async def _send_loop(self) -> None: method _send_envelope_with_node_client (line 303) | async def _send_envelope_with_node_client(self, envelope: Envelope) ->... method connect (line 318) | async def connect(self) -> None: method _perform_connection_to_node (line 335) | async def _perform_connection_to_node(self) -> None: method _setup_connection (line 376) | async def _setup_connection(self) -> None: method disconnect (line 383) | async def disconnect(self) -> None: method receive (line 416) | async def receive(self, *args: Any, **kwargs: Any) -> Optional["Envelo... method send (line 440) | async def send(self, envelope: Envelope) -> None: method _read_envelope_from_node (line 452) | async def _read_envelope_from_node(self) -> Optional[Envelope]: method _process_messages (line 481) | async def _process_messages(self) -> None: class SSLValidator (line 495) | class SSLValidator: method __init__ (line 498) | def __init__( method check (line 518) | async def check(self) -> ssl.SSLContext: method get_signature (line 529) | async def get_signature(self, ssl_ctx: ssl.SSLContext) -> bytes: method _get_session_pub_key (line 545) | def _get_session_pub_key(writer: StreamWriter) -> bytes: # pragma: no... method get_ssl_ctx_and_session_pub_key (line 555) | async def get_ssl_ctx_and_session_pub_key( method _verify_session_key_signature (line 576) | def _verify_session_key_signature( FILE: packages/fetchai/connections/p2p_stub/connection.py class P2PStubConnection (line 36) | class P2PStubConnection(StubConnection): method __init__ (line 47) | def __init__( method send (line 73) | async def send(self, envelope: Envelope) -> None: method disconnect (line 89) | async def disconnect(self) -> None: method _cleanup (line 96) | def _cleanup(self) -> None: FILE: packages/fetchai/connections/prometheus/connection.py class PrometheusDialogues (line 50) | class PrometheusDialogues(BasePrometheusDialogues): method __init__ (line 53) | def __init__(self, **kwargs: Any) -> None: class PrometheusChannel (line 80) | class PrometheusChannel: method __init__ (line 83) | def __init__( method _get_message_and_dialogue (line 108) | def _get_message_and_dialogue( method queue (line 123) | def queue(self) -> asyncio.Queue: method connect (line 129) | async def connect(self) -> None: method send (line 137) | async def send(self, envelope: Envelope) -> None: method _handle_prometheus_message (line 154) | async def _handle_prometheus_message(self, envelope: Envelope) -> None: method _handle_add_metric (line 191) | async def _handle_add_metric(self, message: PrometheusMessage) -> Tupl... method _handle_update_metric (line 217) | async def _handle_update_metric( method _send (line 251) | async def _send(self, envelope: Envelope) -> None: method disconnect (line 258) | async def disconnect(self) -> None: method get (line 265) | async def get(self) -> Optional[Envelope]: class PrometheusConnection (line 270) | class PrometheusConnection(Connection): method __init__ (line 275) | def __init__(self, **kwargs: Any) -> None: method connect (line 289) | async def connect(self) -> None: method disconnect (line 300) | async def disconnect(self) -> None: method send (line 309) | async def send(self, envelope: Envelope) -> None: method receive (line 318) | async def receive(self, *args: Any, **kwargs: Any) -> Optional["Envelo... FILE: packages/fetchai/connections/soef/connection.py class ModelNames (line 85) | class ModelNames(Enum): class SOEFException (line 97) | class SOEFException(Exception): method warning (line 101) | def warning( method debug (line 109) | def debug( method error (line 117) | def error( method exception (line 125) | def exception( class BaseHandledException (line 136) | class BaseHandledException(Exception): method __init__ (line 141) | def __init__(self, exc: Union[Exception, str]) -> None: method __repr__ (line 146) | def __repr__(self) -> str: method __str__ (line 150) | def __str__(self) -> str: class SOEFNetworkConnectionError (line 155) | class SOEFNetworkConnectionError(BaseHandledException): class SOEFServerBadResponseError (line 161) | class SOEFServerBadResponseError(BaseHandledException): class OefSearchDialogues (line 167) | class OefSearchDialogues(BaseOefSearchDialogues): method __init__ (line 170) | def __init__(self) -> None: class SOEFChannel (line 193) | class SOEFChannel: method __init__ (line 209) | def __init__( method unique_page_address (line 280) | def unique_page_address(self) -> Optional[str]: method unique_page_address (line 288) | def unique_page_address(self, unique_page_address: Optional[str]) -> N... method _get_unique_page_address_from_storage (line 293) | def _get_unique_page_address_from_storage(self) -> Optional[str]: method _set_unique_page_address_to_storage (line 304) | def _set_unique_page_address_to_storage( method _find_around_me_processor (line 315) | async def _find_around_me_processor(self) -> None: method loop (line 363) | def loop(self) -> asyncio.AbstractEventLoop: method _is_compatible_query (line 370) | def _is_compatible_query(query: Query) -> bool: method _construct_personality_filter_params (line 390) | def _construct_personality_filter_params( method _construct_service_key_filter_params (line 413) | def _construct_service_key_filter_params( method send (line 437) | async def send(self, envelope: Envelope) -> None: method _request_text (line 445) | async def _request_text(self, *args: Any, **kwargs: Any) -> str: method process_envelope (line 467) | async def process_envelope(self, envelope: Envelope) -> None: method register_service (line 535) | async def register_service( method _ping_handler (line 563) | async def _ping_handler( method _generic_command_handler (line 580) | async def _generic_command_handler( method _ping_command (line 612) | async def _ping_command(self) -> None: method _ping_periodic (line 616) | async def _ping_periodic(self, period: float = 30 * 60) -> None: method _set_service_key_handler (line 635) | async def _set_service_key_handler( method _parse_soef_response (line 660) | def _parse_soef_response( method _generic_oef_command (line 686) | async def _generic_oef_command( method _set_service_key (line 727) | async def _set_service_key(self, key: str, value: Union[str, int, floa... method _remove_service_key_handler (line 738) | async def _remove_service_key_handler( method _remove_service_key (line 760) | async def _remove_service_key(self, key: str) -> None: method _register_location_handler (line 768) | async def _register_location_handler( method _send_success_response (line 807) | async def _send_success_response( method _check_data_model (line 833) | def _check_data_model( method _set_location (line 849) | async def _set_location( method _set_personality_piece_handler (line 874) | async def _set_personality_piece_handler( method _set_personality_piece (line 897) | async def _set_personality_piece(self, piece: str, value: str) -> None: method _register_agent (line 910) | async def _register_agent(self) -> None: method start_periodic_ping_task (line 959) | def start_periodic_ping_task(self) -> None: method _send_error_response (line 966) | async def _send_error_response( method unregister_service (line 993) | async def unregister_service( method _unregister_agent (line 1021) | async def _unregister_agent( method _stop_periodic_ping_task (line 1061) | async def _stop_periodic_ping_task(self) -> None: method _check_server_reachable (line 1070) | async def _check_server_reachable(self) -> None: method connect (line 1084) | async def connect(self) -> None: method disconnect (line 1116) | async def disconnect(self) -> None: method search_services (line 1136) | async def search_services( method _find_around_me (line 1176) | async def _find_around_me( method _find_around_me_handle_request (line 1197) | async def _find_around_me_handle_request( class SOEFConnection (line 1261) | class SOEFConnection(Connection): method __init__ (line 1268) | def __init__(self, **kwargs: Any) -> None: method connect (line 1323) | async def connect(self) -> None: method in_queue (line 1336) | def in_queue(self) -> Optional[asyncio.Queue]: method disconnect (line 1340) | async def disconnect(self) -> None: method receive (line 1350) | async def receive(self, *args: Any, **kwargs: Any) -> Optional["Envelo... method send (line 1374) | async def send(self, envelope: "Envelope") -> None: FILE: packages/fetchai/connections/stub/connection.py class StubConnection (line 50) | class StubConnection(Connection): method __init__ (line 86) | def __init__(self, **kwargs: Any): method _open_files (line 117) | def _open_files(self) -> None: method _close_files (line 126) | def _close_files(self) -> None: method _file_read_and_trunc (line 134) | async def _file_read_and_trunc(self, delay: float = 0.001) -> AsyncIte... method read_envelopes (line 158) | async def read_envelopes(self) -> None: method _split_messages (line 177) | def _split_messages(cls, data: bytes) -> List[bytes]: method receive (line 187) | async def receive(self, *args: Any, **kwargs: Any) -> Optional["Envelo... method connect (line 204) | async def connect(self) -> None: method _stop_read_envelopes (line 214) | async def _stop_read_envelopes(self) -> None: method disconnect (line 235) | async def disconnect(self) -> None: method send (line 254) | async def send(self, envelope: Envelope) -> None: FILE: packages/fetchai/connections/tcp/base.py class TCPConnection (line 37) | class TCPConnection(Connection, ABC): method __init__ (line 42) | def __init__(self, host: str, port: int, **kwargs: Any) -> None: method setup (line 57) | async def setup(self) -> None: method teardown (line 61) | async def teardown(self) -> None: method select_writer_from_envelope (line 65) | def select_writer_from_envelope(self, envelope: Envelope) -> Optional[... method connect (line 73) | async def connect(self) -> None: method disconnect (line 87) | async def disconnect(self) -> None: method _recv (line 97) | async def _recv(self, reader: StreamReader) -> Optional[bytes]: method _send (line 110) | async def _send(self, writer: StreamWriter, data: bytes) -> None: method send (line 121) | async def send(self, envelope: Envelope) -> None: FILE: packages/fetchai/connections/tcp/tcp_client.py class TCPClientConnection (line 43) | class TCPClientConnection(TCPConnection): method __init__ (line 46) | def __init__(self, configuration: ConnectionConfig, **kwargs: Any) -> ... method setup (line 63) | async def setup(self) -> None: method teardown (line 69) | async def teardown(self) -> None: method receive (line 84) | async def receive(self, *args: Any, **kwargs: Any) -> Optional["Envelo... method select_writer_from_envelope (line 115) | def select_writer_from_envelope(self, envelope: Envelope) -> Optional[... FILE: packages/fetchai/connections/tcp/tcp_server.py class TCPServerConnection (line 39) | class TCPServerConnection(TCPConnection): method __init__ (line 42) | def __init__(self, configuration: ConnectionConfig, **kwargs: Any) -> ... method handle (line 59) | async def handle(self, reader: StreamReader, writer: StreamWriter) -> ... method receive (line 76) | async def receive(self, *args: Any, **kwargs: Any) -> Optional["Envelo... method setup (line 113) | async def setup(self) -> None: method teardown (line 120) | async def teardown(self) -> None: method select_writer_from_envelope (line 134) | def select_writer_from_envelope(self, envelope: Envelope) -> Optional[... FILE: packages/fetchai/connections/webhook/connection.py class HttpDialogues (line 52) | class HttpDialogues(BaseHttpDialogues): method __init__ (line 55) | def __init__(self, **kwargs: Any) -> None: class WebhookChannel (line 82) | class WebhookChannel: method __init__ (line 85) | def __init__( method connect (line 125) | async def connect(self) -> None: method disconnect (line 144) | async def disconnect(self) -> None: method _receive_webhook (line 164) | async def _receive_webhook(self, request: web.Request) -> web.Response: method send (line 177) | async def send(self, envelope: Envelope) -> None: method to_envelope (line 191) | async def to_envelope(self, request: web.Request) -> Envelope: class WebhookConnection (line 218) | class WebhookConnection(Connection): method __init__ (line 223) | def __init__(self, **kwargs: Any) -> None: method connect (line 254) | async def connect(self) -> None: method disconnect (line 264) | async def disconnect(self) -> None: method send (line 273) | async def send(self, envelope: "Envelope") -> None: method receive (line 284) | async def receive(self, *args: Any, **kwargs: Any) -> Optional["Envelo... FILE: packages/fetchai/contracts/erc1155/contract.py function keccak256 (line 49) | def keccak256(input_: bytes) -> bytes: class ERC1155Contract (line 54) | class ERC1155Contract(Contract): method generate_token_ids (line 60) | def generate_token_ids( method _generate_id (line 79) | def _generate_id(index: int, token_type: int) -> int: method get_create_batch_transaction (line 91) | def get_create_batch_transaction( # pylint: disable=unused-argument method get_create_single_transaction (line 150) | def get_create_single_transaction( method get_mint_batch_transaction (line 209) | def get_mint_batch_transaction( method validate_mint_quantities (line 277) | def validate_mint_quantities( method decode_id (line 301) | def decode_id(token_id: int) -> int: method get_mint_single_transaction (line 312) | def get_mint_single_transaction( method get_balance (line 376) | def get_balance( method get_atomic_swap_single_transaction (line 411) | def get_atomic_swap_single_transaction( method get_balances (line 594) | def get_balances( method get_atomic_swap_batch_transaction (line 639) | def get_atomic_swap_batch_transaction( method get_hash_single (line 826) | def get_hash_single( method _get_hash_single (line 885) | def _get_hash_single( method get_hash_batch (line 921) | def get_hash_batch( method _get_hash_batch (line 980) | def _get_hash_batch( method generate_trade_nonce (line 1032) | def generate_trade_nonce( FILE: packages/fetchai/contracts/fet_erc20/contract.py class FetERC20 (line 37) | class FetERC20(Contract): method get_approve_transaction (line 43) | def get_approve_transaction( method get_transfer_transaction (line 80) | def get_transfer_transaction( FILE: packages/fetchai/contracts/oracle/contract.py function keccak256 (line 37) | def keccak256(input_: bytes) -> bytes: class FetchOracleContract (line 47) | class FetchOracleContract(Contract): method get_grant_role_transaction (line 51) | def get_grant_role_transaction( method get_update_transaction (line 94) | def get_update_transaction( FILE: packages/fetchai/contracts/oracle_client/contract.py class FetchOracleClientContract (line 41) | class FetchOracleClientContract(Contract): method get_query_transaction (line 45) | def get_query_transaction( FILE: packages/fetchai/contracts/staking_erc20/contract.py class StakingERC20 (line 39) | class StakingERC20(Contract): method get_stake (line 45) | def get_stake( FILE: packages/fetchai/protocols/acn/custom_types.py class AgentRecord (line 28) | class AgentRecord: method __init__ (line 46) | def __init__( method address (line 64) | def address(self) -> str: method public_key (line 69) | def public_key(self) -> str: method peer_public_key (line 74) | def peer_public_key(self) -> str: method signature (line 79) | def signature(self) -> str: method service_id (line 84) | def service_id(self) -> SimpleIdOrStr: method ledger_id (line 89) | def ledger_id(self) -> SimpleIdOrStr: method encode (line 94) | def encode( method decode (line 115) | def decode(cls, agent_record_protobuf_object: Any) -> "AgentRecord": method __eq__ (line 134) | def __eq__(self, other: Any) -> bool: class StatusBody (line 143) | class StatusBody: class StatusCode (line 151) | class StatusCode(Enum): method __int__ (line 168) | def __int__(self) -> int: method __init__ (line 172) | def __init__(self, status_code: StatusCode, msgs: List[str]) -> None: method status_code (line 178) | def status_code(self) -> "StatusCode": method msgs (line 183) | def msgs(self) -> List[str]: method encode (line 188) | def encode( method decode (line 203) | def decode(cls, status_body_protobuf_object: Any) -> "StatusBody": method __eq__ (line 218) | def __eq__(self, other: Any) -> bool: FILE: packages/fetchai/protocols/acn/dialogues.py class AcnDialogue (line 37) | class AcnDialogue(Dialogue): class Role (line 62) | class Role(Dialogue.Role): class EndState (line 67) | class EndState(Dialogue.EndState): method __init__ (line 73) | def __init__( class AcnDialogues (line 97) | class AcnDialogues(Dialogues, ABC): method __init__ (line 106) | def __init__( FILE: packages/fetchai/protocols/acn/message.py class AcnMessage (line 39) | class AcnMessage(Message): class Performative (line 49) | class Performative(Message.Performative): method __str__ (line 58) | def __str__(self) -> str: class _SlotsCls (line 71) | class _SlotsCls: method __init__ (line 83) | def __init__( method valid_performatives (line 109) | def valid_performatives(self) -> Set[str]: method dialogue_reference (line 114) | def dialogue_reference(self) -> Tuple[str, str]: method message_id (line 120) | def message_id(self) -> int: method performative (line 126) | def performative(self) -> Performative: # type: ignore # noqa: F821 method target (line 132) | def target(self) -> int: method agent_address (line 138) | def agent_address(self) -> str: method body (line 144) | def body(self) -> CustomStatusBody: method envelope (line 150) | def envelope(self) -> bytes: method record (line 156) | def record(self) -> CustomAgentRecord: method _is_consistent (line 161) | def _is_consistent(self) -> bool: FILE: packages/fetchai/protocols/acn/serialization.py class AcnSerializer (line 34) | class AcnSerializer(Serializer): method encode (line 38) | def encode(msg: Message) -> bytes: method decode (line 94) | def decode(obj: bytes) -> Message: FILE: packages/fetchai/protocols/aggregation/dialogues.py class AggregationDialogue (line 37) | class AggregationDialogue(Dialogue): class Role (line 57) | class Role(Dialogue.Role): class EndState (line 62) | class EndState(Dialogue.EndState): method __init__ (line 68) | def __init__( class AggregationDialogues (line 92) | class AggregationDialogues(Dialogues, ABC): method __init__ (line 101) | def __init__( FILE: packages/fetchai/protocols/aggregation/message.py class AggregationMessage (line 38) | class AggregationMessage(Message): class Performative (line 44) | class Performative(Message.Performative): method __str__ (line 50) | def __str__(self) -> str: class _SlotsCls (line 57) | class _SlotsCls: method __init__ (line 70) | def __init__( method valid_performatives (line 96) | def valid_performatives(self) -> Set[str]: method dialogue_reference (line 101) | def dialogue_reference(self) -> Tuple[str, str]: method message_id (line 107) | def message_id(self) -> int: method performative (line 113) | def performative(self) -> Performative: # type: ignore # noqa: F821 method target (line 119) | def target(self) -> int: method contributors (line 125) | def contributors(self) -> Tuple[str, ...]: method signature (line 131) | def signature(self) -> str: method source (line 137) | def source(self) -> str: method time (line 143) | def time(self) -> str: method value (line 149) | def value(self) -> int: method _is_consistent (line 154) | def _is_consistent(self) -> bool: FILE: packages/fetchai/protocols/aggregation/serialization.py class AggregationSerializer (line 33) | class AggregationSerializer(Serializer): method encode (line 37) | def encode(msg: Message) -> bytes: method decode (line 88) | def decode(obj: bytes) -> Message: FILE: packages/fetchai/protocols/contract_api/custom_types.py class Kwargs (line 37) | class Kwargs: method __init__ (line 42) | def __init__( method _check_consistency (line 50) | def _check_consistency(self) -> None: method body (line 59) | def body(self) -> JSONLike: method encode (line 64) | def encode(kwargs_protobuf_object: Any, kwargs_object: "Kwargs") -> None: method decode (line 78) | def decode(cls, kwargs_protobuf_object: Any) -> "Kwargs": method __eq__ (line 90) | def __eq__(self, other: Any) -> bool: method __str__ (line 94) | def __str__(self) -> str: FILE: packages/fetchai/protocols/contract_api/dialogues.py class ContractApiDialogue (line 37) | class ContractApiDialogue(Dialogue): class Role (line 87) | class Role(Dialogue.Role): class EndState (line 93) | class EndState(Dialogue.EndState): method __init__ (line 99) | def __init__( class ContractApiDialogues (line 123) | class ContractApiDialogues(Dialogues, ABC): method __init__ (line 132) | def __init__( FILE: packages/fetchai/protocols/contract_api/message.py class ContractApiMessage (line 47) | class ContractApiMessage(Message): class Performative (line 61) | class Performative(Message.Performative): method __str__ (line 73) | def __str__(self) -> str: class _SlotsCls (line 89) | class _SlotsCls: method __init__ (line 108) | def __init__( method valid_performatives (line 134) | def valid_performatives(self) -> Set[str]: method dialogue_reference (line 139) | def dialogue_reference(self) -> Tuple[str, str]: method message_id (line 145) | def message_id(self) -> int: method performative (line 151) | def performative(self) -> Performative: # type: ignore # noqa: F821 method target (line 157) | def target(self) -> int: method callable (line 163) | def callable(self) -> str: method code (line 169) | def code(self) -> Optional[int]: method contract_address (line 174) | def contract_address(self) -> str: method contract_id (line 182) | def contract_id(self) -> str: method data (line 188) | def data(self) -> bytes: method kwargs (line 194) | def kwargs(self) -> CustomKwargs: method ledger_id (line 200) | def ledger_id(self) -> str: method message (line 206) | def message(self) -> Optional[str]: method raw_message (line 211) | def raw_message(self) -> CustomRawMessage: method raw_transaction (line 217) | def raw_transaction(self) -> CustomRawTransaction: method state (line 223) | def state(self) -> CustomState: method _is_consistent (line 228) | def _is_consistent(self) -> bool: FILE: packages/fetchai/protocols/contract_api/serialization.py class ContractApiSerializer (line 39) | class ContractApiSerializer(Serializer): method encode (line 43) | def encode(msg: Message) -> bytes: method decode (line 150) | def decode(obj: bytes) -> Message: FILE: packages/fetchai/protocols/cosm_trade/dialogues.py class CosmTradeDialogue (line 37) | class CosmTradeDialogue(Dialogue): class Role (line 63) | class Role(Dialogue.Role): class EndState (line 68) | class EndState(Dialogue.EndState): method __init__ (line 74) | def __init__( class CosmTradeDialogues (line 98) | class CosmTradeDialogues(Dialogues, ABC): method __init__ (line 107) | def __init__( FILE: packages/fetchai/protocols/cosm_trade/message.py class CosmTradeMessage (line 40) | class CosmTradeMessage(Message): class Performative (line 48) | class Performative(Message.Performative): method __str__ (line 56) | def __str__(self) -> str: class _SlotsCls (line 63) | class _SlotsCls: method __init__ (line 77) | def __init__( method valid_performatives (line 103) | def valid_performatives(self) -> Set[str]: method dialogue_reference (line 108) | def dialogue_reference(self) -> Tuple[str, str]: method message_id (line 114) | def message_id(self) -> int: method performative (line 120) | def performative(self) -> Performative: # type: ignore # noqa: F821 method target (line 126) | def target(self) -> int: method code (line 132) | def code(self) -> int: method data (line 138) | def data(self) -> Optional[bytes]: method fipa_dialogue_id (line 143) | def fipa_dialogue_id(self) -> Optional[Tuple[str, ...]]: method message (line 148) | def message(self) -> Optional[str]: method public_key (line 153) | def public_key(self) -> str: method signed_transaction (line 159) | def signed_transaction(self) -> CustomSignedTransaction: method _is_consistent (line 167) | def _is_consistent(self) -> bool: FILE: packages/fetchai/protocols/cosm_trade/serialization.py class CosmTradeSerializer (line 34) | class CosmTradeSerializer(Serializer): method encode (line 38) | def encode(msg: Message) -> bytes: method decode (line 99) | def decode(obj: bytes) -> Message: FILE: packages/fetchai/protocols/default/custom_types.py class ErrorCode (line 26) | class ErrorCode(Enum): method encode (line 36) | def encode(error_code_protobuf_object: Any, error_code_object: "ErrorC... method decode (line 48) | def decode(cls, error_code_protobuf_object: Any) -> "ErrorCode": FILE: packages/fetchai/protocols/default/dialogues.py class DefaultDialogue (line 37) | class DefaultDialogue(Dialogue): class Role (line 58) | class Role(Dialogue.Role): class EndState (line 63) | class EndState(Dialogue.EndState): method __init__ (line 69) | def __init__( class DefaultDialogues (line 93) | class DefaultDialogues(Dialogues, ABC): method __init__ (line 102) | def __init__( FILE: packages/fetchai/protocols/default/message.py class DefaultMessage (line 38) | class DefaultMessage(Message): class Performative (line 46) | class Performative(Message.Performative): method __str__ (line 53) | def __str__(self) -> str: class _SlotsCls (line 60) | class _SlotsCls: method __init__ (line 72) | def __init__( method valid_performatives (line 98) | def valid_performatives(self) -> Set[str]: method dialogue_reference (line 103) | def dialogue_reference(self) -> Tuple[str, str]: method message_id (line 109) | def message_id(self) -> int: method performative (line 115) | def performative(self) -> Performative: # type: ignore # noqa: F821 method target (line 121) | def target(self) -> int: method content (line 127) | def content(self) -> bytes: method error_code (line 133) | def error_code(self) -> CustomErrorCode: method error_data (line 139) | def error_data(self) -> Dict[str, bytes]: method error_msg (line 145) | def error_msg(self) -> str: method _is_consistent (line 150) | def _is_consistent(self) -> bool: FILE: packages/fetchai/protocols/default/serialization.py class DefaultSerializer (line 34) | class DefaultSerializer(Serializer): method encode (line 38) | def encode(msg: Message) -> bytes: method decode (line 84) | def decode(obj: bytes) -> Message: FILE: packages/fetchai/protocols/fipa/dialogues.py class FipaDialogue (line 37) | class FipaDialogue(Dialogue): class Role (line 85) | class Role(Dialogue.Role): class EndState (line 91) | class EndState(Dialogue.EndState): method __init__ (line 99) | def __init__( class FipaDialogues (line 123) | class FipaDialogues(Dialogues, ABC): method __init__ (line 137) | def __init__( FILE: packages/fetchai/protocols/fipa/message.py class FipaMessage (line 41) | class FipaMessage(Message): class Performative (line 51) | class Performative(Message.Performative): method __str__ (line 64) | def __str__(self) -> str: class _SlotsCls (line 81) | class _SlotsCls: method __init__ (line 92) | def __init__( method valid_performatives (line 118) | def valid_performatives(self) -> Set[str]: method dialogue_reference (line 123) | def dialogue_reference(self) -> Tuple[str, str]: method message_id (line 129) | def message_id(self) -> int: method performative (line 135) | def performative(self) -> Performative: # type: ignore # noqa: F821 method target (line 141) | def target(self) -> int: method info (line 147) | def info(self) -> Dict[str, str]: method proposal (line 153) | def proposal(self) -> CustomDescription: method query (line 159) | def query(self) -> CustomQuery: method _is_consistent (line 164) | def _is_consistent(self) -> bool: FILE: packages/fetchai/protocols/fipa/serialization.py class FipaSerializer (line 34) | class FipaSerializer(Serializer): method encode (line 38) | def encode(msg: Message) -> bytes: method decode (line 104) | def decode(obj: bytes) -> Message: FILE: packages/fetchai/protocols/gym/custom_types.py class AnyObject (line 26) | class AnyObject: method __init__ (line 31) | def __init__(self, _any: Any): method encode (line 36) | def encode(any_object_protobuf_object: Any, any_object_object: "AnyObj... method decode (line 48) | def decode(cls, any_object_protobuf_object: Any) -> "AnyObject": method __eq__ (line 59) | def __eq__(self, other: Any) -> bool: FILE: packages/fetchai/protocols/gym/dialogues.py class GymDialogue (line 37) | class GymDialogue(Dialogue): class Role (line 66) | class Role(Dialogue.Role): class EndState (line 72) | class EndState(Dialogue.EndState): method __init__ (line 77) | def __init__( class GymDialogues (line 101) | class GymDialogues(Dialogues, ABC): method __init__ (line 108) | def __init__( FILE: packages/fetchai/protocols/gym/message.py class GymMessage (line 38) | class GymMessage(Message): class Performative (line 46) | class Performative(Message.Performative): method __str__ (line 55) | def __str__(self) -> str: class _SlotsCls (line 62) | class _SlotsCls: method __init__ (line 77) | def __init__( method valid_performatives (line 103) | def valid_performatives(self) -> Set[str]: method dialogue_reference (line 108) | def dialogue_reference(self) -> Tuple[str, str]: method message_id (line 114) | def message_id(self) -> int: method performative (line 120) | def performative(self) -> Performative: # type: ignore # noqa: F821 method target (line 126) | def target(self) -> int: method action (line 132) | def action(self) -> CustomAnyObject: method content (line 138) | def content(self) -> Dict[str, str]: method done (line 144) | def done(self) -> bool: method info (line 150) | def info(self) -> CustomAnyObject: method observation (line 156) | def observation(self) -> CustomAnyObject: method reward (line 162) | def reward(self) -> float: method step_id (line 168) | def step_id(self) -> int: method _is_consistent (line 173) | def _is_consistent(self) -> bool: FILE: packages/fetchai/protocols/gym/serialization.py class GymSerializer (line 34) | class GymSerializer(Serializer): method encode (line 38) | def encode(msg: Message) -> bytes: method decode (line 98) | def decode(obj: bytes) -> Message: FILE: packages/fetchai/protocols/http/dialogues.py class HttpDialogue (line 37) | class HttpDialogue(Dialogue): class Role (line 53) | class Role(Dialogue.Role): class EndState (line 59) | class EndState(Dialogue.EndState): method __init__ (line 64) | def __init__( class HttpDialogues (line 88) | class HttpDialogues(Dialogues, ABC): method __init__ (line 95) | def __init__( FILE: packages/fetchai/protocols/http/message.py class HttpMessage (line 36) | class HttpMessage(Message): class Performative (line 42) | class Performative(Message.Performative): method __str__ (line 48) | def __str__(self) -> str: class _SlotsCls (line 55) | class _SlotsCls: method __init__ (line 70) | def __init__( method valid_performatives (line 96) | def valid_performatives(self) -> Set[str]: method dialogue_reference (line 101) | def dialogue_reference(self) -> Tuple[str, str]: method message_id (line 107) | def message_id(self) -> int: method performative (line 113) | def performative(self) -> Performative: # type: ignore # noqa: F821 method target (line 119) | def target(self) -> int: method body (line 125) | def body(self) -> bytes: method headers (line 131) | def headers(self) -> str: method method (line 137) | def method(self) -> str: method status_code (line 143) | def status_code(self) -> int: method status_text (line 149) | def status_text(self) -> str: method url (line 155) | def url(self) -> str: method version (line 161) | def version(self) -> str: method _is_consistent (line 166) | def _is_consistent(self) -> bool: FILE: packages/fetchai/protocols/http/serialization.py class HttpSerializer (line 33) | class HttpSerializer(Serializer): method encode (line 37) | def encode(msg: Message) -> bytes: method decode (line 92) | def decode(obj: bytes) -> Message: FILE: packages/fetchai/protocols/ledger_api/custom_types.py class Kwargs (line 43) | class Kwargs: method __init__ (line 48) | def __init__( method _check_consistency (line 56) | def _check_consistency(self) -> None: method body (line 65) | def body(self) -> JSONLike: method encode (line 70) | def encode(kwargs_protobuf_object: Any, kwargs_object: "Kwargs") -> None: method decode (line 84) | def decode(cls, kwargs_protobuf_object: Any) -> "Kwargs": method __eq__ (line 96) | def __eq__(self, other: Any) -> bool: method __str__ (line 100) | def __str__(self) -> str: FILE: packages/fetchai/protocols/ledger_api/dialogues.py class LedgerApiDialogue (line 37) | class LedgerApiDialogue(Dialogue): class Role (line 94) | class Role(Dialogue.Role): class EndState (line 100) | class EndState(Dialogue.EndState): method __init__ (line 105) | def __init__( class LedgerApiDialogues (line 129) | class LedgerApiDialogues(Dialogues, ABC): method __init__ (line 136) | def __init__( FILE: packages/fetchai/protocols/ledger_api/message.py class LedgerApiMessage (line 52) | class LedgerApiMessage(Message): class Performative (line 72) | class Performative(Message.Performative): method __str__ (line 87) | def __str__(self) -> str: class _SlotsCls (line 106) | class _SlotsCls: method __init__ (line 129) | def __init__( method valid_performatives (line 155) | def valid_performatives(self) -> Set[str]: method dialogue_reference (line 160) | def dialogue_reference(self) -> Tuple[str, str]: method message_id (line 166) | def message_id(self) -> int: method performative (line 172) | def performative(self) -> Performative: # type: ignore # noqa: F821 method target (line 178) | def target(self) -> int: method address (line 184) | def address(self) -> str: method args (line 190) | def args(self) -> Tuple[str, ...]: method balance (line 196) | def balance(self) -> int: method callable (line 202) | def callable(self) -> str: method code (line 208) | def code(self) -> int: method data (line 214) | def data(self) -> Optional[bytes]: method kwargs (line 219) | def kwargs(self) -> CustomKwargs: method ledger_id (line 225) | def ledger_id(self) -> str: method message (line 231) | def message(self) -> Optional[str]: method raw_transaction (line 236) | def raw_transaction(self) -> CustomRawTransaction: method signed_transaction (line 242) | def signed_transaction(self) -> CustomSignedTransaction: method state (line 251) | def state(self) -> CustomState: method terms (line 257) | def terms(self) -> CustomTerms: method transaction_digest (line 263) | def transaction_digest(self) -> CustomTransactionDigest: method transaction_receipt (line 272) | def transaction_receipt(self) -> CustomTransactionReceipt: method _is_consistent (line 280) | def _is_consistent(self) -> bool: FILE: packages/fetchai/protocols/ledger_api/serialization.py class LedgerApiSerializer (line 42) | class LedgerApiSerializer(Serializer): method encode (line 46) | def encode(msg: Message) -> bytes: method decode (line 158) | def decode(obj: bytes) -> Message: FILE: packages/fetchai/protocols/ml_trade/dialogues.py class MlTradeDialogue (line 37) | class MlTradeDialogue(Dialogue): class Role (line 57) | class Role(Dialogue.Role): class EndState (line 63) | class EndState(Dialogue.EndState): method __init__ (line 68) | def __init__( class MlTradeDialogues (line 92) | class MlTradeDialogues(Dialogues, ABC): method __init__ (line 99) | def __init__( FILE: packages/fetchai/protocols/ml_trade/message.py class MlTradeMessage (line 41) | class MlTradeMessage(Message): class Performative (line 51) | class Performative(Message.Performative): method __str__ (line 59) | def __str__(self) -> str: class _SlotsCls (line 66) | class _SlotsCls: method __init__ (line 78) | def __init__( method valid_performatives (line 104) | def valid_performatives(self) -> Set[str]: method dialogue_reference (line 109) | def dialogue_reference(self) -> Tuple[str, str]: method message_id (line 115) | def message_id(self) -> int: method performative (line 121) | def performative(self) -> Performative: # type: ignore # noqa: F821 method target (line 127) | def target(self) -> int: method payload (line 133) | def payload(self) -> bytes: method query (line 139) | def query(self) -> CustomQuery: method terms (line 145) | def terms(self) -> CustomDescription: method tx_digest (line 151) | def tx_digest(self) -> str: method _is_consistent (line 156) | def _is_consistent(self) -> bool: FILE: packages/fetchai/protocols/ml_trade/serialization.py class MlTradeSerializer (line 34) | class MlTradeSerializer(Serializer): method encode (line 38) | def encode(msg: Message) -> bytes: method decode (line 91) | def decode(obj: bytes) -> Message: FILE: packages/fetchai/protocols/oef_search/custom_types.py class AgentsInfo (line 34) | class AgentsInfo: method __init__ (line 39) | def __init__(self, body: Dict[str, Dict[str, Any]]): method _check_consistency (line 44) | def _check_consistency(self) -> None: method body (line 56) | def body(self) -> Dict[str, Dict[str, Any]]: method get_info_for_agent (line 60) | def get_info_for_agent(self, agent_address: str) -> Dict[str, Any]: method encode (line 65) | def encode( method decode (line 81) | def decode(cls, agents_info_protobuf_object: Any) -> "AgentsInfo": method __eq__ (line 95) | def __eq__(self, other: Any) -> bool: class OefErrorOperation (line 102) | class OefErrorOperation(Enum): method __str__ (line 112) | def __str__(self) -> str: method encode (line 117) | def encode( method decode (line 133) | def decode(cls, oef_error_operation_protobuf_object: Any) -> "OefError... FILE: packages/fetchai/protocols/oef_search/dialogues.py class OefSearchDialogue (line 37) | class OefSearchDialogue(Dialogue): class Role (line 78) | class Role(Dialogue.Role): class EndState (line 84) | class EndState(Dialogue.EndState): method __init__ (line 90) | def __init__( class OefSearchDialogues (line 114) | class OefSearchDialogues(Dialogues, ABC): method __init__ (line 123) | def __init__( FILE: packages/fetchai/protocols/oef_search/message.py class OefSearchMessage (line 47) | class OefSearchMessage(Message): class Performative (line 61) | class Performative(Message.Performative): method __str__ (line 71) | def __str__(self) -> str: class _SlotsCls (line 85) | class _SlotsCls: method __init__ (line 98) | def __init__( method valid_performatives (line 124) | def valid_performatives(self) -> Set[str]: method dialogue_reference (line 129) | def dialogue_reference(self) -> Tuple[str, str]: method message_id (line 135) | def message_id(self) -> int: method performative (line 141) | def performative(self) -> Performative: # type: ignore # noqa: F821 method target (line 147) | def target(self) -> int: method agents (line 153) | def agents(self) -> Tuple[str, ...]: method agents_info (line 159) | def agents_info(self) -> CustomAgentsInfo: method oef_error_operation (line 165) | def oef_error_operation(self) -> CustomOefErrorOperation: method query (line 174) | def query(self) -> CustomQuery: method service_description (line 180) | def service_description(self) -> CustomDescription: method _is_consistent (line 188) | def _is_consistent(self) -> bool: FILE: packages/fetchai/protocols/oef_search/serialization.py class OefSearchSerializer (line 39) | class OefSearchSerializer(Serializer): method encode (line 43) | def encode(msg: Message) -> bytes: method decode (line 106) | def decode(obj: bytes) -> Message: FILE: packages/fetchai/protocols/prometheus/dialogues.py class PrometheusDialogue (line 37) | class PrometheusDialogue(Dialogue): class Role (line 59) | class Role(Dialogue.Role): class EndState (line 65) | class EndState(Dialogue.EndState): method __init__ (line 70) | def __init__( class PrometheusDialogues (line 94) | class PrometheusDialogues(Dialogues, ABC): method __init__ (line 101) | def __init__( FILE: packages/fetchai/protocols/prometheus/message.py class PrometheusMessage (line 36) | class PrometheusMessage(Message): class Performative (line 42) | class Performative(Message.Performative): method __str__ (line 49) | def __str__(self) -> str: class _SlotsCls (line 56) | class _SlotsCls: method __init__ (line 72) | def __init__( method valid_performatives (line 98) | def valid_performatives(self) -> Set[str]: method dialogue_reference (line 103) | def dialogue_reference(self) -> Tuple[str, str]: method message_id (line 109) | def message_id(self) -> int: method performative (line 115) | def performative(self) -> Performative: # type: ignore # noqa: F821 method target (line 121) | def target(self) -> int: method callable (line 127) | def callable(self) -> str: method code (line 133) | def code(self) -> int: method description (line 139) | def description(self) -> str: method labels (line 145) | def labels(self) -> Dict[str, str]: method message (line 151) | def message(self) -> Optional[str]: method title (line 156) | def title(self) -> str: method type (line 162) | def type(self) -> str: method value (line 168) | def value(self) -> float: method _is_consistent (line 173) | def _is_consistent(self) -> bool: FILE: packages/fetchai/protocols/prometheus/serialization.py class PrometheusSerializer (line 33) | class PrometheusSerializer(Serializer): method encode (line 37) | def encode(msg: Message) -> bytes: method decode (line 97) | def decode(obj: bytes) -> Message: FILE: packages/fetchai/protocols/register/dialogues.py class RegisterDialogue (line 37) | class RegisterDialogue(Dialogue): class Role (line 54) | class Role(Dialogue.Role): class EndState (line 59) | class EndState(Dialogue.EndState): method __init__ (line 65) | def __init__( class RegisterDialogues (line 89) | class RegisterDialogues(Dialogues, ABC): method __init__ (line 98) | def __init__( FILE: packages/fetchai/protocols/register/message.py class RegisterMessage (line 36) | class RegisterMessage(Message): class Performative (line 42) | class Performative(Message.Performative): method __str__ (line 49) | def __str__(self) -> str: class _SlotsCls (line 56) | class _SlotsCls: method __init__ (line 67) | def __init__( method valid_performatives (line 93) | def valid_performatives(self) -> Set[str]: method dialogue_reference (line 98) | def dialogue_reference(self) -> Tuple[str, str]: method message_id (line 104) | def message_id(self) -> int: method performative (line 110) | def performative(self) -> Performative: # type: ignore # noqa: F821 method target (line 116) | def target(self) -> int: method error_code (line 122) | def error_code(self) -> int: method error_msg (line 128) | def error_msg(self) -> str: method info (line 134) | def info(self) -> Dict[str, str]: method _is_consistent (line 139) | def _is_consistent(self) -> bool: FILE: packages/fetchai/protocols/register/serialization.py class RegisterSerializer (line 33) | class RegisterSerializer(Serializer): method encode (line 37) | def encode(msg: Message) -> bytes: method decode (line 85) | def decode(obj: bytes) -> Message: FILE: packages/fetchai/protocols/signing/custom_types.py class ErrorCode (line 32) | class ErrorCode(Enum): method encode (line 39) | def encode(error_code_protobuf_object: Any, error_code_object: "ErrorC... method decode (line 51) | def decode(cls, error_code_protobuf_object: Any) -> "ErrorCode": FILE: packages/fetchai/protocols/signing/dialogues.py class SigningDialogue (line 37) | class SigningDialogue(Dialogue): class Role (line 71) | class Role(Dialogue.Role): class EndState (line 77) | class EndState(Dialogue.EndState): method __init__ (line 83) | def __init__( class SigningDialogues (line 107) | class SigningDialogues(Dialogues, ABC): method __init__ (line 116) | def __init__( FILE: packages/fetchai/protocols/signing/message.py class SigningMessage (line 51) | class SigningMessage(Message): class Performative (line 69) | class Performative(Message.Performative): method __str__ (line 78) | def __str__(self) -> str: class _SlotsCls (line 91) | class _SlotsCls: method __init__ (line 105) | def __init__( method valid_performatives (line 131) | def valid_performatives(self) -> Set[str]: method dialogue_reference (line 136) | def dialogue_reference(self) -> Tuple[str, str]: method message_id (line 142) | def message_id(self) -> int: method performative (line 148) | def performative(self) -> Performative: # type: ignore # noqa: F821 method target (line 154) | def target(self) -> int: method error_code (line 160) | def error_code(self) -> CustomErrorCode: method raw_message (line 166) | def raw_message(self) -> CustomRawMessage: method raw_transaction (line 172) | def raw_transaction(self) -> CustomRawTransaction: method signed_message (line 178) | def signed_message(self) -> CustomSignedMessage: method signed_transaction (line 184) | def signed_transaction(self) -> CustomSignedTransaction: method terms (line 193) | def terms(self) -> CustomTerms: method _is_consistent (line 198) | def _is_consistent(self) -> bool: FILE: packages/fetchai/protocols/signing/serialization.py class SigningSerializer (line 41) | class SigningSerializer(Serializer): method encode (line 45) | def encode(msg: Message) -> bytes: method decode (line 105) | def decode(obj: bytes) -> Message: FILE: packages/fetchai/protocols/state_update/dialogues.py class StateUpdateDialogue (line 37) | class StateUpdateDialogue(Dialogue): class Role (line 56) | class Role(Dialogue.Role): class EndState (line 62) | class EndState(Dialogue.EndState): method __init__ (line 67) | def __init__( class StateUpdateDialogues (line 91) | class StateUpdateDialogues(Dialogues, ABC): method __init__ (line 98) | def __init__( FILE: packages/fetchai/protocols/state_update/message.py class StateUpdateMessage (line 38) | class StateUpdateMessage(Message): class Performative (line 44) | class Performative(Message.Performative): method __str__ (line 51) | def __str__(self) -> str: class _SlotsCls (line 58) | class _SlotsCls: method __init__ (line 70) | def __init__( method valid_performatives (line 96) | def valid_performatives(self) -> Set[str]: method dialogue_reference (line 101) | def dialogue_reference(self) -> Tuple[str, str]: method message_id (line 107) | def message_id(self) -> int: method performative (line 113) | def performative(self) -> Performative: # type: ignore # noqa: F821 method target (line 119) | def target(self) -> int: method amount_by_currency_id (line 125) | def amount_by_currency_id(self) -> Dict[str, int]: method exchange_params_by_currency_id (line 134) | def exchange_params_by_currency_id(self) -> Dict[str, float]: method quantities_by_good_id (line 143) | def quantities_by_good_id(self) -> Dict[str, int]: method utility_params_by_good_id (line 152) | def utility_params_by_good_id(self) -> Dict[str, float]: method _is_consistent (line 160) | def _is_consistent(self) -> bool: FILE: packages/fetchai/protocols/state_update/serialization.py class StateUpdateSerializer (line 33) | class StateUpdateSerializer(Serializer): method encode (line 37) | def encode(msg: Message) -> bytes: method decode (line 89) | def decode(obj: bytes) -> Message: FILE: packages/fetchai/protocols/tac/custom_types.py class ErrorCode (line 40) | class ErrorCode(Enum): method to_msg (line 55) | def to_msg(error_code: int) -> str: method encode (line 60) | def encode(error_code_protobuf_object: Any, error_code_object: "ErrorC... method decode (line 72) | def decode(cls, error_code_protobuf_object: Any) -> "ErrorCode": FILE: packages/fetchai/protocols/tac/dialogues.py class TacDialogue (line 37) | class TacDialogue(Dialogue): class Role (line 90) | class Role(Dialogue.Role): class EndState (line 96) | class EndState(Dialogue.EndState): method __init__ (line 102) | def __init__( class TacDialogues (line 126) | class TacDialogues(Dialogues, ABC): method __init__ (line 135) | def __init__( FILE: packages/fetchai/protocols/tac/message.py class TacMessage (line 38) | class TacMessage(Message): class Performative (line 46) | class Performative(Message.Performative): method __str__ (line 57) | def __str__(self) -> str: class _SlotsCls (line 72) | class _SlotsCls: method __init__ (line 99) | def __init__( method valid_performatives (line 125) | def valid_performatives(self) -> Set[str]: method dialogue_reference (line 130) | def dialogue_reference(self) -> Tuple[str, str]: method message_id (line 136) | def message_id(self) -> int: method performative (line 142) | def performative(self) -> Performative: # type: ignore # noqa: F821 method target (line 148) | def target(self) -> int: method agent_addr_to_name (line 154) | def agent_addr_to_name(self) -> Dict[str, str]: method agent_name (line 163) | def agent_name(self) -> str: method amount_by_currency_id (line 169) | def amount_by_currency_id(self) -> Dict[str, int]: method counterparty_address (line 178) | def counterparty_address(self) -> str: method counterparty_signature (line 187) | def counterparty_signature(self) -> str: method currency_id_to_name (line 196) | def currency_id_to_name(self) -> Dict[str, str]: method error_code (line 205) | def error_code(self) -> CustomErrorCode: method exchange_params_by_currency_id (line 211) | def exchange_params_by_currency_id(self) -> Dict[str, float]: method fee_by_currency_id (line 220) | def fee_by_currency_id(self) -> Dict[str, int]: method good_id_to_name (line 229) | def good_id_to_name(self) -> Dict[str, str]: method info (line 235) | def info(self) -> Optional[Dict[str, str]]: method ledger_id (line 240) | def ledger_id(self) -> str: method nonce (line 246) | def nonce(self) -> str: method quantities_by_good_id (line 252) | def quantities_by_good_id(self) -> Dict[str, int]: method sender_address (line 261) | def sender_address(self) -> str: method sender_signature (line 267) | def sender_signature(self) -> str: method transaction_id (line 275) | def transaction_id(self) -> str: method utility_params_by_good_id (line 281) | def utility_params_by_good_id(self) -> Dict[str, float]: method version_id (line 290) | def version_id(self) -> str: method _is_consistent (line 295) | def _is_consistent(self) -> bool: FILE: packages/fetchai/protocols/tac/serialization.py class TacSerializer (line 34) | class TacSerializer(Serializer): method encode (line 38) | def encode(msg: Message) -> bytes: method decode (line 146) | def decode(obj: bytes) -> Message: FILE: packages/fetchai/skills/advanced_data_request/behaviours.py class AdvancedDataRequestBehaviour (line 44) | class AdvancedDataRequestBehaviour(TickerBehaviour): method __init__ (line 47) | def __init__(self, **kwargs: Any): method send_http_request_message (line 52) | def send_http_request_message(self) -> None: method add_prometheus_metric (line 74) | def add_prometheus_metric( method update_prometheus_metric (line 106) | def update_prometheus_metric( method setup (line 138) | def setup(self) -> None: method act (line 155) | def act(self) -> None: method teardown (line 161) | def teardown(self) -> None: FILE: packages/fetchai/skills/advanced_data_request/dialogues.py class HttpDialogues (line 43) | class HttpDialogues(Model, BaseHttpDialogues): method __init__ (line 46) | def __init__(self, **kwargs: Any) -> None: class PrometheusDialogues (line 81) | class PrometheusDialogues(Model, BasePrometheusDialogues): method __init__ (line 84) | def __init__(self, **kwargs: Any) -> None: FILE: packages/fetchai/skills/advanced_data_request/handlers.py function find (line 39) | def find(dotted_path: str, data: Dict[str, Any]) -> Optional[Any]: function is_number (line 49) | def is_number(value: SupportsFloat) -> bool: class HttpHandler (line 60) | class HttpHandler(Handler): method __init__ (line 65) | def __init__(self, **kwargs: Any): method setup (line 71) | def setup(self) -> None: method handle (line 85) | def handle(self, message: Message) -> None: method _handle_response (line 113) | def _handle_response(self, http_msg: HttpMessage) -> None: method _handle_request (line 155) | def _handle_request( method _handle_get (line 180) | def _handle_get(self, http_msg: HttpMessage, http_dialogue: HttpDialog... method _handle_unidentified_dialogue (line 213) | def _handle_unidentified_dialogue(self, msg: Message) -> None: method teardown (line 223) | def teardown(self) -> None: class PrometheusHandler (line 227) | class PrometheusHandler(Handler): method setup (line 232) | def setup(self) -> None: method handle (line 236) | def handle(self, message: Message) -> None: method _handle_unidentified_dialogue (line 264) | def _handle_unidentified_dialogue(self, msg: Message) -> None: method teardown (line 275) | def teardown(self) -> None: FILE: packages/fetchai/skills/advanced_data_request/models.py class AdvancedDataRequestModel (line 37) | class AdvancedDataRequestModel(Model): method __init__ (line 40) | def __init__(self, **kwargs: Any) -> None: method _validate_config (line 57) | def _validate_config(self) -> None: # pragma: nocover FILE: packages/fetchai/skills/aries_alice/behaviours.py class AliceBehaviour (line 44) | class AliceBehaviour(TickerBehaviour): method __init__ (line 47) | def __init__(self, **kwargs: Any) -> None: method send_http_request_message (line 60) | def send_http_request_message( method setup (line 86) | def setup(self) -> None: method act (line 91) | def act(self) -> None: method perform_agents_search (line 96) | def perform_agents_search(self) -> None: method teardown (line 114) | def teardown(self) -> None: method _retry_failed_registration (line 119) | def _retry_failed_registration(self) -> None: method _register (line 142) | def _register(self, description: Description, logger_msg: str) -> None: method _register_agent (line 160) | def _register_agent(self) -> None: method register_service (line 166) | def register_service(self) -> None: method register_genus (line 172) | def register_genus(self) -> None: method register_classification (line 180) | def register_classification(self) -> None: method _unregister_service (line 188) | def _unregister_service(self) -> None: method _unregister_agent (line 203) | def _unregister_agent(self) -> None: FILE: packages/fetchai/skills/aries_alice/dialogues.py class DefaultDialogues (line 52) | class DefaultDialogues(Model, BaseDefaultDialogues): method __init__ (line 55) | def __init__(self, **kwargs: Any) -> None: class HttpDialogues (line 84) | class HttpDialogues(Model, BaseHttpDialogues): method __init__ (line 87) | def __init__(self, **kwargs: Any) -> None: class OefSearchDialogues (line 116) | class OefSearchDialogues(Model, BaseOefSearchDialogues): method __init__ (line 119) | def __init__(self, **kwargs: Any) -> None: FILE: packages/fetchai/skills/aries_alice/handlers.py class DefaultHandler (line 47) | class DefaultHandler(Handler): method setup (line 52) | def setup(self) -> None: method handle (line 55) | def handle(self, message: Message) -> None: method teardown (line 89) | def teardown(self) -> None: class HttpHandler (line 93) | class HttpHandler(Handler): method __init__ (line 98) | def __init__(self, **kwargs: Any) -> None: method invitations (line 109) | def invitations(self) -> Dict[str, str]: method setup (line 114) | def setup(self) -> None: method handle (line 117) | def handle(self, message: Message) -> None: method _handle_creds_for_proof_request (line 245) | def _handle_creds_for_proof_request(self, credentials: Dict) -> None: method _send_invitation_message (line 297) | def _send_invitation_message(self, connection: Dict) -> None: method teardown (line 334) | def teardown(self) -> None: class OefSearchHandler (line 338) | class OefSearchHandler(Handler): method setup (line 343) | def setup(self) -> None: method handle (line 346) | def handle(self, message: Message) -> None: method teardown (line 375) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 378) | def _handle_unidentified_dialogue(self, oef_search_msg: OefSearchMessa... method _handle_success (line 390) | def _handle_success( method _handle_search (line 441) | def _handle_search(self, oef_search_msg: OefSearchMessage) -> None: method _handle_error (line 469) | def _handle_error( method _handle_invalid (line 499) | def _handle_invalid( FILE: packages/fetchai/skills/aries_alice/strategy.py class Strategy (line 70) | class Strategy(Model): method __init__ (line 73) | def __init__(self, **kwargs: Any) -> None: method admin_host (line 139) | def admin_host(self) -> str: method admin_port (line 144) | def admin_port(self) -> str: method admin_url (line 149) | def admin_url(self) -> str: method seed (line 154) | def seed(self) -> str: method get_location_and_service_query (line 158) | def get_location_and_service_query(self) -> Query: method get_location_description (line 182) | def get_location_description(self) -> Description: method get_register_service_description (line 194) | def get_register_service_description(self) -> Description: method get_register_personality_description (line 206) | def get_register_personality_description(self) -> Description: method get_register_classification_description (line 218) | def get_register_classification_description(self) -> Description: method get_unregister_service_description (line 230) | def get_unregister_service_description(self) -> Description: FILE: packages/fetchai/skills/aries_faber/behaviours.py class FaberBehaviour (line 42) | class FaberBehaviour(TickerBehaviour): method __init__ (line 45) | def __init__(self, **kwargs: Any): method send_http_request_message (line 52) | def send_http_request_message( method setup (line 78) | def setup(self) -> None: method act (line 83) | def act(self) -> None: method teardown (line 99) | def teardown(self) -> None: FILE: packages/fetchai/skills/aries_faber/dialogues.py class DefaultDialogues (line 52) | class DefaultDialogues(Model, BaseDefaultDialogues): method __init__ (line 55) | def __init__(self, **kwargs: Any) -> None: class HttpDialogues (line 84) | class HttpDialogues(Model, BaseHttpDialogues): method __init__ (line 87) | def __init__(self, **kwargs: Any) -> None: class OefSearchDialogues (line 116) | class OefSearchDialogues(Model, BaseOefSearchDialogues): method __init__ (line 119) | def __init__(self, **kwargs: Any) -> None: FILE: packages/fetchai/skills/aries_faber/handlers.py class HttpHandler (line 55) | class HttpHandler(Handler): method __init__ (line 60) | def __init__(self, **kwargs: Any): method schema_id (line 77) | def schema_id(self) -> str: method _send_invitation_message (line 83) | def _send_invitation_message(self, connection: Dict) -> None: method _register_public_did_on_acapy (line 120) | def _register_public_did_on_acapy(self) -> None: method _register_did (line 131) | def _register_did(self) -> None: method _register_schema (line 148) | def _register_schema( method _register_creddef (line 173) | def _register_creddef(self, schema_id: str) -> None: method setup (line 190) | def setup(self) -> None: method handle (line 193) | def handle(self, message: Message) -> None: method issue_crendetials_for (line 278) | def issue_crendetials_for( method teardown (line 314) | def teardown(self) -> None: class OefSearchHandler (line 318) | class OefSearchHandler(Handler): method setup (line 323) | def setup(self) -> None: method handle (line 326) | def handle(self, message: Message) -> None: method teardown (line 354) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 357) | def _handle_unidentified_dialogue(self, oef_search_msg: OefSearchMessa... method _handle_error (line 369) | def _handle_error( method _handle_search (line 384) | def _handle_search(self, oef_search_msg: OefSearchMessage) -> None: method _handle_invalid (line 410) | def _handle_invalid( FILE: packages/fetchai/skills/aries_faber/strategy.py class Strategy (line 55) | class Strategy(Model): method __init__ (line 58) | def __init__(self, **kwargs: Any) -> None: method admin_host (line 96) | def admin_host(self) -> str: method admin_port (line 101) | def admin_port(self) -> str: method ledger_url (line 106) | def ledger_url(self) -> str: method seed (line 111) | def seed(self) -> str: method admin_url (line 116) | def admin_url(self) -> str: method aea_addresses (line 121) | def aea_addresses(self) -> List[Address]: method aea_addresses (line 126) | def aea_addresses(self, addresses: List[Address]) -> None: method is_searching (line 130) | def is_searching(self) -> bool: method is_searching (line 135) | def is_searching(self, is_searching: bool) -> None: method get_location_and_service_query (line 140) | def get_location_and_service_query(self) -> Query: FILE: packages/fetchai/skills/carpark_detection/database.py class DetectionDatabase (line 36) | class DetectionDatabase: # pylint: disable=too-many-public-methods method __init__ (line 39) | def __init__( method is_db_exits (line 66) | def is_db_exits(self) -> bool: method reset_database (line 74) | def reset_database(self) -> None: # pragma: nocover method reset_mask (line 92) | def reset_mask(self) -> None: # pragma: nocover method initialise_backend (line 104) | def initialise_backend(self) -> None: method set_fet (line 138) | def set_fet(self, amount: int, t: str) -> None: # pragma: nocover method get_fet (line 146) | def get_fet(self) -> int: # pragma: nocover method save_max_capacity (line 153) | def save_max_capacity(self, max_capacity: int) -> None: # pragma: noc... method get_max_capacity (line 157) | def get_max_capacity(self) -> Optional[int]: # pragma: nocover method save_lat_lon (line 165) | def save_lat_lon(self, lat: float, lon: float) -> None: # pragma: noc... method get_lat_lon (line 170) | def get_lat_lon(self) -> Tuple[Optional[float], Optional[float]]: method set_system_status (line 178) | def set_system_status(self, system_name: str, status: str) -> None: method get_system_status (line 186) | def get_system_status(self, system_name: str, print_exceptions: bool =... method set_dialogue_status (line 195) | def set_dialogue_status( method get_dialogue_statuses (line 210) | def get_dialogue_statuses(self) -> List[Dict]: # pragma: nocover method calc_uncleared_fet (line 227) | def calc_uncleared_fet(self) -> int: # pragma: nocover method add_friendly_name (line 241) | def add_friendly_name( method add_in_progress_transaction (line 250) | def add_in_progress_transaction( method get_in_progress_transactions (line 259) | def get_in_progress_transactions(self) -> List[Dict]: # pragma: nocover method get_complete_transactions (line 263) | def get_complete_transactions(self) -> List[Dict]: # pragma: nocover method get_transactions_with_status (line 267) | def get_transactions_with_status( method get_n_transactions (line 289) | def get_n_transactions(self, count: int) -> List[Dict]: # pragma: noc... method set_transaction_complete (line 307) | def set_transaction_complete(self, tx: str) -> None: # pragma: nocover method lookup_friendly_name (line 313) | def lookup_friendly_name(self, oef_key: str) -> Optional[str]: # prag... method lookup_self_names (line 322) | def lookup_self_names( method add_entry_no_save (line 333) | def add_entry_no_save( method add_entry (line 359) | def add_entry( method execute_single_sql (line 389) | def execute_single_sql( method get_latest_detection_data (line 413) | def get_latest_detection_data(self, max_num_rows: int) -> List[Dict]: method prune_image_table (line 436) | def prune_image_table(self, max_entries: int) -> None: # pragma: nocover method prune_transaction_table (line 440) | def prune_transaction_table(self, max_entries: int) -> None: # pragma... method prune_table (line 444) | def prune_table(self, table_name: str, max_entries: int) -> None: # p... method ensure_dirs_exist (line 462) | def ensure_dirs_exist(self) -> None: method generate_raw_image_path (line 471) | def generate_raw_image_path(self, t: int) -> str: # pragma: nocover method generate_processed_path (line 480) | def generate_processed_path(self, t: int) -> str: # pragma: nocover method generate_processed_from_raw_path (line 489) | def generate_processed_from_raw_path(self, raw_name: str) -> str: # p... method extract_time_from_raw_path (line 495) | def extract_time_from_raw_path(self, raw_name: str) -> int: # pragma:... FILE: packages/fetchai/skills/carpark_detection/strategy.py class Strategy (line 35) | class Strategy(GenericStrategy): method __init__ (line 38) | def __init__(self, **kwargs: Any) -> None: method collect_from_data_source (line 59) | def collect_from_data_source(self) -> Dict[str, str]: method _update_service_data (line 71) | def _update_service_data(self) -> None: FILE: packages/fetchai/skills/confirmation_aw1/behaviours.py class TransactionBehaviour (line 43) | class TransactionBehaviour(TickerBehaviour): method __init__ (line 46) | def __init__(self, **kwargs: Any): method setup (line 60) | def setup(self) -> None: method act (line 63) | def act(self) -> None: method _start_processing (line 76) | def _start_processing(self) -> None: method teardown (line 99) | def teardown(self) -> None: method _timeout_processing (line 102) | def _timeout_processing(self) -> None: method finish_processing (line 111) | def finish_processing(self, ledger_api_dialogue: LedgerApiDialogue) ->... method failed_processing (line 131) | def failed_processing(self, ledger_api_dialogue: LedgerApiDialogue) ->... FILE: packages/fetchai/skills/confirmation_aw1/dialogues.py class DefaultDialogues (line 75) | class DefaultDialogues(Model, BaseDefaultDialogues): method __init__ (line 78) | def __init__(self, **kwargs: Any) -> None: class RegisterDialogue (line 104) | class RegisterDialogue(BaseRegisterDialogue): method __init__ (line 109) | def __init__( method terms (line 134) | def terms(self) -> Terms: method terms (line 141) | def terms(self, terms: Terms) -> None: class RegisterDialogues (line 147) | class RegisterDialogues(Model, BaseRegisterDialogues): method __init__ (line 150) | def __init__(self, **kwargs: Any) -> None: class ContractApiDialogue (line 177) | class ContractApiDialogue(BaseContractApiDialogue): method __init__ (line 182) | def __init__( method terms (line 208) | def terms(self) -> Terms: method terms (line 215) | def terms(self, terms: Terms) -> None: method associated_register_dialogue (line 221) | def associated_register_dialogue(self) -> RegisterDialogue: method associated_register_dialogue (line 228) | def associated_register_dialogue( class ContractApiDialogues (line 239) | class ContractApiDialogues(Model, BaseContractApiDialogues): method __init__ (line 242) | def __init__(self, **kwargs: Any) -> None: class LedgerApiDialogue (line 269) | class LedgerApiDialogue(BaseLedgerApiDialogue): method __init__ (line 274) | def __init__( method associated_register_dialogue (line 300) | def associated_register_dialogue(self) -> RegisterDialogue: method associated_register_dialogue (line 307) | def associated_register_dialogue(self, register_dialogue: RegisterDial... class LedgerApiDialogues (line 315) | class LedgerApiDialogues(Model, BaseLedgerApiDialogues): method __init__ (line 318) | def __init__(self, **kwargs: Any) -> None: class SigningDialogue (line 345) | class SigningDialogue(BaseSigningDialogue): method __init__ (line 350) | def __init__( method associated_ledger_api_dialogue (line 375) | def associated_ledger_api_dialogue(self) -> LedgerApiDialogue: method associated_ledger_api_dialogue (line 382) | def associated_ledger_api_dialogue( class SigningDialogues (line 393) | class SigningDialogues(Model, BaseSigningDialogues): method __init__ (line 396) | def __init__(self, **kwargs: Any) -> None: FILE: packages/fetchai/skills/confirmation_aw1/handlers.py class AW1RegistrationHandler (line 55) | class AW1RegistrationHandler(Handler): method setup (line 60) | def setup(self) -> None: method handle (line 63) | def handle(self, message: Message) -> None: method teardown (line 86) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 89) | def _handle_unidentified_dialogue(self, register_msg: RegisterMessage)... method _handle_register (line 99) | def _handle_register( method _handle_invalid (line 160) | def _handle_invalid( class ContractApiHandler (line 174) | class ContractApiHandler(Handler): method setup (line 179) | def setup(self) -> None: method handle (line 182) | def handle(self, message: Message) -> None: method teardown (line 210) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 213) | def _handle_unidentified_dialogue( method _handle_state (line 225) | def _handle_state( method _handle_error (line 265) | def _handle_error( method _handle_invalid (line 288) | def _handle_invalid( class LedgerApiHandler (line 304) | class LedgerApiHandler(Handler): method setup (line 309) | def setup(self) -> None: method handle (line 315) | def handle(self, message: Message) -> None: method teardown (line 352) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 355) | def _handle_unidentified_dialogue(self, ledger_api_msg: LedgerApiMessa... method _handle_raw_transaction (line 365) | def _handle_raw_transaction( method _handle_transaction_digest (line 389) | def _handle_transaction_digest( method _handle_transaction_receipt (line 411) | def _handle_transaction_receipt( method _send_confirmation_details_to_awx_aeas (line 458) | def _send_confirmation_details_to_awx_aeas(self, confirmed_aea: str) -... method _handle_error (line 479) | def _handle_error( method _handle_invalid (line 504) | def _handle_invalid( class SigningHandler (line 518) | class SigningHandler(Handler): method setup (line 523) | def setup(self) -> None: method handle (line 526) | def handle(self, message: Message) -> None: method teardown (line 551) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 554) | def _handle_unidentified_dialogue(self, signing_msg: SigningMessage) -... method _handle_signed_transaction (line 564) | def _handle_signed_transaction( method _handle_error (line 586) | def _handle_error( method _handle_invalid (line 612) | def _handle_invalid( FILE: packages/fetchai/skills/confirmation_aw1/registration_db.py class RegistrationDB (line 35) | class RegistrationDB(Model): method __init__ (line 38) | def __init__(self, **kwargs: Any) -> None: method _initialise_backend (line 52) | def _initialise_backend(self) -> None: method set_registered (line 62) | def set_registered( method set_registered_developer_only (line 83) | def set_registered_developer_only( method is_registered (line 96) | def is_registered(self, address: str) -> bool: method get_developer_handle (line 103) | def get_developer_handle(self, address: str) -> str: method get_ethereum_address (line 114) | def get_ethereum_address( method get_all_registered (line 142) | def get_all_registered(self) -> List[str]: method _execute_single_sql (line 150) | def _execute_single_sql( FILE: packages/fetchai/skills/confirmation_aw1/strategy.py class Strategy (line 50) | class Strategy(Model): method __init__ (line 53) | def __init__(self, **kwargs: Any) -> None: method contract_id (line 86) | def contract_id(self) -> str: method contract_address (line 91) | def contract_address(self) -> str: method contract_ledger_id (line 96) | def contract_ledger_id(self) -> str: method contract_callable (line 101) | def contract_callable(self) -> str: method awx_aeas (line 106) | def awx_aeas(self) -> List[str]: method all_registered_aeas (line 111) | def all_registered_aeas(self) -> List[str]: method lock_registration_temporarily (line 117) | def lock_registration_temporarily(self, address: str, info: Dict[str, ... method finalize_registration (line 121) | def finalize_registration(self, address: str) -> None: method unlock_registration (line 143) | def unlock_registration(self, address: str) -> None: method get_developer_handle (line 150) | def get_developer_handle(self, address: str) -> str: method _valid_registration_developer_only (line 156) | def _valid_registration_developer_only( method valid_registration (line 181) | def valid_registration( method _valid_signature (line 234) | def _valid_signature( method get_terms (line 255) | def get_terms(self, counterparty: str) -> Terms: method get_kwargs (line 277) | def get_kwargs(info: Dict[str, str]) -> JSONLike: method has_staked (line 287) | def has_staked(self, state: JSONLike) -> bool: FILE: packages/fetchai/skills/confirmation_aw2/handlers.py class DefaultHandler (line 49) | class DefaultHandler(Handler): method setup (line 54) | def setup(self) -> None: method handle (line 57) | def handle(self, message: Message) -> None: method _handle_unidentified_dialogue (line 78) | def _handle_unidentified_dialogue(self, default_msg: DefaultMessage) -... method _handle_bytes (line 88) | def _handle_bytes( method _handle_invalid (line 124) | def _handle_invalid( method teardown (line 137) | def teardown(self) -> None: FILE: packages/fetchai/skills/confirmation_aw2/registration_db.py class RegistrationDB (line 37) | class RegistrationDB(Model): method __init__ (line 40) | def __init__(self, **kwargs: Any) -> None: method _initialise_backend (line 54) | def _initialise_backend(self) -> None: method set_trade (line 66) | def set_trade( method get_trade_table (line 95) | def get_trade_table(self, address: str) -> Optional[Tuple]: method set_registered (line 101) | def set_registered(self, address: str, developer_handle: str) -> None: method is_registered (line 116) | def is_registered(self, address: str) -> bool: method is_allowed_to_trade (line 123) | def is_allowed_to_trade(self, address: str, minimum_hours_between_txs:... method has_completed_two_trades (line 154) | def has_completed_two_trades(self, address: str) -> bool: method completed_two_trades (line 170) | def completed_two_trades(self) -> List[Tuple[str, str, str]]: method _execute_single_sql (line 188) | def _execute_single_sql( FILE: packages/fetchai/skills/confirmation_aw2/strategy.py class Strategy (line 29) | class Strategy(GenericStrategy): method __init__ (line 32) | def __init__(self, **kwargs: Any) -> None: method get_acceptable_counterparties (line 49) | def get_acceptable_counterparties( method is_enough_time_since_last_attempt (line 64) | def is_enough_time_since_last_attempt(self, counterparty: str) -> bool: method is_valid_counterparty (line 79) | def is_valid_counterparty(self, counterparty: str) -> bool: method successful_trade_with_counterparty (line 104) | def successful_trade_with_counterparty( method register_counterparty (line 119) | def register_counterparty(self, counterparty: str, developer_handle: s... FILE: packages/fetchai/skills/confirmation_aw3/dialogues.py class HttpDialogues (line 67) | class HttpDialogues(Model, BaseHttpDialogues): method __init__ (line 70) | def __init__(self, **kwargs: Any) -> None: FILE: packages/fetchai/skills/confirmation_aw3/handlers.py class DefaultHandler (line 52) | class DefaultHandler(Handler): method setup (line 57) | def setup(self) -> None: method handle (line 60) | def handle(self, message: Message) -> None: method _handle_unidentified_dialogue (line 81) | def _handle_unidentified_dialogue(self, default_msg: DefaultMessage) -... method _handle_bytes (line 91) | def _handle_bytes( method _handle_invalid (line 127) | def _handle_invalid( method teardown (line 140) | def teardown(self) -> None: class HttpHandler (line 144) | class HttpHandler(Handler): method setup (line 149) | def setup(self) -> None: method handle (line 152) | def handle(self, message: Message) -> None: method _handle_unidentified_dialogue (line 173) | def _handle_unidentified_dialogue(self, http_msg: HttpMessage) -> None: method _handle_response (line 183) | def _handle_response( method _handle_invalid (line 198) | def _handle_invalid( method teardown (line 213) | def teardown(self) -> None: FILE: packages/fetchai/skills/confirmation_aw3/registration_db.py class RegistrationDB (line 38) | class RegistrationDB(Model): method __init__ (line 41) | def __init__(self, **kwargs: Any) -> None: method _initialise_backend (line 55) | def _initialise_backend(self) -> None: method set_trade (line 66) | def set_trade( method get_trade_count (line 81) | def get_trade_count(self, address: str) -> int: method get_developer_handle (line 87) | def get_developer_handle(self, address: str) -> str: method get_addresses (line 97) | def get_addresses(self, developer_handle: str) -> List[str]: method get_handle_and_trades (line 108) | def get_handle_and_trades(self, address: str) -> Tuple[str, int]: method get_all_addresses_and_handles (line 117) | def get_all_addresses_and_handles(self) -> List[Tuple[str, str]]: method get_leaderboard (line 123) | def get_leaderboard(self) -> List[Tuple[str, str, int]]: method set_registered (line 136) | def set_registered(self, address: str, developer_handle: str) -> None: method is_registered (line 151) | def is_registered(self, address: str) -> bool: method _execute_single_sql (line 158) | def _execute_single_sql( FILE: packages/fetchai/skills/confirmation_aw3/strategy.py class Strategy (line 38) | class Strategy(GenericStrategy): method __init__ (line 41) | def __init__(self, **kwargs: Any) -> None: method get_acceptable_counterparties (line 72) | def get_acceptable_counterparties( method is_valid_counterparty (line 87) | def is_valid_counterparty(self, counterparty: str) -> bool: method successful_trade_with_counterparty (line 102) | def successful_trade_with_counterparty( method register_counterparty (line 138) | def register_counterparty(self, counterparty: str, developer_handle: s... method update_search_query_params (line 148) | def update_search_query_params(self) -> None: FILE: packages/fetchai/skills/echo/behaviours.py class EchoBehaviour (line 25) | class EchoBehaviour(TickerBehaviour): method setup (line 28) | def setup(self) -> None: method act (line 32) | def act(self) -> None: method teardown (line 36) | def teardown(self) -> None: FILE: packages/fetchai/skills/echo/dialogues.py class DefaultDialogues (line 39) | class DefaultDialogues(Model, BaseDefaultDialogues): method __init__ (line 42) | def __init__(self, **kwargs: Any) -> None: FILE: packages/fetchai/skills/echo/handlers.py class EchoHandler (line 30) | class EchoHandler(Handler): method setup (line 35) | def setup(self) -> None: method handle (line 39) | def handle(self, message: Message) -> None: method teardown (line 63) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 67) | def _handle_unidentified_dialogue(self, message: DefaultMessage) -> None: method _handle_error (line 88) | def _handle_error(self, message: DefaultMessage, dialogue: DefaultDial... method _handle_bytes (line 101) | def _handle_bytes(self, message: DefaultMessage, dialogue: DefaultDial... method _handle_invalid (line 118) | def _handle_invalid( FILE: packages/fetchai/skills/erc1155_client/behaviours.py class SearchBehaviour (line 42) | class SearchBehaviour(TickerBehaviour): method __init__ (line 45) | def __init__(self, **kwargs: Any) -> None: method setup (line 52) | def setup(self) -> None: method act (line 66) | def act(self) -> None: method teardown (line 81) | def teardown(self) -> None: FILE: packages/fetchai/skills/erc1155_client/dialogues.py class ContractApiDialogue (line 73) | class ContractApiDialogue(BaseContractApiDialogue): method __init__ (line 78) | def __init__( method terms (line 104) | def terms(self) -> Terms: method terms (line 111) | def terms(self, terms: Terms) -> None: method associated_fipa_dialogue (line 117) | def associated_fipa_dialogue(self) -> BaseFipaDialogue: method associated_fipa_dialogue (line 124) | def associated_fipa_dialogue( class ContractApiDialogues (line 135) | class ContractApiDialogues(Model, BaseContractApiDialogues): method __init__ (line 138) | def __init__(self, **kwargs: Any) -> None: class DefaultDialogues (line 168) | class DefaultDialogues(Model, BaseDefaultDialogues): method __init__ (line 171) | def __init__(self, **kwargs: Any) -> None: class FipaDialogues (line 200) | class FipaDialogues(Model, BaseFipaDialogues): method __init__ (line 203) | def __init__(self, **kwargs: Any) -> None: class LedgerApiDialogues (line 232) | class LedgerApiDialogues(Model, BaseLedgerApiDialogues): method __init__ (line 235) | def __init__(self, **kwargs: Any) -> None: class OefSearchDialogues (line 264) | class OefSearchDialogues(Model, BaseOefSearchDialogues): method __init__ (line 267) | def __init__(self, **kwargs: Any) -> None: class SigningDialogue (line 293) | class SigningDialogue(BaseSigningDialogue): method __init__ (line 298) | def __init__( method associated_contract_api_dialogue (line 325) | def associated_contract_api_dialogue(self) -> ContractApiDialogue: method associated_contract_api_dialogue (line 332) | def associated_contract_api_dialogue( class SigningDialogues (line 343) | class SigningDialogues(Model, BaseSigningDialogues): method __init__ (line 346) | def __init__(self, **kwargs: Any) -> None: FILE: packages/fetchai/skills/erc1155_client/handlers.py class FipaHandler (line 57) | class FipaHandler(Handler): method setup (line 62) | def setup(self) -> None: method handle (line 65) | def handle(self, message: Message) -> None: method teardown (line 86) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 89) | def _handle_unidentified_dialogue(self, fipa_msg: FipaMessage) -> None: method _handle_propose (line 110) | def _handle_propose( method _handle_invalid (line 192) | def _handle_invalid( class OefSearchHandler (line 208) | class OefSearchHandler(Handler): method setup (line 213) | def setup(self) -> None: method handle (line 216) | def handle(self, message: Message) -> None: method teardown (line 243) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 246) | def _handle_unidentified_dialogue(self, oef_search_msg: OefSearchMessa... method _handle_error (line 258) | def _handle_error( method _handle_search (line 273) | def _handle_search( method _handle_invalid (line 310) | def _handle_invalid( class ContractApiHandler (line 327) | class ContractApiHandler(Handler): method setup (line 332) | def setup(self) -> None: method handle (line 335) | def handle(self, message: Message) -> None: method teardown (line 363) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 366) | def _handle_unidentified_dialogue( method _handle_raw_message (line 380) | def _handle_raw_message( method _handle_error (line 410) | def _handle_error( method _handle_invalid (line 427) | def _handle_invalid( class SigningHandler (line 446) | class SigningHandler(Handler): method setup (line 451) | def setup(self) -> None: method handle (line 454) | def handle(self, message: Message) -> None: method teardown (line 479) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 482) | def _handle_unidentified_dialogue(self, signing_msg: SigningMessage) -... method _handle_signed_message (line 494) | def _handle_signed_message( method _handle_error (line 522) | def _handle_error( method _handle_invalid (line 537) | def _handle_invalid( class LedgerApiHandler (line 553) | class LedgerApiHandler(Handler): method setup (line 558) | def setup(self) -> None: method handle (line 561) | def handle(self, message: Message) -> None: method teardown (line 588) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 591) | def _handle_unidentified_dialogue(self, ledger_api_msg: LedgerApiMessa... method _handle_balance (line 603) | def _handle_balance(self, ledger_api_msg: LedgerApiMessage) -> None: method _handle_error (line 616) | def _handle_error( method _handle_invalid (line 631) | def _handle_invalid( FILE: packages/fetchai/skills/erc1155_client/strategy.py class Strategy (line 40) | class Strategy(Model): method __init__ (line 43) | def __init__(self, **kwargs: Any) -> None: method ledger_id (line 65) | def ledger_id(self) -> str: method contract_id (line 70) | def contract_id(self) -> str: method get_location_and_service_query (line 74) | def get_location_and_service_query(self) -> Query: method get_service_query (line 95) | def get_service_query(self) -> Query: FILE: packages/fetchai/skills/erc1155_deploy/behaviours.py class ServiceRegistrationBehaviour (line 47) | class ServiceRegistrationBehaviour(TickerBehaviour): method __init__ (line 50) | def __init__(self, **kwargs: Any) -> None: method setup (line 64) | def setup(self) -> None: method act (line 71) | def act(self) -> None: method teardown (line 97) | def teardown(self) -> None: method _retry_failed_registration (line 102) | def _retry_failed_registration(self) -> None: method _request_balance (line 125) | def _request_balance(self) -> None: method _request_contract_deploy_transaction (line 139) | def _request_contract_deploy_transaction(self) -> None: method _request_token_create_transaction (line 164) | def _request_token_create_transaction(self) -> None: method _request_token_mint_transaction (line 191) | def _request_token_mint_transaction(self) -> None: method _register (line 220) | def _register(self, description: Description, logger_msg: str) -> None: method _register_agent (line 238) | def _register_agent(self) -> None: method register_service (line 244) | def register_service(self) -> None: method register_genus (line 250) | def register_genus(self) -> None: method register_classification (line 258) | def register_classification(self) -> None: method _unregister_service (line 266) | def _unregister_service(self) -> None: method _unregister_agent (line 281) | def _unregister_agent(self) -> None: FILE: packages/fetchai/skills/erc1155_deploy/dialogues.py class ContractApiDialogue (line 76) | class ContractApiDialogue(BaseContractApiDialogue): method __init__ (line 81) | def __init__( method terms (line 106) | def terms(self) -> Terms: method terms (line 113) | def terms(self, terms: Terms) -> None: class ContractApiDialogues (line 119) | class ContractApiDialogues(Model, BaseContractApiDialogues): method __init__ (line 122) | def __init__(self, **kwargs: Any) -> None: class DefaultDialogues (line 152) | class DefaultDialogues(Model, BaseDefaultDialogues): method __init__ (line 155) | def __init__(self, **kwargs: Any) -> None: class FipaDialogue (line 181) | class FipaDialogue(BaseFipaDialogue): method __init__ (line 186) | def __init__( method proposal (line 211) | def proposal(self) -> Description: method proposal (line 218) | def proposal(self, proposal: Description) -> None: class FipaDialogues (line 224) | class FipaDialogues(Model, BaseFipaDialogues): method __init__ (line 227) | def __init__(self, **kwargs: Any) -> None: class LedgerApiDialogue (line 254) | class LedgerApiDialogue(BaseLedgerApiDialogue): method __init__ (line 259) | def __init__( method associated_signing_dialogue (line 284) | def associated_signing_dialogue(self) -> "SigningDialogue": method associated_signing_dialogue (line 291) | def associated_signing_dialogue( class LedgerApiDialogues (line 302) | class LedgerApiDialogues(Model, BaseLedgerApiDialogues): method __init__ (line 305) | def __init__(self, **kwargs: Any) -> None: class OefSearchDialogues (line 335) | class OefSearchDialogues(Model, BaseOefSearchDialogues): method __init__ (line 338) | def __init__(self, **kwargs: Any) -> None: class SigningDialogue (line 364) | class SigningDialogue(BaseSigningDialogue): method __init__ (line 369) | def __init__( method associated_contract_api_dialogue (line 396) | def associated_contract_api_dialogue(self) -> ContractApiDialogue: method associated_contract_api_dialogue (line 403) | def associated_contract_api_dialogue( class SigningDialogues (line 414) | class SigningDialogues(Model, BaseSigningDialogues): method __init__ (line 417) | def __init__(self, **kwargs: Any) -> None: FILE: packages/fetchai/skills/erc1155_deploy/handlers.py class FipaHandler (line 60) | class FipaHandler(Handler): method setup (line 65) | def setup(self) -> None: method handle (line 68) | def handle(self, message: Message) -> None: method teardown (line 90) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 93) | def _handle_unidentified_dialogue(self, fipa_msg: FipaMessage) -> None: method _handle_cfp (line 114) | def _handle_cfp(self, fipa_msg: FipaMessage, fipa_dialogue: FipaDialog... method _handle_accept_w_inform (line 146) | def _handle_accept_w_inform( method _handle_invalid (line 205) | def _handle_invalid( class LedgerApiHandler (line 221) | class LedgerApiHandler(Handler): method setup (line 226) | def setup(self) -> None: method handle (line 229) | def handle(self, message: Message) -> None: method teardown (line 266) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 269) | def _handle_unidentified_dialogue(self, ledger_api_msg: LedgerApiMessa... method _handle_balance (line 281) | def _handle_balance(self, ledger_api_msg: LedgerApiMessage) -> None: method _handle_transaction_digest (line 294) | def _handle_transaction_digest( method _handle_transaction_receipt (line 316) | def _handle_transaction_receipt(self, ledger_api_msg: LedgerApiMessage... method _handle_error (line 363) | def _handle_error( method _handle_invalid (line 378) | def _handle_invalid( class ContractApiHandler (line 395) | class ContractApiHandler(Handler): method setup (line 400) | def setup(self) -> None: method handle (line 403) | def handle(self, message: Message) -> None: method teardown (line 434) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 437) | def _handle_unidentified_dialogue( method _handle_raw_transaction (line 451) | def _handle_raw_transaction( method _handle_error (line 477) | def _handle_error( method _handle_invalid (line 494) | def _handle_invalid( class SigningHandler (line 513) | class SigningHandler(Handler): method setup (line 518) | def setup(self) -> None: method handle (line 521) | def handle(self, message: Message) -> None: method teardown (line 546) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 549) | def _handle_unidentified_dialogue(self, signing_msg: SigningMessage) -... method _handle_signed_transaction (line 561) | def _handle_signed_transaction( method _handle_error (line 584) | def _handle_error( method _handle_invalid (line 599) | def _handle_invalid( class OefSearchHandler (line 615) | class OefSearchHandler(Handler): method setup (line 620) | def setup(self) -> None: method handle (line 623) | def handle(self, message: Message) -> None: method teardown (line 650) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 653) | def _handle_unidentified_dialogue(self, oef_search_msg: OefSearchMessa... method _handle_success (line 665) | def _handle_success( method _handle_error (line 718) | def _handle_error( method _handle_invalid (line 748) | def _handle_invalid( FILE: packages/fetchai/skills/erc1155_deploy/strategy.py class Strategy (line 56) | class Strategy(Model): method __init__ (line 59) | def __init__(self, **kwargs: Any) -> None: method ledger_id (line 137) | def ledger_id(self) -> str: method contract_id (line 142) | def contract_id(self) -> str: method mint_quantities (line 147) | def mint_quantities(self) -> List[int]: method token_ids (line 152) | def token_ids(self) -> List[int]: method contract_address (line 159) | def contract_address(self) -> str: method contract_address (line 166) | def contract_address(self, contract_address: str) -> None: method is_contract_deployed (line 172) | def is_contract_deployed(self) -> bool: method is_contract_deployed (line 177) | def is_contract_deployed(self, is_contract_deployed: bool) -> None: method is_tokens_created (line 186) | def is_tokens_created(self) -> bool: method is_tokens_created (line 191) | def is_tokens_created(self, is_tokens_created: bool) -> None: method is_tokens_minted (line 200) | def is_tokens_minted(self) -> bool: method is_tokens_minted (line 205) | def is_tokens_minted(self, is_tokens_minted: bool) -> None: method gas (line 214) | def gas(self) -> int: method get_location_description (line 218) | def get_location_description(self) -> Description: method get_register_service_description (line 230) | def get_register_service_description(self) -> Description: method get_register_personality_description (line 242) | def get_register_personality_description(self) -> Description: method get_register_classification_description (line 254) | def get_register_classification_description(self) -> Description: method get_service_description (line 266) | def get_service_description(self) -> Description: method get_unregister_service_description (line 278) | def get_unregister_service_description(self) -> Description: method get_deploy_terms (line 290) | def get_deploy_terms(self) -> Terms: method get_create_token_terms (line 306) | def get_create_token_terms(self) -> Terms: method get_mint_token_terms (line 322) | def get_mint_token_terms(self) -> Terms: method get_proposal (line 338) | def get_proposal(self) -> Description: method get_single_swap_terms (line 356) | def get_single_swap_terms( FILE: packages/fetchai/skills/error/handlers.py class ErrorHandler (line 33) | class ErrorHandler(Handler): method setup (line 38) | def setup(self) -> None: method handle (line 41) | def handle(self, message: Message) -> None: method teardown (line 48) | def teardown(self) -> None: method send_unsupported_protocol (line 51) | def send_unsupported_protocol(self, envelope: Envelope) -> None: method send_decoding_error (line 82) | def send_decoding_error(self, envelope: Envelope) -> None: method send_unsupported_skill (line 107) | def send_unsupported_skill(self, envelope: Envelope) -> None: FILE: packages/fetchai/skills/error_test_skill/behaviours.py class RaiseErrorBehaviour (line 25) | class RaiseErrorBehaviour(TickerBehaviour): method setup (line 28) | def setup(self) -> None: method act (line 32) | def act(self) -> None: method teardown (line 37) | def teardown(self) -> None: FILE: packages/fetchai/skills/fetch_block/behaviours.py class FetchBlockBehaviour (line 32) | class FetchBlockBehaviour(TickerBehaviour): method __init__ (line 35) | def __init__(self, **kwargs: Any) -> None: method _get_block (line 40) | def _get_block(self) -> None: method setup (line 55) | def setup(self) -> None: method act (line 59) | def act(self) -> None: method teardown (line 65) | def teardown(self) -> None: FILE: packages/fetchai/skills/fetch_block/dialogues.py class LedgerApiDialogue (line 38) | class LedgerApiDialogue(BaseLedgerApiDialogue): method __init__ (line 41) | def __init__( class LedgerApiDialogues (line 65) | class LedgerApiDialogues(Model, BaseLedgerApiDialogues): method __init__ (line 68) | def __init__(self, **kwargs: Any) -> None: FILE: packages/fetchai/skills/fetch_block/handlers.py class LedgerApiHandler (line 35) | class LedgerApiHandler(Handler): method setup (line 40) | def setup(self) -> None: method handle (line 43) | def handle(self, message: Message) -> None: method teardown (line 72) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 75) | def _handle_unidentified_dialogue(self, ledger_api_msg: LedgerApiMessa... method _handle_state (line 87) | def _handle_state(self, ledger_api_msg: LedgerApiMessage) -> None: method _handle_error (line 115) | def _handle_error( method _handle_invalid (line 130) | def _handle_invalid( FILE: packages/fetchai/skills/fipa_dummy_buyer/behaviours.py class FIPAInitializerBehaviour (line 30) | class FIPAInitializerBehaviour(TickerBehaviour): method __init__ (line 33) | def __init__(self, **kwargs: Any) -> None: method setup (line 41) | def setup(self) -> None: method act (line 44) | def act(self) -> None: method teardown (line 61) | def teardown(self) -> None: FILE: packages/fetchai/skills/fipa_dummy_buyer/dialogues.py class FipaDialogues (line 41) | class FipaDialogues(Model, BaseFipaDialogues): method __init__ (line 44) | def __init__(self, **kwargs: Any) -> None: FILE: packages/fetchai/skills/fipa_dummy_buyer/handlers.py class FipaBuyerHandler (line 30) | class FipaBuyerHandler(Handler): method setup (line 35) | def setup(self) -> None: method handle (line 38) | def handle(self, message: Message) -> None: method teardown (line 69) | def teardown(self) -> None: FILE: packages/fetchai/skills/generic_buyer/behaviours.py class GenericSearchBehaviour (line 47) | class GenericSearchBehaviour(TickerBehaviour): method __init__ (line 50) | def __init__(self, **kwargs: Any): method setup (line 57) | def setup(self) -> None: method act (line 74) | def act(self) -> None: method teardown (line 100) | def teardown(self) -> None: class GenericTransactionBehaviour (line 104) | class GenericTransactionBehaviour(TickerBehaviour): method __init__ (line 107) | def __init__(self, **kwargs: Any): method setup (line 121) | def setup(self) -> None: method act (line 124) | def act(self) -> None: method _start_processing (line 137) | def _start_processing(self) -> None: method teardown (line 160) | def teardown(self) -> None: method _timeout_processing (line 163) | def _timeout_processing(self) -> None: method finish_processing (line 172) | def finish_processing(self, ledger_api_dialogue: LedgerApiDialogue) ->... method failed_processing (line 192) | def failed_processing(self, ledger_api_dialogue: LedgerApiDialogue) ->... FILE: packages/fetchai/skills/generic_buyer/dialogues.py class DefaultDialogues (line 73) | class DefaultDialogues(Model, BaseDefaultDialogues): method __init__ (line 76) | def __init__(self, **kwargs: Any) -> None: class FipaDialogue (line 102) | class FipaDialogue(BaseFipaDialogue): method __init__ (line 110) | def __init__( method terms (line 135) | def terms(self) -> Terms: method terms (line 142) | def terms(self, terms: Terms) -> None: class FipaDialogues (line 148) | class FipaDialogues(Model, BaseFipaDialogues): method __init__ (line 151) | def __init__(self, **kwargs: Any) -> None: class LedgerApiDialogue (line 178) | class LedgerApiDialogue(BaseLedgerApiDialogue): method __init__ (line 183) | def __init__( method associated_fipa_dialogue (line 208) | def associated_fipa_dialogue(self) -> FipaDialogue: method associated_fipa_dialogue (line 215) | def associated_fipa_dialogue(self, fipa_dialogue: FipaDialogue) -> None: class LedgerApiDialogues (line 221) | class LedgerApiDialogues(Model, BaseLedgerApiDialogues): method __init__ (line 224) | def __init__(self, **kwargs: Any) -> None: class OefSearchDialogues (line 254) | class OefSearchDialogues(Model, BaseOefSearchDialogues): method __init__ (line 257) | def __init__(self, **kwargs: Any) -> None: class SigningDialogue (line 283) | class SigningDialogue(BaseSigningDialogue): method __init__ (line 288) | def __init__( method associated_ledger_api_dialogue (line 313) | def associated_ledger_api_dialogue(self) -> LedgerApiDialogue: method associated_ledger_api_dialogue (line 320) | def associated_ledger_api_dialogue( class SigningDialogues (line 331) | class SigningDialogues(Model, BaseSigningDialogues): method __init__ (line 334) | def __init__(self, **kwargs: Any) -> None: FILE: packages/fetchai/skills/generic_buyer/handlers.py class GenericFipaHandler (line 56) | class GenericFipaHandler(Handler): method setup (line 61) | def setup(self) -> None: method handle (line 64) | def handle(self, message: Message) -> None: method teardown (line 91) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 94) | def _handle_unidentified_dialogue(self, fipa_msg: FipaMessage) -> None: method _handle_propose (line 113) | def _handle_propose( method _handle_decline (line 152) | def _handle_decline( method _handle_match_accept (line 184) | def _handle_match_accept( method _handle_inform (line 221) | def _handle_inform( method _handle_invalid (line 251) | def _handle_invalid( class GenericOefSearchHandler (line 267) | class GenericOefSearchHandler(Handler): method setup (line 272) | def setup(self) -> None: method handle (line 275) | def handle(self, message: Message) -> None: method teardown (line 302) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 305) | def _handle_unidentified_dialogue(self, oef_search_msg: OefSearchMessa... method _handle_error (line 317) | def _handle_error( method _handle_search (line 332) | def _handle_search( method _handle_invalid (line 374) | def _handle_invalid( class GenericSigningHandler (line 391) | class GenericSigningHandler(Handler): method setup (line 396) | def setup(self) -> None: method handle (line 399) | def handle(self, message: Message) -> None: method teardown (line 424) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 427) | def _handle_unidentified_dialogue(self, signing_msg: SigningMessage) -... method _handle_signed_transaction (line 439) | def _handle_signed_transaction( method _handle_error (line 461) | def _handle_error( method _handle_invalid (line 489) | def _handle_invalid( class GenericLedgerApiHandler (line 505) | class GenericLedgerApiHandler(Handler): method setup (line 510) | def setup(self) -> None: method handle (line 513) | def handle(self, message: Message) -> None: method teardown (line 554) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 557) | def _handle_unidentified_dialogue(self, ledger_api_msg: LedgerApiMessa... method _handle_balance (line 569) | def _handle_balance(self, ledger_api_msg: LedgerApiMessage) -> None: method _handle_raw_transaction (line 591) | def _handle_raw_transaction( method _handle_transaction_digest (line 615) | def _handle_transaction_digest( method _handle_transaction_receipt (line 637) | def _handle_transaction_receipt( method _handle_error (line 684) | def _handle_error( method _handle_invalid (line 711) | def _handle_invalid( FILE: packages/fetchai/skills/generic_buyer/strategy.py class GenericStrategy (line 57) | class GenericStrategy(Model): method __init__ (line 60) | def __init__(self, **kwargs: Any) -> None: method ledger_id (line 103) | def ledger_id(self) -> str: method is_ledger_tx (line 108) | def is_ledger_tx(self) -> bool: method is_stop_searching_on_result (line 113) | def is_stop_searching_on_result(self) -> bool: method is_searching (line 118) | def is_searching(self) -> bool: method is_searching (line 123) | def is_searching(self, is_searching: bool) -> None: method balance (line 129) | def balance(self) -> int: method balance (line 134) | def balance(self, balance: int) -> None: method max_negotiations (line 139) | def max_negotiations(self) -> int: method get_location_and_service_query (line 143) | def get_location_and_service_query(self) -> Query: method get_service_query (line 164) | def get_service_query(self) -> Query: method is_acceptable_proposal (line 180) | def is_acceptable_proposal(self, proposal: Description) -> bool: method is_affordable_proposal (line 212) | def is_affordable_proposal(self, proposal: Description) -> bool: method get_acceptable_counterparties (line 226) | def get_acceptable_counterparties( method terms_from_proposal (line 241) | def terms_from_proposal( method successful_trade_with_counterparty (line 268) | def successful_trade_with_counterparty( method update_search_query_params (line 278) | def update_search_query_params(self) -> None: FILE: packages/fetchai/skills/generic_seller/behaviours.py class GenericServiceRegistrationBehaviour (line 44) | class GenericServiceRegistrationBehaviour(TickerBehaviour): method __init__ (line 47) | def __init__(self, **kwargs: Any): method setup (line 60) | def setup(self) -> None: method act (line 76) | def act(self) -> None: method teardown (line 80) | def teardown(self) -> None: method _retry_failed_registration (line 85) | def _retry_failed_registration(self) -> None: method _register (line 108) | def _register(self, description: Description, logger_msg: str) -> None: method _register_agent (line 126) | def _register_agent(self) -> None: method register_service (line 132) | def register_service(self) -> None: method register_genus (line 138) | def register_genus(self) -> None: method register_classification (line 146) | def register_classification(self) -> None: method _unregister_service (line 154) | def _unregister_service(self) -> None: method _unregister_agent (line 169) | def _unregister_agent(self) -> None: FILE: packages/fetchai/skills/generic_seller/dialogues.py class DefaultDialogues (line 64) | class DefaultDialogues(Model, BaseDefaultDialogues): method __init__ (line 67) | def __init__(self, **kwargs: Any) -> None: class FipaDialogue (line 93) | class FipaDialogue(BaseFipaDialogue): method __init__ (line 98) | def __init__( method terms (line 124) | def terms(self) -> Terms: method terms (line 131) | def terms(self, terms: Terms) -> None: class FipaDialogues (line 137) | class FipaDialogues(Model, BaseFipaDialogues): method __init__ (line 140) | def __init__(self, **kwargs: Any) -> None: class LedgerApiDialogue (line 167) | class LedgerApiDialogue(BaseLedgerApiDialogue): method __init__ (line 172) | def __init__( method associated_fipa_dialogue (line 197) | def associated_fipa_dialogue(self) -> FipaDialogue: method associated_fipa_dialogue (line 204) | def associated_fipa_dialogue(self, fipa_dialogue: FipaDialogue) -> None: class LedgerApiDialogues (line 210) | class LedgerApiDialogues(Model, BaseLedgerApiDialogues): method __init__ (line 213) | def __init__(self, **kwargs: Any) -> None: class OefSearchDialogues (line 243) | class OefSearchDialogues(Model, BaseOefSearchDialogues): method __init__ (line 246) | def __init__(self, **kwargs: Any) -> None: FILE: packages/fetchai/skills/generic_seller/handlers.py class GenericFipaHandler (line 55) | class GenericFipaHandler(Handler): method setup (line 60) | def setup(self) -> None: method handle (line 63) | def handle(self, message: Message) -> None: method teardown (line 90) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 93) | def _handle_unidentified_dialogue(self, fipa_msg: FipaMessage) -> None: method _handle_cfp (line 112) | def _handle_cfp(self, fipa_msg: FipaMessage, fipa_dialogue: FipaDialog... method _handle_decline (line 152) | def _handle_decline( method _handle_accept (line 174) | def _handle_accept( method _handle_inform (line 202) | def _handle_inform( method _handle_invalid (line 268) | def _handle_invalid( class GenericLedgerApiHandler (line 284) | class GenericLedgerApiHandler(Handler): method setup (line 289) | def setup(self) -> None: method handle (line 292) | def handle(self, message: Message) -> None: method teardown (line 324) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 327) | def _handle_unidentified_dialogue(self, ledger_api_msg: LedgerApiMessa... method _handle_balance (line 339) | def _handle_balance(self, ledger_api_msg: LedgerApiMessage) -> None: method _handle_transaction_receipt (line 352) | def _handle_transaction_receipt( method _handle_error (line 402) | def _handle_error( method _handle_invalid (line 417) | def _handle_invalid( class GenericOefSearchHandler (line 434) | class GenericOefSearchHandler(Handler): method setup (line 439) | def setup(self) -> None: method handle (line 442) | def handle(self, message: Message) -> None: method teardown (line 469) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 472) | def _handle_unidentified_dialogue(self, oef_search_msg: OefSearchMessa... method _handle_success (line 484) | def _handle_success( method _handle_error (line 535) | def _handle_error( method _handle_invalid (line 565) | def _handle_invalid( FILE: packages/fetchai/skills/generic_seller/strategy.py class GenericStrategy (line 56) | class GenericStrategy(Model): method __init__ (line 59) | def __init__(self, **kwargs: Any) -> None: method data_for_sale (line 130) | def data_for_sale(self) -> Dict[str, str]: method ledger_id (line 137) | def ledger_id(self) -> str: method is_ledger_tx (line 142) | def is_ledger_tx(self) -> bool: method get_location_description (line 146) | def get_location_description(self) -> Description: method get_register_service_description (line 158) | def get_register_service_description(self) -> Description: method get_register_personality_description (line 170) | def get_register_personality_description(self) -> Description: method get_register_classification_description (line 182) | def get_register_classification_description(self) -> Description: method get_service_description (line 194) | def get_service_description(self) -> Description: method get_unregister_service_description (line 206) | def get_unregister_service_description(self) -> Description: method is_matching_supply (line 218) | def is_matching_supply(self, query: Query) -> bool: method generate_proposal_terms_and_data (line 227) | def generate_proposal_terms_and_data( # pylint: disable=unused-argument method collect_from_data_source (line 271) | def collect_from_data_source(self) -> Dict[str, str]: FILE: packages/fetchai/skills/gym/dialogues.py class DefaultDialogues (line 47) | class DefaultDialogues(Model, BaseDefaultDialogues): method __init__ (line 50) | def __init__(self, **kwargs: Any) -> None: class GymDialogues (line 79) | class GymDialogues(Model, BaseGymDialogues): method __init__ (line 82) | def __init__(self, **kwargs: Any) -> None: FILE: packages/fetchai/skills/gym/handlers.py class GymHandler (line 37) | class GymHandler(Handler): method __init__ (line 42) | def __init__(self, **kwargs: Any): method setup (line 49) | def setup(self) -> None: method handle (line 55) | def handle(self, message: Message) -> None: method _handle_unidentified_dialogue (line 79) | def _handle_unidentified_dialogue(self, gym_msg: GymMessage) -> None: method _handle_percept (line 98) | def _handle_percept(self, gym_msg: GymMessage, gym_dialogue: GymDialog... method _handle_status (line 110) | def _handle_status(self, gym_msg: GymMessage, gym_dialogue: GymDialogu... method _handle_invalid (line 125) | def _handle_invalid(self, gym_msg: GymMessage, gym_dialogue: GymDialog... method teardown (line 138) | def teardown(self) -> None: FILE: packages/fetchai/skills/gym/helpers.py class ProxyEnv (line 49) | class ProxyEnv(gym.Env): method __init__ (line 52) | def __init__(self, skill_context: SkillContext) -> None: method gym_dialogues (line 67) | def gym_dialogues(self) -> GymDialogues: method active_gym_dialogue (line 72) | def active_gym_dialogue(self) -> GymDialogue: method queue (line 79) | def queue(self) -> Queue: method is_rl_agent_trained (line 84) | def is_rl_agent_trained(self) -> bool: method step (line 88) | def step(self, action: Action) -> Feedback: # type: ignore method render (line 129) | def render(self, mode: str = "human") -> None: method reset (line 136) | def reset(self) -> None: # type: ignore # pylint: disable=arguments-d... method close (line 158) | def close(self) -> None: method _encode_and_send_action (line 170) | def _encode_and_send_action(self, action: Action, step_id: int) -> None: method _message_to_percept (line 190) | def _message_to_percept(message: Message) -> Feedback: class RLAgent (line 206) | class RLAgent(ABC): method fit (line 210) | def fit(self, proxy_env: ProxyEnv, nb_steps: int) -> None: FILE: packages/fetchai/skills/gym/rl_agent.py class PriceBandit (line 37) | class PriceBandit: method __init__ (line 40) | def __init__(self, price: float, beta_a: float = 1.0, beta_b: float = ... method sample (line 53) | def sample(self) -> int: method update (line 61) | def update(self, outcome: bool) -> None: class GoodPriceModel (line 72) | class GoodPriceModel: method __init__ (line 75) | def __init__(self, bound: int = 100): method update (line 81) | def update(self, outcome: bool, price: int) -> None: method get_price_expectation (line 91) | def get_price_expectation(self) -> int: class MyRLAgent (line 107) | class MyRLAgent(RLAgent): method __init__ (line 110) | def __init__(self, nb_goods: int, logger: logging.Logger = _default_lo... method _pick_an_action (line 122) | def _pick_an_action(self) -> Any: method _update_model (line 139) | def _update_model( # pylint: disable=unused-argument method _get_random_next_good (line 163) | def _get_random_next_good(self) -> int: method fit (line 171) | def fit(self, proxy_env: ProxyEnv, nb_steps: int) -> None: FILE: packages/fetchai/skills/gym/tasks.py class GymTask (line 32) | class GymTask(Task): method __init__ (line 35) | def __init__(self, skill_context: SkillContext, nb_steps: int = DEFAUL... method _fit (line 44) | def _fit(self, proxy_env: ProxyEnv, nb_steps: int) -> None: method proxy_env (line 50) | def proxy_env(self) -> ProxyEnv: method proxy_env_queue (line 55) | def proxy_env_queue(self) -> Queue: method setup (line 59) | def setup(self) -> None: method execute (line 63) | def execute(self, *args: Any, **kwargs: Any) -> None: method teardown (line 70) | def teardown(self) -> None: method _start_training (line 76) | def _start_training(self) -> None: method _stop_training (line 82) | def _stop_training(self) -> None: FILE: packages/fetchai/skills/hello_world/behaviours.py class HelloWorld (line 30) | class HelloWorld(OneShotBehaviour): method __init__ (line 33) | def __init__(self, **kwargs: Any) -> None: method setup (line 39) | def setup(self) -> None: method act (line 42) | def act(self) -> None: method teardown (line 46) | def teardown(self) -> None: FILE: packages/fetchai/skills/http_echo/dialogues.py class DefaultDialogues (line 47) | class DefaultDialogues(Model, BaseDefaultDialogues): method __init__ (line 50) | def __init__(self, **kwargs: Any) -> None: class HttpDialogues (line 79) | class HttpDialogues(Model, BaseHttpDialogues): method __init__ (line 82) | def __init__(self, **kwargs: Any) -> None: FILE: packages/fetchai/skills/http_echo/handlers.py class HttpHandler (line 37) | class HttpHandler(Handler): method setup (line 42) | def setup(self) -> None: method handle (line 45) | def handle(self, message: Message) -> None: method _handle_unidentified_dialogue (line 66) | def _handle_unidentified_dialogue(self, http_msg: HttpMessage) -> None: method _handle_request (line 85) | def _handle_request( method _handle_get (line 106) | def _handle_get(self, http_msg: HttpMessage, http_dialogue: HttpDialog... method _handle_post (line 125) | def _handle_post(self, http_msg: HttpMessage, http_dialogue: HttpDialo... method _handle_invalid (line 144) | def _handle_invalid( method teardown (line 159) | def teardown(self) -> None: FILE: packages/fetchai/skills/ml_data_provider/dialogues.py class DefaultDialogues (line 66) | class DefaultDialogues(Model, BaseDefaultDialogues): method __init__ (line 69) | def __init__(self, **kwargs: Any) -> None: class MlTradeDialogues (line 98) | class MlTradeDialogues(Model, BaseMlTradeDialogues): method __init__ (line 101) | def __init__(self, **kwargs: Any) -> None: class LedgerApiDialogues (line 130) | class LedgerApiDialogues(Model, BaseLedgerApiDialogues): method __init__ (line 133) | def __init__(self, **kwargs: Any) -> None: class OefSearchDialogues (line 162) | class OefSearchDialogues(Model, BaseOefSearchDialogues): method __init__ (line 165) | def __init__(self, **kwargs: Any) -> None: FILE: packages/fetchai/skills/ml_data_provider/handlers.py class MlTradeHandler (line 47) | class MlTradeHandler(Handler): method setup (line 52) | def setup(self) -> None: method handle (line 55) | def handle(self, message: Message) -> None: method teardown (line 80) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 83) | def _handle_unidentified_dialogue(self, ml_trade_msg: MlTradeMessage) ... method _handle_cft (line 104) | def _handle_cft( method _handle_accept (line 134) | def _handle_accept( method _handle_invalid (line 166) | def _handle_invalid( class LedgerApiHandler (line 182) | class LedgerApiHandler(Handler): method setup (line 187) | def setup(self) -> None: method handle (line 190) | def handle(self, message: Message) -> None: method teardown (line 217) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 220) | def _handle_unidentified_dialogue(self, ledger_api_msg: LedgerApiMessa... method _handle_balance (line 232) | def _handle_balance(self, ledger_api_msg: LedgerApiMessage) -> None: method _handle_error (line 245) | def _handle_error( method _handle_invalid (line 260) | def _handle_invalid( class OefSearchHandler (line 277) | class OefSearchHandler(Handler): method setup (line 282) | def setup(self) -> None: method handle (line 285) | def handle(self, message: Message) -> None: method teardown (line 312) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 315) | def _handle_unidentified_dialogue(self, oef_search_msg: OefSearchMessa... method _handle_success (line 327) | def _handle_success( method _handle_error (line 378) | def _handle_error( method _handle_invalid (line 408) | def _handle_invalid( FILE: packages/fetchai/skills/ml_data_provider/strategy.py class NumpyArrayEncoder (line 52) | class NumpyArrayEncoder(json.JSONEncoder): method default (line 55) | def default( # pylint: disable=arguments-differ,arguments-renamed class Strategy (line 64) | class Strategy(Model): method __init__ (line 67) | def __init__(self, **kwargs: Any) -> None: method ledger_id (line 135) | def ledger_id(self) -> str: method is_ledger_tx (line 140) | def is_ledger_tx(self) -> str: method get_location_description (line 144) | def get_location_description(self) -> Description: method get_register_personality_description (line 156) | def get_register_personality_description(self) -> Description: method get_register_classification_description (line 168) | def get_register_classification_description(self) -> Description: method get_register_service_description (line 180) | def get_register_service_description(self) -> Description: method get_service_description (line 192) | def get_service_description(self) -> Description: method get_unregister_service_description (line 204) | def get_unregister_service_description(self) -> Description: method sample_data (line 216) | def sample_data(self, n: int) -> Tuple: method encode_sample_data (line 229) | def encode_sample_data(data: Tuple) -> bytes: method is_matching_supply (line 237) | def is_matching_supply(self, query: Query) -> bool: method generate_terms (line 247) | def generate_terms(self) -> Description: method is_valid_terms (line 269) | def is_valid_terms(self, terms: Description) -> bool: FILE: packages/fetchai/skills/ml_train/behaviours.py class SearchBehaviour (line 47) | class SearchBehaviour(GenericSearchBehaviour): method act (line 50) | def act(self) -> None: class TransactionBehaviour (line 79) | class TransactionBehaviour(TickerBehaviour): method __init__ (line 82) | def __init__(self, **kwargs: Any): method setup (line 96) | def setup(self) -> None: method act (line 99) | def act(self) -> None: method _start_processing (line 112) | def _start_processing(self) -> None: method teardown (line 136) | def teardown(self) -> None: method _timeout_processing (line 139) | def _timeout_processing(self) -> None: method finish_processing (line 148) | def finish_processing(self, ledger_api_dialogue: LedgerApiDialogue) ->... method failed_processing (line 168) | def failed_processing(self, ledger_api_dialogue: LedgerApiDialogue) ->... FILE: packages/fetchai/skills/ml_train/dialogues.py class DefaultDialogues (line 79) | class DefaultDialogues(Model, BaseDefaultDialogues): method __init__ (line 82) | def __init__(self, **kwargs: Any) -> None: class MlTradeDialogue (line 108) | class MlTradeDialogue(BaseMlTradeDialogue): method __init__ (line 113) | def __init__( method terms (line 139) | def terms(self) -> Terms: method terms (line 146) | def terms(self, terms: Terms) -> None: class MlTradeDialogues (line 152) | class MlTradeDialogues(Model, BaseMlTradeDialogues): method __init__ (line 155) | def __init__(self, **kwargs: Any) -> None: class LedgerApiDialogue (line 181) | class LedgerApiDialogue(BaseLedgerApiDialogue): method __init__ (line 186) | def __init__( method associated_ml_trade_dialogue (line 211) | def associated_ml_trade_dialogue(self) -> MlTradeDialogue: method associated_ml_trade_dialogue (line 218) | def associated_ml_trade_dialogue(self, ml_trade_dialogue: MlTradeDialo... class LedgerApiDialogues (line 226) | class LedgerApiDialogues(Model, BaseLedgerApiDialogues): method __init__ (line 229) | def __init__(self, **kwargs: Any) -> None: class OefSearchDialogues (line 259) | class OefSearchDialogues(Model, BaseOefSearchDialogues): method __init__ (line 262) | def __init__(self, **kwargs: Any) -> None: class SigningDialogue (line 288) | class SigningDialogue(BaseSigningDialogue): method __init__ (line 293) | def __init__( method associated_ledger_api_dialogue (line 318) | def associated_ledger_api_dialogue(self) -> LedgerApiDialogue: method associated_ledger_api_dialogue (line 325) | def associated_ledger_api_dialogue( class SigningDialogues (line 336) | class SigningDialogues(Model, BaseSigningDialogues): method __init__ (line 339) | def __init__(self, **kwargs: Any) -> None: FILE: packages/fetchai/skills/ml_train/handlers.py class MlTradeHandler (line 56) | class MlTradeHandler(Handler): method setup (line 61) | def setup(self) -> None: method handle (line 64) | def handle(self, message: Message) -> None: method teardown (line 89) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 92) | def _handle_unidentified_dialogue(self, ml_trade_msg: MlTradeMessage) ... method _handle_terms (line 113) | def _handle_terms( method _handle_data (line 156) | def _handle_data(self, ml_trade_msg: MlTradeMessage) -> None: method _handle_invalid (line 181) | def _handle_invalid( class OEFSearchHandler (line 197) | class OEFSearchHandler(Handler): method setup (line 202) | def setup(self) -> None: method handle (line 205) | def handle(self, message: Message) -> None: method teardown (line 232) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 235) | def _handle_unidentified_dialogue(self, oef_search_msg: OefSearchMessa... method _handle_error (line 247) | def _handle_error( method _handle_search (line 262) | def _handle_search( method _handle_invalid (line 301) | def _handle_invalid( class LedgerApiHandler (line 318) | class LedgerApiHandler(Handler): method setup (line 323) | def setup(self) -> None: method handle (line 326) | def handle(self, message: Message) -> None: method teardown (line 367) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 370) | def _handle_unidentified_dialogue(self, ledger_api_msg: LedgerApiMessa... method _handle_balance (line 382) | def _handle_balance(self, ledger_api_msg: LedgerApiMessage) -> None: method _handle_raw_transaction (line 404) | def _handle_raw_transaction( method _handle_transaction_digest (line 433) | def _handle_transaction_digest( method _handle_transaction_receipt (line 455) | def _handle_transaction_receipt( method _handle_error (line 505) | def _handle_error( method _handle_invalid (line 532) | def _handle_invalid( class SigningHandler (line 549) | class SigningHandler(Handler): method setup (line 554) | def setup(self) -> None: method handle (line 557) | def handle(self, message: Message) -> None: method teardown (line 582) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 585) | def _handle_unidentified_dialogue(self, signing_msg: SigningMessage) -... method _handle_signed_transaction (line 597) | def _handle_signed_transaction( method _handle_error (line 621) | def _handle_error( method _handle_invalid (line 649) | def _handle_invalid( FILE: packages/fetchai/skills/ml_train/strategy.py class Strategy (line 54) | class Strategy(Model): method __init__ (line 57) | def __init__(self, **kwargs: Any) -> None: method ledger_id (line 96) | def ledger_id(self) -> str: method is_ledger_tx (line 101) | def is_ledger_tx(self) -> str: method max_negotiations (line 106) | def max_negotiations(self) -> int: method is_searching (line 111) | def is_searching(self) -> bool: method is_searching (line 116) | def is_searching(self, is_searching: bool) -> None: method balance (line 122) | def balance(self) -> int: method balance (line 127) | def balance(self, balance: int) -> None: method current_task_id (line 132) | def current_task_id(self) -> Optional[int]: method current_task_id (line 137) | def current_task_id(self, task_id: int) -> None: method weights (line 142) | def weights(self) -> Optional[List[np.ndarray]]: method weights (line 147) | def weights(self, weights: List[np.ndarray]) -> None: method get_next_transaction_id (line 151) | def get_next_transaction_id(self) -> str: method get_location_and_service_query (line 160) | def get_location_and_service_query(self) -> Query: method get_service_query (line 181) | def get_service_query(self) -> Query: method is_acceptable_terms (line 197) | def is_acceptable_terms(self, terms: Description) -> bool: method is_affordable_terms (line 217) | def is_affordable_terms(self, terms: Description) -> bool: method terms_from_proposal (line 235) | def terms_from_proposal(self, proposal: Description) -> Terms: method update_search_query_params (line 259) | def update_search_query_params(self) -> None: method decode_sample_data (line 263) | def decode_sample_data(payload: bytes) -> Optional[Tuple[np.ndarray, n... FILE: packages/fetchai/skills/ml_train/tasks.py class MLTrainTask (line 27) | class MLTrainTask(Task): method __init__ (line 30) | def __init__( method setup (line 43) | def setup(self) -> None: method make_model (line 47) | def make_model(self) -> Any: method execute (line 69) | def execute(self, *args: Any, **kwargs: Any) -> Any: method teardown (line 83) | def teardown(self) -> None: FILE: packages/fetchai/skills/registration_aw1/behaviours.py class AW1RegistrationBehaviour (line 36) | class AW1RegistrationBehaviour(TickerBehaviour): method setup (line 39) | def setup(self) -> None: method act (line 65) | def act(self) -> None: method teardown (line 86) | def teardown(self) -> None: method _register_for_aw1 (line 89) | def _register_for_aw1( FILE: packages/fetchai/skills/registration_aw1/dialogues.py class RegisterDialogues (line 50) | class RegisterDialogues(Model, BaseRegisterDialogues): method __init__ (line 53) | def __init__(self, **kwargs: Any) -> None: class SigningDialogues (line 82) | class SigningDialogues(Model, BaseSigningDialogues): method __init__ (line 85) | def __init__(self, **kwargs: Any) -> None: FILE: packages/fetchai/skills/registration_aw1/handlers.py class AW1RegistrationHandler (line 38) | class AW1RegistrationHandler(Handler): method setup (line 43) | def setup(self) -> None: method handle (line 46) | def handle(self, message: Message) -> None: method teardown (line 71) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 74) | def _handle_unidentified_dialogue(self, register_msg: RegisterMessage)... method _handle_success (line 84) | def _handle_success( method _handle_error (line 107) | def _handle_error( method _handle_invalid (line 126) | def _handle_invalid( class SigningHandler (line 140) | class SigningHandler(Handler): method setup (line 145) | def setup(self) -> None: method handle (line 148) | def handle(self, message: Message) -> None: method teardown (line 173) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 176) | def _handle_unidentified_dialogue(self, signing_msg: SigningMessage) -... method _handle_signed_message (line 186) | def _handle_signed_message( method _handle_error (line 205) | def _handle_error( method _handle_invalid (line 218) | def _handle_invalid( FILE: packages/fetchai/skills/registration_aw1/strategy.py class Strategy (line 37) | class Strategy(Model): method __init__ (line 40) | def __init__(self, **kwargs: Any) -> None: method shared_storage_key (line 93) | def shared_storage_key(self) -> str: method whitelist (line 98) | def whitelist(self) -> List[str]: method ethereum_address (line 103) | def ethereum_address(self) -> str: method ledger_id (line 108) | def ledger_id(self) -> str: method is_ready_to_register (line 113) | def is_ready_to_register(self) -> bool: method is_ready_to_register (line 118) | def is_ready_to_register(self, is_ready_to_register: bool) -> None: method is_registered (line 123) | def is_registered(self) -> bool: method is_registered (line 128) | def is_registered(self, is_registered: bool) -> None: method registration_info (line 134) | def registration_info(self) -> Dict[str, str]: FILE: packages/fetchai/skills/simple_aggregation/behaviours.py class SearchBehaviour (line 44) | class SearchBehaviour(TickerBehaviour): method __init__ (line 47) | def __init__(self, **kwargs: Any) -> None: method setup (line 60) | def setup(self) -> None: method act (line 64) | def act(self) -> None: method teardown (line 80) | def teardown(self) -> None: method _retry_failed_registration (line 85) | def _retry_failed_registration(self) -> None: method _register (line 108) | def _register(self, description: Description, logger_msg: str) -> None: method _register_agent (line 126) | def _register_agent(self) -> None: method register_service (line 132) | def register_service(self) -> None: method register_genus (line 138) | def register_genus(self) -> None: method register_classification (line 146) | def register_classification(self) -> None: method _unregister_service (line 154) | def _unregister_service(self) -> None: method _unregister_agent (line 169) | def _unregister_agent(self) -> None: class AggregationBehaviour (line 185) | class AggregationBehaviour(TickerBehaviour): method __init__ (line 188) | def __init__(self, **kwargs: Any) -> None: method act (line 195) | def act(self) -> None: method broadcast_observation (line 209) | def broadcast_observation(self) -> None: FILE: packages/fetchai/skills/simple_aggregation/dialogues.py class DefaultDialogues (line 53) | class DefaultDialogues(Model, BaseDefaultDialogues): method __init__ (line 56) | def __init__(self, **kwargs: Any) -> None: class AggregationDialogues (line 85) | class AggregationDialogues(Model, BaseAggregationDialogues): method __init__ (line 88) | def __init__(self, **kwargs: Any) -> None: class OefSearchDialogues (line 118) | class OefSearchDialogues(Model, BaseOefSearchDialogues): method __init__ (line 121) | def __init__(self, **kwargs: Any) -> None: FILE: packages/fetchai/skills/simple_aggregation/handlers.py function get_observation_from_message (line 42) | def get_observation_from_message(obs_msg: AggregationMessage) -> Dict[st... class AggregationHandler (line 58) | class AggregationHandler(Handler): method setup (line 63) | def setup(self) -> None: method handle (line 66) | def handle(self, message: Message) -> None: method _handle_unidentified_dialogue (line 97) | def _handle_unidentified_dialogue( method _handle_observation (line 120) | def _handle_observation(self, obs_msg: AggregationMessage) -> None: method _handle_aggregation (line 138) | def _handle_aggregation(self, aggregation_msg: AggregationMessage) -> ... method _handle_invalid (line 148) | def _handle_invalid( method teardown (line 165) | def teardown(self) -> None: class OefSearchHandler (line 169) | class OefSearchHandler(Handler): method setup (line 174) | def setup(self) -> None: method handle (line 177) | def handle(self, message: Message) -> None: method teardown (line 206) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 209) | def _handle_unidentified_dialogue(self, oef_search_msg: OefSearchMessa... method _handle_success (line 221) | def _handle_success( method _handle_error (line 272) | def _handle_error( method _handle_search (line 302) | def _handle_search( method _handle_invalid (line 324) | def _handle_invalid( FILE: packages/fetchai/skills/simple_aggregation/strategy.py class AggregationStrategy (line 60) | class AggregationStrategy(Model): method __init__ (line 63) | def __init__(self, **kwargs: Any) -> None: method ledger_id (line 132) | def ledger_id(self) -> str: method observation (line 137) | def observation(self) -> Optional[Dict[str, Any]]: method peers (line 143) | def peers(self) -> Set[str]: method quantity_name (line 148) | def quantity_name(self) -> str: method add_peers (line 152) | def add_peers(self, found_peers: Tuple[str, ...]) -> None: method add_observation (line 161) | def add_observation(self, peer: Address, obs: Dict[str, Any]) -> None: method make_observation (line 166) | def make_observation( method aggregate_observations (line 177) | def aggregate_observations(self) -> None: method get_location_description (line 194) | def get_location_description(self) -> Description: method get_register_service_description (line 206) | def get_register_service_description(self) -> Description: method get_register_personality_description (line 218) | def get_register_personality_description(self) -> Description: method get_register_classification_description (line 230) | def get_register_classification_description(self) -> Description: method get_unregister_service_description (line 242) | def get_unregister_service_description(self) -> Description: method get_location_and_service_query (line 254) | def get_location_and_service_query(self) -> Query: FILE: packages/fetchai/skills/simple_data_request/behaviours.py class HttpRequestBehaviour (line 37) | class HttpRequestBehaviour(TickerBehaviour): method __init__ (line 40) | def __init__(self, **kwargs: Any): method setup (line 53) | def setup(self) -> None: method act (line 56) | def act(self) -> None: method _generate_http_request (line 67) | def _generate_http_request(self) -> None: method teardown (line 81) | def teardown(self) -> None: FILE: packages/fetchai/skills/simple_data_request/dialogues.py class HttpDialogues (line 40) | class HttpDialogues(Model, BaseHttpDialogues): method __init__ (line 43) | def __init__(self, **kwargs: Any) -> None: FILE: packages/fetchai/skills/simple_data_request/handlers.py class HttpHandler (line 34) | class HttpHandler(Handler): method __init__ (line 39) | def __init__(self, **kwargs: Any): method setup (line 50) | def setup(self) -> None: method handle (line 53) | def handle(self, message: Message) -> None: method _handle_unidentified_dialogue (line 74) | def _handle_unidentified_dialogue(self, http_msg: HttpMessage) -> None: method _handle_response (line 84) | def _handle_response( method _handle_invalid (line 104) | def _handle_invalid( method teardown (line 119) | def teardown(self) -> None: FILE: packages/fetchai/skills/simple_oracle/behaviours.py class SimpleOracleBehaviour (line 48) | class SimpleOracleBehaviour(TickerBehaviour): method __init__ (line 51) | def __init__(self, **kwargs: Any): method setup (line 58) | def setup(self) -> None: method act (line 84) | def act(self) -> None: method _request_contract_deploy_transaction (line 110) | def _request_contract_deploy_transaction(self) -> None: method _request_grant_role_transaction (line 133) | def _request_grant_role_transaction(self) -> None: method _get_tx_expriration_block (line 161) | def _get_tx_expriration_block() -> int: method _request_update_transaction (line 165) | def _request_update_transaction(self, update_kwargs: Dict[str, Any]) -... method _get_balance (line 198) | def _get_balance(self) -> None: method add_prometheus_metric (line 212) | def add_prometheus_metric( method update_prometheus_metric (line 243) | def update_prometheus_metric( method teardown (line 274) | def teardown(self) -> None: FILE: packages/fetchai/skills/simple_oracle/dialogues.py class ContractApiDialogue (line 64) | class ContractApiDialogue(BaseContractApiDialogue): method __init__ (line 69) | def __init__( method terms (line 94) | def terms(self) -> Terms: method terms (line 101) | def terms(self, terms: Terms) -> None: class ContractApiDialogues (line 107) | class ContractApiDialogues(Model, BaseContractApiDialogues): method __init__ (line 110) | def __init__(self, **kwargs: Any) -> None: class LedgerApiDialogue (line 137) | class LedgerApiDialogue(BaseLedgerApiDialogue): method __init__ (line 142) | def __init__( method associated_signing_dialogue (line 168) | def associated_signing_dialogue(self) -> "SigningDialogue": method associated_signing_dialogue (line 175) | def associated_signing_dialogue( class LedgerApiDialogues (line 186) | class LedgerApiDialogues(Model, BaseLedgerApiDialogues): method __init__ (line 189) | def __init__(self, **kwargs: Any) -> None: class SigningDialogue (line 216) | class SigningDialogue(BaseSigningDialogue): method __init__ (line 221) | def __init__( method associated_contract_api_dialogue (line 248) | def associated_contract_api_dialogue(self) -> ContractApiDialogue: method associated_contract_api_dialogue (line 255) | def associated_contract_api_dialogue( class SigningDialogues (line 266) | class SigningDialogues(Model, BaseSigningDialogues): method __init__ (line 269) | def __init__(self, **kwargs: Any) -> None: class PrometheusDialogues (line 296) | class PrometheusDialogues(Model, BasePrometheusDialogues): method __init__ (line 299) | def __init__(self, **kwargs: Any) -> None: FILE: packages/fetchai/skills/simple_oracle/handlers.py class LedgerApiHandler (line 51) | class LedgerApiHandler(Handler): method setup (line 56) | def setup(self) -> None: method handle (line 59) | def handle(self, message: Message) -> None: method teardown (line 99) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 102) | def _handle_unidentified_dialogue(self, ledger_api_msg: LedgerApiMessa... method _handle_balance (line 114) | def _handle_balance(self, ledger_api_msg: LedgerApiMessage) -> None: method _handle_transaction_digest (line 132) | def _handle_transaction_digest( method _request_init_transaction (line 154) | def _request_init_transaction(self, ledger_id: str, tx_receipt: JSONLi... method _save_contract_address_to_file (line 194) | def _save_contract_address_to_file(self) -> None: method _handle_transaction_receipt (line 204) | def _handle_transaction_receipt( method _handle_error (line 278) | def _handle_error( method _handle_invalid (line 293) | def _handle_invalid( class ContractApiHandler (line 310) | class ContractApiHandler(Handler): method setup (line 315) | def setup(self) -> None: method handle (line 318) | def handle(self, message: Message) -> None: method teardown (line 352) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 355) | def _handle_unidentified_dialogue( method _handle_raw_transaction (line 369) | def _handle_raw_transaction( method _handle_error (line 395) | def _handle_error( method _handle_invalid (line 412) | def _handle_invalid( class SigningHandler (line 431) | class SigningHandler(Handler): method setup (line 436) | def setup(self) -> None: method handle (line 439) | def handle(self, message: Message) -> None: method teardown (line 464) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 467) | def _handle_unidentified_dialogue(self, signing_msg: SigningMessage) -... method _handle_signed_transaction (line 479) | def _handle_signed_transaction( method _handle_error (line 502) | def _handle_error( method _handle_invalid (line 517) | def _handle_invalid( class PrometheusHandler (line 533) | class PrometheusHandler(Handler): method setup (line 538) | def setup(self) -> None: method handle (line 543) | def handle(self, message: Message) -> None: method _handle_unidentified_dialogue (line 572) | def _handle_unidentified_dialogue(self, msg: Message) -> None: method teardown (line 583) | def teardown(self) -> None: FILE: packages/fetchai/skills/simple_oracle/strategy.py class Strategy (line 39) | class Strategy(Model): method __init__ (line 42) | def __init__(self, **kwargs: Any) -> None: method ledger_id (line 66) | def ledger_id(self) -> str: method update_function (line 71) | def update_function(self) -> str: method initial_fee_deploy (line 76) | def initial_fee_deploy(self) -> int: method gas_limit_deploy (line 81) | def gas_limit_deploy(self) -> int: method gas_limit_instantiate (line 86) | def gas_limit_instantiate(self) -> int: method gas_limit_grant_role (line 91) | def gas_limit_grant_role(self) -> int: method gas_limit_update (line 96) | def gas_limit_update(self) -> int: method gas_price (line 101) | def gas_price(self) -> int: method oracle_value_name (line 106) | def oracle_value_name(self) -> str: method contract_address_file (line 111) | def contract_address_file(self) -> str: method contract_address (line 116) | def contract_address(self) -> str: method contract_address (line 123) | def contract_address(self, contract_address: str) -> None: method erc20_address (line 129) | def erc20_address(self) -> str: method erc20_address (line 136) | def erc20_address(self, erc20_address: str) -> None: # pragma: nocover method is_contract_deployed (line 142) | def is_contract_deployed(self) -> bool: method is_contract_deployed (line 147) | def is_contract_deployed(self, is_contract_deployed: bool) -> None: method is_oracle_role_granted (line 156) | def is_oracle_role_granted(self) -> bool: method is_oracle_role_granted (line 161) | def is_oracle_role_granted(self, is_oracle_role_granted: bool) -> None: method get_deploy_terms (line 169) | def get_deploy_terms(self, is_init_transaction: bool = False) -> Terms: method get_grant_role_terms (line 195) | def get_grant_role_terms(self) -> Terms: method get_update_terms (line 212) | def get_update_terms(self) -> Terms: method get_deploy_kwargs (line 229) | def get_deploy_kwargs(self) -> Kwargs: FILE: packages/fetchai/skills/simple_oracle_client/behaviours.py class SimpleOracleClientBehaviour (line 46) | class SimpleOracleClientBehaviour(TickerBehaviour): method __init__ (line 49) | def __init__(self, **kwargs: Any): method setup (line 56) | def setup(self) -> None: method act (line 68) | def act(self) -> None: method _request_contract_deploy_transaction (line 89) | def _request_contract_deploy_transaction(self) -> None: method _request_approve_transaction (line 112) | def _request_approve_transaction(self) -> None: method _request_query_transaction (line 140) | def _request_query_transaction(self) -> None: method teardown (line 169) | def teardown(self) -> None: FILE: packages/fetchai/skills/simple_oracle_client/dialogues.py class ContractApiDialogue (line 55) | class ContractApiDialogue(BaseContractApiDialogue): method __init__ (line 60) | def __init__( method terms (line 85) | def terms(self) -> Terms: method terms (line 92) | def terms(self, terms: Terms) -> None: class ContractApiDialogues (line 98) | class ContractApiDialogues(Model, BaseContractApiDialogues): method __init__ (line 101) | def __init__(self, **kwargs: Any) -> None: class LedgerApiDialogue (line 128) | class LedgerApiDialogue(BaseLedgerApiDialogue): method __init__ (line 133) | def __init__( method associated_signing_dialogue (line 159) | def associated_signing_dialogue(self) -> "SigningDialogue": method associated_signing_dialogue (line 166) | def associated_signing_dialogue( class LedgerApiDialogues (line 177) | class LedgerApiDialogues(Model, BaseLedgerApiDialogues): method __init__ (line 180) | def __init__(self, **kwargs: Any) -> None: class SigningDialogue (line 207) | class SigningDialogue(BaseSigningDialogue): method __init__ (line 212) | def __init__( method associated_contract_api_dialogue (line 239) | def associated_contract_api_dialogue(self) -> ContractApiDialogue: method associated_contract_api_dialogue (line 246) | def associated_contract_api_dialogue( class SigningDialogues (line 257) | class SigningDialogues(Model, BaseSigningDialogues): method __init__ (line 260) | def __init__(self, **kwargs: Any) -> None: FILE: packages/fetchai/skills/simple_oracle_client/handlers.py class LedgerApiHandler (line 50) | class LedgerApiHandler(Handler): method setup (line 55) | def setup(self) -> None: method handle (line 58) | def handle(self, message: Message) -> None: method teardown (line 98) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 101) | def _handle_unidentified_dialogue(self, ledger_api_msg: LedgerApiMessa... method _handle_balance (line 113) | def _handle_balance(self, ledger_api_msg: LedgerApiMessage) -> None: method _handle_transaction_digest (line 126) | def _handle_transaction_digest( method _request_init_transaction (line 148) | def _request_init_transaction(self, ledger_id: str, tx_receipt: JSONLi... method _handle_transaction_receipt (line 190) | def _handle_transaction_receipt( method _handle_error (line 262) | def _handle_error( method _handle_invalid (line 277) | def _handle_invalid( class ContractApiHandler (line 294) | class ContractApiHandler(Handler): method setup (line 299) | def setup(self) -> None: method handle (line 302) | def handle(self, message: Message) -> None: method teardown (line 336) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 339) | def _handle_unidentified_dialogue( method _handle_raw_transaction (line 353) | def _handle_raw_transaction( method _handle_error (line 379) | def _handle_error( method _handle_invalid (line 396) | def _handle_invalid( class SigningHandler (line 415) | class SigningHandler(Handler): method setup (line 420) | def setup(self) -> None: method handle (line 423) | def handle(self, message: Message) -> None: method teardown (line 448) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 451) | def _handle_unidentified_dialogue(self, signing_msg: SigningMessage) -... method _handle_signed_transaction (line 463) | def _handle_signed_transaction( method _handle_error (line 486) | def _handle_error( method _handle_invalid (line 501) | def _handle_invalid( FILE: packages/fetchai/skills/simple_oracle_client/strategy.py class Strategy (line 37) | class Strategy(Model): method __init__ (line 40) | def __init__(self, **kwargs: Any) -> None: method ledger_id (line 63) | def ledger_id(self) -> str: method query_function (line 68) | def query_function(self) -> str: method query_oracle_fee (line 73) | def query_oracle_fee(self) -> str: method gas_limit_instantiate (line 78) | def gas_limit_instantiate(self) -> int: method gas_limit_deploy (line 83) | def gas_limit_deploy(self) -> int: method gas_limit_query (line 88) | def gas_limit_query(self) -> int: method gas_limit_approve (line 93) | def gas_limit_approve(self) -> int: method gas_price (line 98) | def gas_price(self) -> int: method approve_amount (line 103) | def approve_amount(self) -> str: method oracle_contract_address (line 108) | def oracle_contract_address(self) -> str: method oracle_contract_address (line 115) | def oracle_contract_address(self, oracle_contract_address: str) -> None: method client_contract_address (line 124) | def client_contract_address(self) -> str: method client_contract_address (line 131) | def client_contract_address(self, client_contract_address: str) -> None: method erc20_address (line 140) | def erc20_address(self) -> str: method erc20_address (line 147) | def erc20_address(self, erc20_address: str) -> None: method is_oracle_contract_set (line 153) | def is_oracle_contract_set(self) -> bool: method is_oracle_contract_set (line 158) | def is_oracle_contract_set(self, is_oracle_contract_set: bool) -> None: method is_oracle_transaction_approved (line 167) | def is_oracle_transaction_approved(self) -> bool: method is_oracle_transaction_approved (line 172) | def is_oracle_transaction_approved( method is_client_contract_deployed (line 183) | def is_client_contract_deployed(self) -> bool: method is_client_contract_deployed (line 188) | def is_client_contract_deployed(self, is_client_contract_deployed: boo... method get_deploy_terms (line 196) | def get_deploy_terms(self, is_init_transaction: bool = False) -> Terms: method get_query_terms (line 222) | def get_query_terms(self) -> Terms: method get_approve_terms (line 239) | def get_approve_terms(self) -> Terms: method get_deploy_kwargs (line 256) | def get_deploy_kwargs(self) -> Kwargs: FILE: packages/fetchai/skills/simple_seller/strategy.py class Strategy (line 28) | class Strategy(GenericStrategy): method __init__ (line 31) | def __init__(self, **kwargs: Any) -> None: method collect_from_data_source (line 42) | def collect_from_data_source(self) -> Dict[str, str]: method _format_data (line 52) | def _format_data(self, data: bytes) -> Dict[str, str]: FILE: packages/fetchai/skills/simple_service_registration/behaviours.py class ServiceRegistrationBehaviour (line 38) | class ServiceRegistrationBehaviour(TickerBehaviour): method __init__ (line 41) | def __init__(self, **kwargs: Any) -> None: method setup (line 54) | def setup(self) -> None: method act (line 58) | def act(self) -> None: method teardown (line 62) | def teardown(self) -> None: method _retry_failed_registration (line 67) | def _retry_failed_registration(self) -> None: method _register (line 90) | def _register(self, description: Description, logger_msg: str) -> None: method _register_agent (line 108) | def _register_agent(self) -> None: method register_service (line 114) | def register_service(self) -> None: method register_genus (line 120) | def register_genus(self) -> None: method register_classification (line 128) | def register_classification(self) -> None: method _unregister_service (line 136) | def _unregister_service(self) -> None: method _unregister_agent (line 151) | def _unregister_agent(self) -> None: FILE: packages/fetchai/skills/simple_service_registration/dialogues.py class OefSearchDialogues (line 43) | class OefSearchDialogues(Model, BaseOefSearchDialogues): method __init__ (line 46) | def __init__(self, **kwargs: Any) -> None: FILE: packages/fetchai/skills/simple_service_registration/handlers.py class OefSearchHandler (line 38) | class OefSearchHandler(Handler): method setup (line 43) | def setup(self) -> None: method handle (line 46) | def handle(self, message: Message) -> None: method teardown (line 73) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 76) | def _handle_unidentified_dialogue(self, oef_search_msg: OefSearchMessa... method _handle_success (line 88) | def _handle_success( method _handle_error (line 139) | def _handle_error( method _handle_invalid (line 169) | def _handle_invalid( FILE: packages/fetchai/skills/simple_service_registration/strategy.py class Strategy (line 41) | class Strategy(Model): method __init__ (line 44) | def __init__(self, **kwargs: Any) -> None: method get_location_description (line 82) | def get_location_description(self) -> Description: method get_register_service_description (line 94) | def get_register_service_description(self) -> Description: method get_register_personality_description (line 106) | def get_register_personality_description(self) -> Description: method get_register_classification_description (line 118) | def get_register_classification_description(self) -> Description: method get_unregister_service_description (line 130) | def get_unregister_service_description(self) -> Description: FILE: packages/fetchai/skills/simple_service_search/behaviours.py class ServiceSearchBehaviour (line 31) | class ServiceSearchBehaviour(TickerBehaviour): method setup (line 34) | def setup(self) -> None: method act (line 37) | def act(self) -> None: method teardown (line 51) | def teardown(self) -> None: FILE: packages/fetchai/skills/simple_service_search/dialogues.py class OefSearchDialogues (line 43) | class OefSearchDialogues(Model, BaseOefSearchDialogues): method __init__ (line 46) | def __init__(self, **kwargs: Any) -> None: FILE: packages/fetchai/skills/simple_service_search/handlers.py class OefSearchHandler (line 35) | class OefSearchHandler(Handler): method setup (line 40) | def setup(self) -> None: method handle (line 43) | def handle(self, message: Message) -> None: method _handle_unidentified_dialogue (line 70) | def _handle_unidentified_dialogue(self, oef_search_msg: OefSearchMessa... method _handle_error (line 82) | def _handle_error( method _handle_search (line 97) | def _handle_search(self, oef_search_msg: OefSearchMessage) -> None: method _handle_invalid (line 120) | def _handle_invalid( method teardown (line 136) | def teardown(self) -> None: FILE: packages/fetchai/skills/simple_service_search/strategy.py class Strategy (line 38) | class Strategy(Model): method __init__ (line 41) | def __init__(self, **kwargs: Any) -> None: method shared_storage_key (line 59) | def shared_storage_key(self) -> str: method get_query (line 63) | def get_query(self) -> Query: FILE: packages/fetchai/skills/tac_control/behaviours.py class TacBehaviour (line 41) | class TacBehaviour(Behaviour): method __init__ (line 44) | def __init__(self, **kwargs: Any): method setup (line 54) | def setup(self) -> None: method act (line 58) | def act(self) -> None: method teardown (line 93) | def teardown(self) -> None: method _retry_failed_registration (line 98) | def _retry_failed_registration(self) -> None: method _register (line 121) | def _register(self, description: Description, logger_msg: str) -> None: method _register_agent (line 139) | def _register_agent(self) -> None: method register_genus (line 145) | def register_genus(self) -> None: method register_classification (line 153) | def register_classification(self) -> None: method _register_tac (line 161) | def _register_tac(self) -> None: method _unregister_tac (line 167) | def _unregister_tac(self) -> None: method _unregister_agent (line 183) | def _unregister_agent(self) -> None: method _start_tac (line 198) | def _start_tac(self, game: Game) -> None: method _cancel_tac (line 251) | def _cancel_tac(self, game: Game) -> None: FILE: packages/fetchai/skills/tac_control/dialogues.py class DefaultDialogues (line 55) | class DefaultDialogues(Model, BaseDefaultDialogues): method __init__ (line 58) | def __init__(self, **kwargs: Any) -> None: class OefSearchDialogues (line 87) | class OefSearchDialogues(Model, BaseOefSearchDialogues): method __init__ (line 90) | def __init__(self, **kwargs: Any) -> None: class TacDialogues (line 119) | class TacDialogues(Model, BaseTacDialogues): method __init__ (line 122) | def __init__(self, **kwargs: Any) -> None: FILE: packages/fetchai/skills/tac_control/game.py class Phase (line 71) | class Phase(Enum): class Configuration (line 88) | class Configuration: method __init__ (line 91) | def __init__( method version_id (line 117) | def version_id(self) -> str: method fee_by_currency_id (line 122) | def fee_by_currency_id(self) -> Dict[str, int]: method agent_addr_to_name (line 127) | def agent_addr_to_name(self) -> Dict[Address, str]: method currency_id_to_name (line 132) | def currency_id_to_name(self) -> Dict[str, str]: method good_id_to_name (line 137) | def good_id_to_name(self) -> Dict[str, str]: method has_contract_address (line 142) | def has_contract_address(self) -> bool: method contract_address (line 147) | def contract_address(self) -> str: method contract_address (line 154) | def contract_address(self, contract_address: str) -> None: method _check_consistency (line 159) | def _check_consistency(self) -> None: class Initialization (line 178) | class Initialization: method __init__ (line 181) | def __init__( method agent_addr_to_currency_endowments (line 214) | def agent_addr_to_currency_endowments(self) -> Dict[Address, CurrencyE... method agent_addr_to_exchange_params (line 219) | def agent_addr_to_exchange_params(self) -> Dict[Address, ExchangeParams]: method agent_addr_to_good_endowments (line 224) | def agent_addr_to_good_endowments(self) -> Dict[Address, GoodEndowment]: method agent_addr_to_utility_params (line 229) | def agent_addr_to_utility_params(self) -> Dict[Address, UtilityParams]: method good_id_to_eq_prices (line 234) | def good_id_to_eq_prices(self) -> Dict[GoodId, float]: method agent_addr_to_eq_good_holdings (line 239) | def agent_addr_to_eq_good_holdings(self) -> Dict[Address, EquilibriumG... method agent_addr_to_eq_currency_holdings (line 244) | def agent_addr_to_eq_currency_holdings( method _check_consistency (line 250) | def _check_consistency(self) -> None: class Transaction (line 322) | class Transaction(Terms): method __init__ (line 325) | def __init__( method sender_signature (line 368) | def sender_signature(self) -> str: method counterparty_signature (line 373) | def counterparty_signature(self) -> str: method has_matching_signatures (line 377) | def has_matching_signatures(self) -> bool: method from_message (line 403) | def from_message(cls, message: TacMessage) -> "Transaction": method __eq__ (line 435) | def __eq__(self, other: Any) -> bool: class AgentState (line 445) | class AgentState: method __init__ (line 448) | def __init__( method agent_address (line 481) | def agent_address(self) -> str: method amount_by_currency_id (line 486) | def amount_by_currency_id(self) -> Dict[CurrencyId, Quantity]: method exchange_params_by_currency_id (line 491) | def exchange_params_by_currency_id(self) -> Dict[CurrencyId, Parameter]: method quantities_by_good_id (line 496) | def quantities_by_good_id(self) -> Dict[GoodId, Quantity]: method utility_params_by_good_id (line 501) | def utility_params_by_good_id(self) -> Dict[GoodId, Parameter]: method get_score (line 505) | def get_score(self) -> float: method is_consistent_transaction (line 522) | def is_consistent_transaction(self, tx: Transaction) -> bool: method apply (line 578) | def apply(self, transactions: List[Transaction]) -> "AgentState": method update (line 591) | def update(self, tx: Transaction) -> None: method __copy__ (line 619) | def __copy__(self) -> "AgentState": method __str__ (line 629) | def __str__(self) -> str: method __eq__ (line 643) | def __eq__(self, other: Any) -> bool: class Transactions (line 656) | class Transactions: method __init__ (line 659) | def __init__(self) -> None: method confirmed (line 667) | def confirmed(self) -> Dict[datetime.datetime, Transaction]: method confirmed_per_agent (line 672) | def confirmed_per_agent( method add (line 678) | def add(self, transaction: Transaction) -> None: class Registration (line 694) | class Registration: method __init__ (line 697) | def __init__(self) -> None: method agent_addr_to_name (line 702) | def agent_addr_to_name(self) -> Dict[str, str]: method nb_agents (line 707) | def nb_agents(self) -> int: method register_agent (line 711) | def register_agent(self, agent_addr: Address, agent_name: str) -> None: method unregister_agent (line 720) | def unregister_agent(self, agent_addr: Address) -> None: class Game (line 729) | class Game(Model): method __init__ (line 732) | def __init__(self, **kwargs: Any) -> None: method phase (line 747) | def phase(self) -> Phase: method phase (line 752) | def phase(self, phase: Phase) -> None: method registration (line 758) | def registration(self) -> Registration: method conf (line 763) | def conf(self) -> Configuration: method initialization (line 770) | def initialization(self) -> Initialization: method initial_agent_states (line 777) | def initial_agent_states(self) -> Dict[str, AgentState]: method current_agent_states (line 784) | def current_agent_states(self) -> Dict[str, AgentState]: method transactions (line 791) | def transactions(self) -> Transactions: method create (line 795) | def create(self) -> None: method is_allowed_to_mint (line 802) | def is_allowed_to_mint(self) -> bool: method is_allowed_to_mint (line 807) | def is_allowed_to_mint(self, is_allowed_to_mint: bool) -> None: method get_next_agent_state_for_minting (line 811) | def get_next_agent_state_for_minting(self) -> Optional[AgentState]: method _generate (line 822) | def _generate(self) -> None: method holdings_summary (line 912) | def holdings_summary(self) -> str: method equilibrium_summary (line 940) | def equilibrium_summary(self) -> str: method is_transaction_valid (line 982) | def is_transaction_valid(self, tx: Transaction) -> bool: method settle_transaction (line 997) | def settle_transaction(self, tx: Transaction) -> None: method get_location_description (line 1019) | def get_location_description(self) -> Description: method get_register_tac_description (line 1031) | def get_register_tac_description(self) -> Description: method get_register_personality_description (line 1039) | def get_register_personality_description(self) -> Description: method get_register_classification_description (line 1051) | def get_register_classification_description(self) -> Description: method get_unregister_tac_description (line 1063) | def get_unregister_tac_description(self) -> Description: FILE: packages/fetchai/skills/tac_control/handlers.py class TacHandler (line 42) | class TacHandler(Handler): method setup (line 47) | def setup(self) -> None: method handle (line 50) | def handle(self, message: Message) -> None: method teardown (line 83) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 86) | def _handle_unidentified_dialogue(self, tac_msg: TacMessage) -> None: method _on_register (line 107) | def _on_register(self, tac_msg: TacMessage, tac_dialogue: TacDialogue)... method _on_unregister (line 171) | def _on_unregister(self, tac_msg: TacMessage, tac_dialogue: TacDialogu... method _on_transaction (line 207) | def _on_transaction(self, tac_msg: TacMessage, tac_dialogue: TacDialog... method _handle_valid_transaction (line 232) | def _handle_valid_transaction( method _handle_invalid_transaction (line 294) | def _handle_invalid_transaction( method _handle_invalid (line 311) | def _handle_invalid(self, tac_msg: TacMessage, tac_dialogue: TacDialog... class OefSearchHandler (line 325) | class OefSearchHandler(Handler): method setup (line 330) | def setup(self) -> None: method handle (line 333) | def handle(self, message: Message) -> None: method teardown (line 360) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 363) | def _handle_unidentified_dialogue(self, oef_search_msg: OefSearchMessa... method _handle_success (line 375) | def _handle_success( method _handle_error (line 426) | def _handle_error( method _handle_invalid (line 456) | def _handle_invalid( FILE: packages/fetchai/skills/tac_control/helpers.py function generate_good_ids (line 38) | def generate_good_ids(nb_goods: int, starting_index: int) -> List[int]: function generate_currency_ids (line 53) | def generate_currency_ids(nb_currencies: int, starting_index: int) -> Li... function generate_currency_id_to_name (line 71) | def generate_currency_id_to_name( function generate_good_id_to_name (line 96) | def generate_good_id_to_name( function determine_scaling_factor (line 119) | def determine_scaling_factor(money_endowment: int) -> float: function generate_good_endowments (line 130) | def generate_good_endowments( function generate_utility_params (line 168) | def generate_utility_params( function _sample_good_instances (line 203) | def _sample_good_instances( function generate_currency_endowments (line 227) | def generate_currency_endowments( function generate_exchange_params (line 242) | def generate_exchange_params( function generate_equilibrium_prices_and_holdings (line 257) | def generate_equilibrium_prices_and_holdings( # pylint: disable=unused-... FILE: packages/fetchai/skills/tac_control/parameters.py class Parameters (line 56) | class Parameters(Model): method __init__ (line 59) | def __init__(self, **kwargs: Any) -> None: method ledger_id (line 186) | def ledger_id(self) -> str: method contract_address (line 191) | def contract_address(self) -> str: method contract_address (line 198) | def contract_address(self, contract_address: str) -> None: method contract_id (line 205) | def contract_id(self) -> str: method is_contract_deployed (line 210) | def is_contract_deployed(self) -> bool: method good_ids (line 215) | def good_ids(self) -> List[int]: method currency_ids (line 220) | def currency_ids(self) -> List[int]: method min_nb_agents (line 225) | def min_nb_agents(self) -> int: method money_endowment (line 230) | def money_endowment(self) -> int: method nb_goods (line 235) | def nb_goods(self) -> int: method nb_currencies (line 240) | def nb_currencies(self) -> int: method currency_id_to_name (line 245) | def currency_id_to_name(self) -> Dict[str, str]: method good_id_to_name (line 250) | def good_id_to_name(self) -> Dict[str, str]: method tx_fee (line 255) | def tx_fee(self) -> int: method gas (line 260) | def gas(self) -> int: method base_good_endowment (line 265) | def base_good_endowment(self) -> int: method lower_bound_factor (line 270) | def lower_bound_factor(self) -> int: method upper_bound_factor (line 275) | def upper_bound_factor(self) -> int: method registration_start_time (line 280) | def registration_start_time(self) -> datetime.datetime: method registration_end_time (line 285) | def registration_end_time(self) -> datetime.datetime: method start_time (line 290) | def start_time(self) -> datetime.datetime: method end_time (line 295) | def end_time(self) -> datetime.datetime: method inactivity_timeout (line 300) | def inactivity_timeout(self) -> int: method whitelist (line 305) | def whitelist(self) -> Set[str]: method version_id (line 310) | def version_id(self) -> str: method agent_location (line 315) | def agent_location(self) -> Dict[str, Location]: method set_service_data (line 320) | def set_service_data(self) -> Dict[str, str]: method set_personality_data (line 325) | def set_personality_data(self) -> Dict[str, str]: method set_classification (line 330) | def set_classification(self) -> Dict[str, str]: method remove_service_data (line 335) | def remove_service_data(self) -> Dict[str, str]: method simple_service_data (line 340) | def simple_service_data(self) -> Dict[str, str]: method _check_consistency (line 344) | def _check_consistency(self) -> None: FILE: packages/fetchai/skills/tac_control_contract/behaviours.py class TacBehaviour (line 43) | class TacBehaviour(BaseTacBehaviour): method setup (line 46) | def setup(self) -> None: method _request_contract_deploy_transaction (line 55) | def _request_contract_deploy_transaction(self) -> None: method act (line 86) | def act(self) -> None: method _request_create_items_transaction (line 147) | def _request_create_items_transaction(self, game: Game) -> None: method _request_mint_items_transaction (line 186) | def _request_mint_items_transaction(self, game: Game) -> None: FILE: packages/fetchai/skills/tac_control_contract/dialogues.py class ContractApiDialogue (line 94) | class ContractApiDialogue(BaseContractApiDialogue): class Callable (line 99) | class Callable(Enum): method __init__ (line 106) | def __init__( method callable (line 132) | def callable(self) -> "Callable": method callable (line 139) | def callable( # pylint: disable=redefined-builtin method terms (line 147) | def terms(self) -> Terms: method terms (line 154) | def terms(self, terms: Terms) -> None: class ContractApiDialogues (line 160) | class ContractApiDialogues(Model, BaseContractApiDialogues): method __init__ (line 163) | def __init__(self, **kwargs: Any) -> None: class SigningDialogue (line 190) | class SigningDialogue(BaseSigningDialogue): method __init__ (line 195) | def __init__( method associated_contract_api_dialogue (line 222) | def associated_contract_api_dialogue(self) -> ContractApiDialogue: method associated_contract_api_dialogue (line 229) | def associated_contract_api_dialogue( class SigningDialogues (line 240) | class SigningDialogues(Model, BaseSigningDialogues): method __init__ (line 243) | def __init__(self, **kwargs: Any) -> None: class LedgerApiDialogue (line 270) | class LedgerApiDialogue(BaseLedgerApiDialogue): method __init__ (line 275) | def __init__( method associated_signing_dialogue (line 300) | def associated_signing_dialogue(self) -> "SigningDialogue": method associated_signing_dialogue (line 307) | def associated_signing_dialogue( class LedgerApiDialogues (line 318) | class LedgerApiDialogues(Model, BaseLedgerApiDialogues): method __init__ (line 321) | def __init__(self, **kwargs: Any) -> None: FILE: packages/fetchai/skills/tac_control_contract/handlers.py class ContractApiHandler (line 63) | class ContractApiHandler(Handler): method setup (line 68) | def setup(self) -> None: method handle (line 71) | def handle(self, message: Message) -> None: method teardown (line 102) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 105) | def _handle_unidentified_dialogue( method _handle_raw_transaction (line 119) | def _handle_raw_transaction( method _handle_error (line 145) | def _handle_error( method _handle_invalid (line 162) | def _handle_invalid( class SigningHandler (line 181) | class SigningHandler(Handler): method setup (line 186) | def setup(self) -> None: method handle (line 189) | def handle(self, message: Message) -> None: method teardown (line 214) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 217) | def _handle_unidentified_dialogue(self, signing_msg: SigningMessage) -... method _handle_signed_transaction (line 229) | def _handle_signed_transaction( method _handle_error (line 252) | def _handle_error( method _handle_invalid (line 267) | def _handle_invalid( class LedgerApiHandler (line 283) | class LedgerApiHandler(Handler): method setup (line 288) | def setup(self) -> None: method handle (line 291) | def handle(self, message: Message) -> None: method teardown (line 328) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 331) | def _handle_unidentified_dialogue(self, ledger_api_msg: LedgerApiMessa... method _handle_balance (line 343) | def _handle_balance(self, ledger_api_msg: LedgerApiMessage) -> None: method _handle_transaction_digest (line 356) | def _handle_transaction_digest( method _request_init_transaction (line 378) | def _request_init_transaction( method _handle_transaction_receipt (line 426) | def _handle_transaction_receipt( method _handle_error (line 504) | def _handle_error( method _handle_invalid (line 519) | def _handle_invalid( FILE: packages/fetchai/skills/tac_control_contract/helpers.py function generate_good_id_to_name (line 39) | def generate_good_id_to_name(good_ids: List[int]) -> Dict[str, str]: function generate_good_ids (line 52) | def generate_good_ids(nb_goods: int) -> List[int]: function generate_currency_id_to_name (line 66) | def generate_currency_id_to_name(currency_ids: List[int]) -> Dict[str, s... function generate_currency_ids (line 80) | def generate_currency_ids(nb_currencies: int) -> List[int]: function determine_scaling_factor (line 95) | def determine_scaling_factor(money_endowment: int) -> float: function generate_good_endowments (line 106) | def generate_good_endowments( function generate_utility_params (line 144) | def generate_utility_params( function _sample_good_instances (line 179) | def _sample_good_instances( function generate_currency_endowments (line 203) | def generate_currency_endowments( function generate_exchange_params (line 218) | def generate_exchange_params( function generate_equilibrium_prices_and_holdings (line 233) | def generate_equilibrium_prices_and_holdings( # pylint: disable=unused-... FILE: packages/fetchai/skills/tac_control_contract/parameters.py class Parameters (line 36) | class Parameters(BaseParameters): method __init__ (line 39) | def __init__(self, **kwargs: Any) -> None: method get_deploy_terms (line 53) | def get_deploy_terms(self, is_init_transaction: bool = False) -> Terms: method get_create_token_terms (line 82) | def get_create_token_terms(self) -> Terms: method get_mint_token_terms (line 98) | def get_mint_token_terms(self) -> Terms: method contract_deploy_tx_fee (line 115) | def contract_deploy_tx_fee(self) -> int: method contract_init_tx_fee (line 120) | def contract_init_tx_fee(self) -> int: method contract_execute_tx_fee (line 125) | def contract_execute_tx_fee(self) -> int: FILE: packages/fetchai/skills/tac_negotiation/behaviours.py class GoodsRegisterAndSearchBehaviour (line 40) | class GoodsRegisterAndSearchBehaviour(TickerBehaviour): method __init__ (line 43) | def __init__(self, **kwargs: Any): method setup (line 56) | def setup(self) -> None: method act (line 59) | def act(self) -> None: method teardown (line 84) | def teardown(self) -> None: method _retry_failed_registration (line 91) | def _retry_failed_registration(self) -> None: method _register (line 114) | def _register(self, description: Description, logger_msg: str) -> None: method _register_agent (line 132) | def _register_agent(self) -> None: method register_service (line 138) | def register_service(self) -> None: method register_genus (line 147) | def register_genus(self) -> None: method register_classification (line 155) | def register_classification(self) -> None: method _unregister_service (line 163) | def _unregister_service(self) -> None: method _unregister_agent (line 182) | def _unregister_agent(self) -> None: method _search_services (line 197) | def _search_services(self) -> None: class TransactionCleanUpBehaviour (line 227) | class TransactionCleanUpBehaviour(TickerBehaviour): method setup (line 230) | def setup(self) -> None: method act (line 233) | def act(self) -> None: method teardown (line 239) | def teardown(self) -> None: FILE: packages/fetchai/skills/tac_negotiation/dialogues.py class FipaDialogue (line 85) | class FipaDialogue(BaseFipaDialogue): method __init__ (line 90) | def __init__( method counterparty_signature (line 117) | def counterparty_signature(self) -> str: method counterparty_signature (line 124) | def counterparty_signature(self, counterparty_signature: str) -> None: method proposal (line 132) | def proposal(self) -> Description: method proposal (line 139) | def proposal(self, proposal: Description) -> None: method terms (line 145) | def terms(self) -> Terms: method terms (line 152) | def terms(self, terms: Terms) -> None: class FipaDialogues (line 158) | class FipaDialogues(Model, BaseFipaDialogues): method __init__ (line 161) | def __init__(self, **kwargs: Any) -> None: class ContractApiDialogue (line 212) | class ContractApiDialogue(BaseContractApiDialogue): method __init__ (line 217) | def __init__( method associated_fipa_dialogue (line 242) | def associated_fipa_dialogue(self) -> FipaDialogue: method associated_fipa_dialogue (line 249) | def associated_fipa_dialogue(self, associated_fipa_dialogue: FipaDialo... class ContractApiDialogues (line 258) | class ContractApiDialogues(Model, BaseContractApiDialogues): method __init__ (line 261) | def __init__(self, **kwargs: Any) -> None: class CosmTradeDialogues (line 291) | class CosmTradeDialogues(Model, BaseCosmTradeDialogues): method __init__ (line 294) | def __init__(self, **kwargs: Any) -> None: class DefaultDialogues (line 324) | class DefaultDialogues(Model, BaseDefaultDialogues): method __init__ (line 327) | def __init__(self, **kwargs: Any) -> None: class LedgerApiDialogue (line 353) | class LedgerApiDialogue(BaseLedgerApiDialogue): method __init__ (line 358) | def __init__( method associated_signing_dialogue (line 383) | def associated_signing_dialogue(self) -> "SigningDialogue": method associated_signing_dialogue (line 390) | def associated_signing_dialogue( class LedgerApiDialogues (line 401) | class LedgerApiDialogues(Model, BaseLedgerApiDialogues): method __init__ (line 404) | def __init__(self, **kwargs: Any) -> None: class OefSearchDialogue (line 431) | class OefSearchDialogue(BaseOefSearchDialogue): method __init__ (line 436) | def __init__( method is_seller_search (line 461) | def is_seller_search(self) -> bool: method is_seller_search (line 468) | def is_seller_search(self, is_seller_search: bool) -> None: class OefSearchDialogues (line 474) | class OefSearchDialogues(Model, BaseOefSearchDialogues): method __init__ (line 477) | def __init__(self, **kwargs: Any) -> None: class SigningDialogue (line 504) | class SigningDialogue(BaseSigningDialogue): method __init__ (line 509) | def __init__( method associated_fipa_dialogue (line 535) | def associated_fipa_dialogue(self) -> FipaDialogue: method associated_fipa_dialogue (line 542) | def associated_fipa_dialogue(self, associated_fipa_dialogue: FipaDialo... method associated_cosm_trade_dialogue (line 551) | def associated_cosm_trade_dialogue(self) -> Optional[CosmTradeDialogue]: method associated_cosm_trade_dialogue (line 556) | def associated_cosm_trade_dialogue( class SigningDialogues (line 567) | class SigningDialogues(Model, BaseSigningDialogues): method __init__ (line 570) | def __init__(self, **kwargs: Any) -> None: FILE: packages/fetchai/skills/tac_negotiation/handlers.py class FipaNegotiationHandler (line 71) | class FipaNegotiationHandler(Handler): method setup (line 76) | def setup(self) -> None: method handle (line 79) | def handle(self, message: Message) -> None: method teardown (line 113) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 116) | def _handle_unidentified_dialogue(self, fipa_msg: FipaMessage) -> None: method _on_cfp (line 137) | def _on_cfp(self, cfp: FipaMessage, fipa_dialogue: FipaDialogue) -> None: method _on_propose (line 180) | def _on_propose(self, propose: FipaMessage, fipa_dialogue: FipaDialogu... method _on_decline (line 224) | def _on_decline(self, decline: FipaMessage, fipa_dialogue: FipaDialogu... method _on_accept (line 261) | def _on_accept(self, accept: FipaMessage, fipa_dialogue: FipaDialogue)... method _on_match_accept (line 375) | def _on_match_accept( class CosmTradeHandler (line 499) | class CosmTradeHandler(Handler): method setup (line 504) | def setup(self) -> None: method handle (line 507) | def handle(self, message: Message) -> None: method teardown (line 554) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 557) | def _handle_unidentified_dialogue(self, cosm_trade_msg: CosmTradeMessa... method _on_signed_tx (line 580) | def _on_signed_tx( method _on_error (line 631) | def _on_error( method _on_end (line 652) | def _on_end( class SigningHandler (line 674) | class SigningHandler(Handler): method setup (line 679) | def setup(self) -> None: method handle (line 682) | def handle(self, message: Message) -> None: method teardown (line 715) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 718) | def _handle_unidentified_dialogue(self, signing_msg: SigningMessage) -... method _handle_signed_message (line 730) | def _handle_signed_message( method _handle_signed_transaction (line 777) | def _handle_signed_transaction( # pylint: disable=unused-argument method _handle_error (line 883) | def _handle_error( method _handle_invalid (line 898) | def _handle_invalid( class LedgerApiHandler (line 914) | class LedgerApiHandler(Handler): method setup (line 919) | def setup(self) -> None: method handle (line 922) | def handle(self, message: Message) -> None: method teardown (line 959) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 962) | def _handle_unidentified_dialogue(self, ledger_api_msg: LedgerApiMessa... method _handle_balance (line 974) | def _handle_balance(self, ledger_api_msg: LedgerApiMessage) -> None: method _handle_transaction_digest (line 987) | def _handle_transaction_digest( method _handle_transaction_receipt (line 1009) | def _handle_transaction_receipt(self, ledger_api_msg: LedgerApiMessage... method _handle_error (line 1032) | def _handle_error( method _handle_invalid (line 1047) | def _handle_invalid( class OefSearchHandler (line 1064) | class OefSearchHandler(Handler): method setup (line 1069) | def setup(self) -> None: method handle (line 1072) | def handle(self, message: Message) -> None: method teardown (line 1101) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 1104) | def _handle_unidentified_dialogue(self, oef_search_msg: OefSearchMessa... method _handle_success (line 1116) | def _handle_success( method _on_oef_error (line 1168) | def _on_oef_error( method _on_search_result (line 1199) | def _on_search_result( method _handle_search (line 1219) | def _handle_search( method _handle_invalid (line 1259) | def _handle_invalid( class ContractApiHandler (line 1276) | class ContractApiHandler(Handler): method setup (line 1281) | def setup(self) -> None: method handle (line 1284) | def handle(self, message: Message) -> None: method teardown (line 1317) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 1320) | def _handle_unidentified_dialogue( method _handle_raw_message (line 1334) | def _handle_raw_message( method _handle_raw_transaction (line 1366) | def _handle_raw_transaction( method _handle_error (line 1394) | def _handle_error( method _handle_invalid (line 1411) | def _handle_invalid( FILE: packages/fetchai/skills/tac_negotiation/helpers.py function _build_goods_datamodel (line 41) | def _build_goods_datamodel(good_ids: List[str], is_supply: bool) -> Data... function build_goods_description (line 83) | def build_goods_description( function build_goods_query (line 109) | def build_goods_query( FILE: packages/fetchai/skills/tac_negotiation/strategy.py class Strategy (line 69) | class Strategy(Model): class RegisterAs (line 72) | class RegisterAs(Enum): class SearchFor (line 79) | class SearchFor(Enum): method __init__ (line 86) | def __init__(self, **kwargs: Any) -> None: method registering_as (line 134) | def registering_as(self) -> str: method searching_for (line 143) | def searching_for(self) -> str: method searching_for_types (line 152) | def searching_for_types(self) -> List[Tuple[bool, str]]: method is_contract_tx (line 162) | def is_contract_tx(self) -> bool: method ledger_id (line 167) | def ledger_id(self) -> str: method contract_id (line 172) | def contract_id(self) -> str: method contract_address (line 177) | def contract_address(self) -> str: method get_location_description (line 185) | def get_location_description(self) -> Description: method get_register_service_description (line 197) | def get_register_service_description(self) -> Description: method get_register_personality_description (line 213) | def get_register_personality_description(self) -> Description: method get_register_classification_description (line 225) | def get_register_classification_description(self) -> Description: method get_unregister_service_description (line 237) | def get_unregister_service_description(self) -> Description: method get_location_and_service_query (line 249) | def get_location_and_service_query(self) -> Query: method get_own_service_description (line 278) | def get_own_service_description(self, is_supply: bool) -> Description: method _supplied_goods (line 306) | def _supplied_goods(good_holdings: Dict[str, int]) -> Dict[str, int]: method _demanded_goods (line 319) | def _demanded_goods(good_holdings: Dict[str, int]) -> Dict[str, int]: method get_own_services_query (line 331) | def get_own_services_query( method _get_proposal_for_query (line 366) | def _get_proposal_for_query( method get_proposal_for_query (line 387) | def get_proposal_for_query( method _generate_candidate_proposals (line 413) | def _generate_candidate_proposals(self, is_seller: bool) -> List[Descr... method is_profitable_transaction (line 485) | def is_profitable_transaction(self, terms: Terms, role: FipaDialogue.R... method terms_from_proposal (line 516) | def terms_from_proposal( method kwargs_from_terms (line 560) | def kwargs_from_terms( FILE: packages/fetchai/skills/tac_negotiation/transactions.py class Transactions (line 38) | class Transactions(Model): method __init__ (line 41) | def __init__(self, **kwargs: Any) -> None: method pending_proposals (line 64) | def pending_proposals( method pending_initial_acceptances (line 71) | def pending_initial_acceptances( method get_next_nonce (line 77) | def get_next_nonce(self) -> str: method update_confirmed_transactions (line 82) | def update_confirmed_transactions(self) -> None: method cleanup_pending_transactions (line 93) | def cleanup_pending_transactions(self) -> None: method add_pending_proposal (line 124) | def add_pending_proposal( method pop_pending_proposal (line 144) | def pop_pending_proposal( method add_pending_initial_acceptance (line 162) | def add_pending_initial_acceptance( method pop_pending_initial_acceptance (line 182) | def pop_pending_initial_acceptance( method _register_transaction_with_time (line 200) | def _register_transaction_with_time(self, transaction_id: str) -> None: method add_locked_tx (line 209) | def add_locked_tx(self, terms: Terms, role: FipaDialogue.Role) -> None: method pop_locked_tx (line 230) | def pop_locked_tx(self, terms: Terms) -> Terms: method ownership_state_after_locks (line 247) | def ownership_state_after_locks(self, is_seller: bool) -> OwnershipState: FILE: packages/fetchai/skills/tac_participation/behaviours.py class TacSearchBehaviour (line 33) | class TacSearchBehaviour(TickerBehaviour): method setup (line 36) | def setup(self) -> None: method act (line 39) | def act(self) -> None: method teardown (line 45) | def teardown(self) -> None: method _search_for_tac (line 48) | def _search_for_tac(self) -> None: class TransactionProcessBehaviour (line 71) | class TransactionProcessBehaviour(TickerBehaviour): method setup (line 74) | def setup(self) -> None: method act (line 77) | def act(self) -> None: method teardown (line 83) | def teardown(self) -> None: method _process_transactions (line 86) | def _process_transactions(self) -> None: FILE: packages/fetchai/skills/tac_participation/dialogues.py class OefSearchDialogues (line 55) | class OefSearchDialogues(Model, BaseOefSearchDialogues): method __init__ (line 58) | def __init__(self, **kwargs: Any) -> None: class StateUpdateDialogues (line 87) | class StateUpdateDialogues(Model, BaseStateUpdateDialogues): method __init__ (line 90) | def __init__(self, **kwargs: Any) -> None: class TacDialogues (line 119) | class TacDialogues(Model, BaseTacDialogues): method __init__ (line 122) | def __init__(self, **kwargs: Any) -> None: FILE: packages/fetchai/skills/tac_participation/game.py class Phase (line 45) | class Phase(Enum): class Configuration (line 55) | class Configuration: method __init__ (line 58) | def __init__( method version_id (line 86) | def version_id(self) -> str: method nb_agents (line 91) | def nb_agents(self) -> int: method nb_goods (line 96) | def nb_goods(self) -> int: method tx_fee (line 101) | def tx_fee(self) -> int: method fee_by_currency_id (line 110) | def fee_by_currency_id(self) -> Dict[str, int]: method agent_addr_to_name (line 115) | def agent_addr_to_name(self) -> Dict[Address, str]: method good_id_to_name (line 120) | def good_id_to_name(self) -> Dict[Address, str]: method agent_addresses (line 125) | def agent_addresses(self) -> List[Address]: method agent_names (line 130) | def agent_names(self) -> List[str]: method good_ids (line 135) | def good_ids(self) -> List[Address]: method good_names (line 140) | def good_names(self) -> List[str]: method controller_addr (line 145) | def controller_addr(self) -> str: method _check_consistency (line 149) | def _check_consistency(self) -> None: class Game (line 174) | class Game(Model): method __init__ (line 177) | def __init__(self, **kwargs: Any): method ledger_id (line 206) | def ledger_id(self) -> str: method is_using_contract (line 211) | def is_using_contract(self) -> bool: method expected_version_id (line 216) | def expected_version_id(self) -> str: method phase (line 221) | def phase(self) -> Phase: method contract_address (line 226) | def contract_address(self) -> str: method contract_address (line 233) | def contract_address(self, contract_address: str) -> None: method tac_dialogue (line 239) | def tac_dialogue(self) -> TacDialogue: method tac_dialogue (line 246) | def tac_dialogue(self, tac_dialogue: TacDialogue) -> None: method state_update_dialogue (line 252) | def state_update_dialogue(self) -> StateUpdateDialogue: method state_update_dialogue (line 259) | def state_update_dialogue(self, state_update_dialogue: StateUpdateDial... method expected_controller_addr (line 265) | def expected_controller_addr(self) -> Address: method conf (line 272) | def conf(self) -> Configuration: method init (line 278) | def init(self, tac_message: TacMessage, controller_addr: Address) -> N... method update_expected_controller_addr (line 305) | def update_expected_controller_addr(self, controller_addr: Address) ->... method update_game_phase (line 316) | def update_game_phase(self, phase: Phase) -> None: method get_game_query (line 324) | def get_game_query(self) -> Query: FILE: packages/fetchai/skills/tac_participation/handlers.py class OefSearchHandler (line 42) | class OefSearchHandler(Handler): method setup (line 47) | def setup(self) -> None: method handle (line 50) | def handle(self, message: Message) -> None: method teardown (line 77) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 80) | def _handle_unidentified_dialogue(self, oef_search_msg: OefSearchMessa... method _on_oef_error (line 92) | def _on_oef_error( method _on_search_result (line 108) | def _on_search_result( method _handle_invalid (line 125) | def _handle_invalid( method _on_controller_search_result (line 141) | def _on_controller_search_result( method _register_to_tac (line 167) | def _register_to_tac(self, controller_addr: Address) -> None: class TacHandler (line 189) | class TacHandler(Handler): method setup (line 194) | def setup(self) -> None: method handle (line 197) | def handle(self, message: Message) -> None: method teardown (line 233) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 236) | def _handle_unidentified_dialogue(self, tac_msg: TacMessage) -> None: method _on_tac_error (line 246) | def _on_tac_error(self, tac_msg: TacMessage, tac_dialogue: TacDialogue... method _on_start (line 270) | def _on_start(self, tac_msg: TacMessage) -> None: method _update_ownership_and_preferences (line 309) | def _update_ownership_and_preferences(self, tac_msg: TacMessage) -> None: method _on_cancelled (line 333) | def _on_cancelled(self, tac_msg: TacMessage) -> None: method _on_transaction_confirmed (line 354) | def _on_transaction_confirmed(self, tac_msg: TacMessage) -> None: method _handle_invalid (line 389) | def _handle_invalid(self, tac_msg: TacMessage, tac_dialogue: TacDialog... FILE: packages/fetchai/skills/task_test_skill/behaviours.py class TaskBehaviour (line 28) | class TaskBehaviour(TickerBehaviour): method setup (line 34) | def setup(self) -> None: method act (line 40) | def act(self) -> None: method set_task (line 48) | def set_task(self) -> None: method get_task_result (line 55) | def get_task_result(self) -> None: method teardown (line 65) | def teardown(self) -> None: FILE: packages/fetchai/skills/task_test_skill/tasks.py class SimpleTask (line 26) | class SimpleTask(Task): method __init__ (line 29) | def __init__(self, data: Any): method execute (line 34) | def execute(self, *args: Any, **kwargs: Any) -> Any: FILE: packages/fetchai/skills/thermometer/strategy.py class Strategy (line 33) | class Strategy(GenericStrategy): method collect_from_data_source (line 36) | def collect_from_data_source(self) -> Dict[str, str]: FILE: packages/fetchai/skills/weather_station/db_communication.py class DBCommunication (line 33) | class DBCommunication: method __init__ (line 36) | def __init__(self) -> None: method db_connection (line 40) | def db_connection(self) -> sqlite3.Connection: method get_data_for_specific_dates (line 49) | def get_data_for_specific_dates( FILE: packages/fetchai/skills/weather_station/dummy_weather_station_data.py class Forecast (line 75) | class Forecast: method add_data (line 79) | def add_data(tagged_data: Dict[str, Union[int, datetime.datetime]]) ->... method generate (line 122) | def generate(self, number_of_entries: int) -> None: FILE: packages/fetchai/skills/weather_station/strategy.py class Strategy (line 34) | class Strategy(GenericStrategy): method __init__ (line 37) | def __init__(self, **kwargs: Any) -> None: method collect_from_data_source (line 48) | def collect_from_data_source(self) -> Dict[str, str]: FILE: plugins/aea-cli-ipfs/aea_cli_ipfs/core.py function ipfs (line 37) | def ipfs(click_context: click.Context) -> None: function process_result (line 60) | def process_result(click_context: click.Context, *_: Any) -> None: function add (line 80) | def add( function remove (line 109) | def remove(click_context: click.Context, hash_: str) -> None: function download (line 132) | def download( FILE: plugins/aea-cli-ipfs/aea_cli_ipfs/ipfs_utils.py class IPFSDaemon (line 30) | class IPFSDaemon: method __init__ (line 37) | def __init__(self) -> None: method is_started (line 42) | def is_started(self) -> bool: method start (line 46) | def start(self) -> None: method stop (line 54) | def stop(self) -> None: # pragma: nocover class BaseIPFSToolException (line 66) | class BaseIPFSToolException(Exception): class RemoveError (line 70) | class RemoveError(BaseIPFSToolException): class PublishError (line 74) | class PublishError(BaseIPFSToolException): class NodeError (line 78) | class NodeError(BaseIPFSToolException): class DownloadError (line 82) | class DownloadError(BaseIPFSToolException): class IPFSTool (line 86) | class IPFSTool: method __init__ (line 89) | def __init__(self, client_options: Optional[Dict] = None): method add (line 98) | def add(self, dir_path: str, pin: bool = True) -> Tuple[str, str, List]: method remove (line 114) | def remove(self, hash_id: str) -> Dict: method download (line 127) | def download(self, hash_id: str, target_dir: str, fix_path: bool = Tru... method publish (line 156) | def publish(self, hash_id: str) -> Dict: method chec_ipfs_node_running (line 171) | def chec_ipfs_node_running(self) -> None: FILE: plugins/aea-cli-ipfs/tests/test_aea_cli_ipfs.py function test_ipfs (line 43) | def test_ipfs(): function test_ipfs_add (line 51) | def test_ipfs_add(): function test_node_not_alive_can_not_be_started (line 79) | def test_node_not_alive_can_not_be_started(): function test_ipfs_download (line 102) | def test_ipfs_download(*_): function test_ipfs_remove (line 116) | def test_ipfs_remove(*_): FILE: plugins/aea-ledger-cosmos/aea_ledger_cosmos/cosmos.py class DataEncrypt (line 105) | class DataEncrypt: method _aes_encrypt (line 109) | def _aes_encrypt( method _password_to_key_and_salt (line 127) | def _password_to_key_and_salt( method _aes_decrypt (line 135) | def _aes_decrypt( method encrypt (line 162) | def encrypt(cls, data: bytes, password: str) -> bytes: method bytes_encode (line 178) | def bytes_encode(data: bytes) -> str: method bytes_decode (line 183) | def bytes_decode(data: str) -> bytes: method decrypt (line 188) | def decrypt(cls, encrypted_data: bytes, password: str) -> bytes: class CosmosHelper (line 209) | class CosmosHelper(Helper): method is_transaction_settled (line 215) | def is_transaction_settled(tx_receipt: JSONLike) -> bool: method get_code_id (line 233) | def get_code_id(cls, tx_receipt: JSONLike) -> Optional[int]: method get_event_attributes (line 250) | def get_event_attributes(tx_receipt: JSONLike) -> Dict: method get_contract_address (line 263) | def get_contract_address(cls, tx_receipt: JSONLike) -> Optional[str]: method is_transaction_valid (line 279) | def is_transaction_valid( method generate_tx_nonce (line 312) | def generate_tx_nonce(seller: Address, client: Address) -> str: method get_address_from_public_key (line 327) | def get_address_from_public_key(cls, public_key: str) -> str: method recover_message (line 344) | def recover_message( method recover_public_keys_from_message (line 362) | def recover_public_keys_from_message( method get_hash (line 387) | def get_hash(message: bytes) -> str: method is_valid_address (line 398) | def is_valid_address(cls, address: Address) -> bool: method load_contract_interface (line 409) | def load_contract_interface(cls, file_path: Path) -> Dict[str, str]: class CosmosCrypto (line 427) | class CosmosCrypto(Crypto[SigningKey]): method __init__ (line 433) | def __init__( method private_key (line 447) | def private_key(self) -> str: method public_key (line 456) | def public_key(self) -> str: method address (line 465) | def address(self) -> str: method load_private_key_from_path (line 474) | def load_private_key_from_path( method sign_message (line 499) | def sign_message( method sign_transaction (line 519) | def sign_transaction(self, transaction: JSONLike) -> JSONLike: method generate_private_key (line 563) | def generate_private_key(cls) -> SigningKey: method encrypt (line 568) | def encrypt(self, password: str) -> str: method decrypt (line 578) | def decrypt(cls, keyfile_json: str, password: str) -> str: class _CosmosApi (line 594) | class _CosmosApi(LedgerApi): method __init__ (line 599) | def __init__(self, **kwargs: Any) -> None: method api (line 612) | def api(self) -> Any: method get_balance (line 616) | def get_balance(self, address: Address) -> Optional[int]: method _try_get_balance (line 625) | def _try_get_balance(self, address: Address) -> Optional[int]: method get_state (line 631) | def get_state( method _try_get_state (line 654) | def _try_get_state( # pylint: disable=unused-argument method get_deploy_transaction (line 668) | def get_deploy_transaction( method _get_storage_transaction (line 759) | def _get_storage_transaction( method _get_init_transaction (line 804) | def _get_init_transaction( method get_handle_transaction (line 867) | def get_handle_transaction( method execute_contract_query (line 937) | def execute_contract_query( method _try_execute_wasm_query (line 954) | def _try_execute_wasm_query( method get_transfer_transaction (line 970) | def get_transfer_transaction( # pylint: disable=arguments-differ method get_packed_exec_msg (line 1038) | def get_packed_exec_msg( method get_packed_send_msg (line 1075) | def get_packed_send_msg( method get_multi_transaction (line 1106) | def get_multi_transaction( method _get_transaction (line 1170) | def _get_transaction( method _try_get_account_number_and_sequence (line 1267) | def _try_get_account_number_and_sequence( method send_signed_transaction (line 1288) | def send_signed_transaction(self, tx_signed: JSONLike) -> Optional[str]: method get_transaction_receipt (line 1315) | def get_transaction_receipt(self, tx_digest: str) -> Optional[JSONLike]: method _try_get_transaction_with_receipt (line 1332) | def _try_get_transaction_with_receipt(self, tx_digest: str) -> Optiona... method get_transaction (line 1344) | def get_transaction(self, tx_digest: str) -> Optional[JSONLike]: method get_contract_instance (line 1357) | def get_contract_instance( method update_with_gas_estimate (line 1370) | def update_with_gas_estimate(self, transaction: JSONLike) -> JSONLike: class CosmosApi (line 1382) | class CosmosApi(_CosmosApi, CosmosHelper): class CosmosFaucetApi (line 1396) | class CosmosFaucetApi(FaucetApi): method __init__ (line 1409) | def __init__( method get_wealth (line 1418) | def get_wealth(self, address: Address, url: Optional[str] = None) -> N... method _try_create_faucet_claim (line 1462) | def _try_create_faucet_claim( method _try_check_faucet_claim (line 1494) | def _try_check_faucet_claim( method _faucet_request_uri (line 1523) | def _faucet_request_uri(cls, url: Optional[str] = None) -> str: method _faucet_status_uri (line 1536) | def _faucet_status_uri(cls, uid: str, url: Optional[str] = None) -> str: FILE: plugins/aea-ledger-cosmos/tests/data/dummy_contract/contract.py class DummyContract (line 26) | class DummyContract(Contract): method some_method (line 30) | def some_method(cls, ledger_api: LedgerApi, contract_address: str) -> ... FILE: plugins/aea-ledger-cosmos/tests/test_cosmos.py function cosmos_private_key_file (line 35) | def cosmos_private_key_file(): function test_creation (line 47) | def test_creation(cosmos_private_key_file): function test_key_file_encryption_decryption (line 55) | def test_key_file_encryption_decryption(cosmos_private_key_file): function test_initialization (line 72) | def test_initialization(): function test_sign_and_recover_message (line 85) | def test_sign_and_recover_message(cosmos_private_key_file): function test_sign_and_recover_message_public_key (line 98) | def test_sign_and_recover_message_public_key(cosmos_private_key_file): function test_get_hash (line 116) | def test_get_hash(): function test_dump_positive (line 123) | def test_dump_positive(cosmos_private_key_file): function test_api_creation (line 129) | def test_api_creation(): function test_api_none (line 134) | def test_api_none(): function test_generate_nonce (line 140) | def test_generate_nonce(): function test_validate_address (line 150) | def test_validate_address(): function test_load_contract_interface (line 157) | def test_load_contract_interface(): function test_helper_is_settled (line 164) | def test_helper_is_settled(): function test_helper_get_code_id (line 172) | def test_helper_get_code_id(): function test_helper_get_contract_address (line 203) | def test_helper_get_contract_address(): function test_cosmos_api_get_deploy_transaction (line 241) | def test_cosmos_api_get_deploy_transaction(*args): function test_cosmos_api_get_handle_transaction (line 250) | def test_cosmos_api_get_handle_transaction(*args): function test_cosmos_api_get_transfer_transaction (line 259) | def test_cosmos_api_get_transfer_transaction(*args): FILE: plugins/aea-ledger-ethereum/aea_ledger_ethereum/ethereum.py function get_gas_price_strategy (line 63) | def get_gas_price_strategy( class SignedTransactionTranslator (line 115) | class SignedTransactionTranslator: method to_dict (line 119) | def to_dict(signed_transaction: SignedTransaction) -> Dict[str, Union[... method from_dict (line 131) | def from_dict(signed_transaction_dict: JSONLike) -> SignedTransaction: class AttributeDictTranslator (line 150) | class AttributeDictTranslator: method _remove_hexbytes (line 154) | def _remove_hexbytes(cls, value: Any) -> Any: method _add_hexbytes (line 171) | def _add_hexbytes(cls, value: Any) -> Any: method _process_list (line 192) | def _process_list(cls, li: list, callable_name: Callable) -> List: method _valid_key (line 197) | def _valid_key(cls, key: Any) -> str: method to_dict (line 204) | def to_dict(cls, attr_dict: Union[AttributeDict, TxReceipt, TxData]) -... method from_dict (line 215) | def from_dict(cls, di: JSONLike) -> AttributeDict: class EthereumCrypto (line 225) | class EthereumCrypto(Crypto[Account]): method __init__ (line 230) | def __init__( method private_key (line 245) | def private_key(self) -> str: method public_key (line 254) | def public_key(self) -> str: method address (line 263) | def address(self) -> str: method load_private_key_from_path (line 272) | def load_private_key_from_path( method sign_message (line 300) | def sign_message(self, message: bytes, is_deprecated_mode: bool = Fals... method sign_transaction (line 319) | def sign_transaction(self, transaction: JSONLike) -> JSONLike: method generate_private_key (line 334) | def generate_private_key(cls) -> Account: method encrypt (line 339) | def encrypt(self, password: str) -> str: method decrypt (line 350) | def decrypt(cls, keyfile_json: str, password: str) -> str: class EthereumHelper (line 367) | class EthereumHelper(Helper): method is_transaction_settled (line 371) | def is_transaction_settled(tx_receipt: JSONLike) -> bool: method get_contract_address (line 384) | def get_contract_address(tx_receipt: JSONLike) -> Optional[str]: method is_transaction_valid (line 395) | def is_transaction_valid( method generate_tx_nonce (line 423) | def generate_tx_nonce(seller: Address, client: Address) -> str: method get_address_from_public_key (line 438) | def get_address_from_public_key(cls, public_key: str) -> str: method recover_message (line 451) | def recover_message( method recover_public_keys_from_message (line 477) | def recover_public_keys_from_message( method get_hash (line 502) | def get_hash(message: bytes) -> str: method load_contract_interface (line 513) | def load_contract_interface(cls, file_path: Path) -> Dict[str, str]: class EthereumApi (line 528) | class EthereumApi(LedgerApi, EthereumHelper): method __init__ (line 533) | def __init__(self, **kwargs: Any): method api (line 546) | def api(self) -> Web3: method get_balance (line 550) | def get_balance(self, address: Address) -> Optional[int]: method _try_get_balance (line 555) | def _try_get_balance(self, address: Address) -> Optional[int]: method get_state (line 560) | def get_state( method _try_get_state (line 568) | def _try_get_state( # pylint: disable=unused-argument method get_transfer_transaction (line 587) | def get_transfer_transaction( # pylint: disable=arguments-differ method _try_get_gas_price (line 638) | def _try_get_gas_price( method _try_get_transaction_count (line 655) | def _try_get_transaction_count(self, address: Address) -> Optional[int]: method update_with_gas_estimate (line 662) | def update_with_gas_estimate(self, transaction: JSONLike) -> JSONLike: method _try_get_gas_estimate (line 681) | def _try_get_gas_estimate(self, transaction: JSONLike) -> Optional[int]: method send_signed_transaction (line 688) | def send_signed_transaction(self, tx_signed: JSONLike) -> Optional[str]: method _try_send_signed_transaction (line 699) | def _try_send_signed_transaction(self, tx_signed: JSONLike) -> Optiona... method get_transaction_receipt (line 716) | def get_transaction_receipt(self, tx_digest: str) -> Optional[JSONLike]: method _try_get_transaction_receipt (line 729) | def _try_get_transaction_receipt(self, tx_digest: str) -> Optional[JSO... method get_transaction (line 741) | def get_transaction(self, tx_digest: str) -> Optional[JSONLike]: method _try_get_transaction (line 752) | def _try_get_transaction(self, tx_digest: str) -> Optional[JSONLike]: method get_contract_instance (line 764) | def get_contract_instance( method get_deploy_transaction (line 788) | def get_deploy_transaction( # pylint: disable=arguments-differ method is_valid_address (line 836) | def is_valid_address(cls, address: Address) -> bool: class EthereumFaucetApi (line 846) | class EthereumFaucetApi(FaucetApi): method get_wealth (line 852) | def get_wealth(self, address: Address, url: Optional[str] = None) -> N... method _try_get_wealth (line 866) | def _try_get_wealth(address: Address, url: Optional[str] = None) -> None: class LruLockWrapper (line 896) | class LruLockWrapper: method __init__ (line 899) | def __init__(self, lru: LRU) -> None: method __getitem__ (line 904) | def __getitem__(self, *args: Any, **kwargs: Any) -> Any: method __setitem__ (line 909) | def __setitem__(self, *args: Any, **kwargs: Any) -> Any: method __contains__ (line 914) | def __contains__(self, *args: Any, **kwargs: Any) -> Any: method __delitem__ (line 919) | def __delitem__(self, *args: Any, **kwargs: Any) -> Any: function set_wrapper_for_web3py_session_cache (line 925) | def set_wrapper_for_web3py_session_cache() -> None: FILE: plugins/aea-ledger-ethereum/tests/conftest.py function action_for_platform (line 76) | def action_for_platform(platform_name: str, skip: bool = True) -> Callable: function ethereum_private_key_file (line 139) | def ethereum_private_key_file(): function ethereum_testnet_config (line 152) | def ethereum_testnet_config(ganache_addr, ganache_port): function ganache_addr (line 165) | def ganache_addr() -> str: function ganache_port (line 171) | def ganache_port() -> int: function ganache_configuration (line 177) | def ganache_configuration(ethereum_private_key_file): function ganache (line 193) | def ganache( function _launch_image (line 208) | def _launch_image( FILE: plugins/aea-ledger-ethereum/tests/data/dummy_contract/contract.py class DummyContract (line 26) | class DummyContract(Contract): method some_method (line 30) | def some_method(cls, ledger_api: LedgerApi, contract_address: str) -> ... FILE: plugins/aea-ledger-ethereum/tests/docker_image.py class DockerImage (line 41) | class DockerImage(ABC): method __init__ (line 46) | def __init__(self, client: docker.DockerClient): method check_skip (line 50) | def check_skip(self): method _check_docker_binary_available (line 58) | def _check_docker_binary_available(self): method tag (line 84) | def tag(self) -> str: method stop_if_already_running (line 87) | def stop_if_already_running(self): method create (line 96) | def create(self) -> Container: method wait (line 100) | def wait(self, max_attempts: int = 15, sleep_rate: float = 1.0) -> bool: class GanacheDockerImage (line 111) | class GanacheDockerImage(DockerImage): method __init__ (line 114) | def __init__( method tag (line 138) | def tag(self) -> str: method _make_ports (line 142) | def _make_ports(self) -> Dict: method _build_command (line 146) | def _build_command(self) -> List[str]: method create (line 155) | def create(self) -> Container: method wait (line 163) | def wait(self, max_attempts: int = 15, sleep_rate: float = 1.0) -> bool: FILE: plugins/aea-ledger-ethereum/tests/test_ethereum.py function test_attribute_dict_translator (line 48) | def test_attribute_dict_translator(): function test_creation (line 62) | def test_creation(ethereum_private_key_file): function test_initialization (line 70) | def test_initialization(): function test_derive_address (line 83) | def test_derive_address(): function test_sign_and_recover_message (line 90) | def test_sign_and_recover_message(ethereum_private_key_file): function test_sign_and_recover_message_deprecated (line 104) | def test_sign_and_recover_message_deprecated(ethereum_private_key_file): function test_sign_and_recover_message_public_key (line 120) | def test_sign_and_recover_message_public_key(ethereum_private_key_file): function test_get_hash (line 135) | def test_get_hash(): function test_dump_positive (line 142) | def test_dump_positive(ethereum_private_key_file): function test_api_creation (line 148) | def test_api_creation(ethereum_testnet_config): function test_api_none (line 153) | def test_api_none(ethereum_testnet_config): function test_validate_address (line 159) | def test_validate_address(): function test_get_balance (line 169) | def test_get_balance(ethereum_testnet_config, ganache, ethereum_private_... function test_get_state (line 183) | def test_get_state(ethereum_testnet_config, ganache): function test_construct_sign_and_submit_transfer_transaction (line 196) | def test_construct_sign_and_submit_transfer_transaction( function test_get_wealth_positive (line 250) | def test_get_wealth_positive(caplog): function test_get_deploy_transaction (line 264) | def test_get_deploy_transaction(ethereum_testnet_config, ganache): function test_load_contract_interface (line 280) | def test_load_contract_interface(): function test_ethereum_api_get_transfer_transaction (line 289) | def test_ethereum_api_get_transfer_transaction(*args): function test_ethereum_api_get_deploy_transaction (line 295) | def test_ethereum_api_get_deploy_transaction(*args): function test_session_cache (line 307) | def test_session_cache(): function test_gas_price_strategy_eth_gasstation (line 317) | def test_gas_price_strategy_eth_gasstation(): function test_gas_price_strategy_not_supported (line 334) | def test_gas_price_strategy_not_supported(caplog): function test_gas_price_strategy_no_api_key (line 346) | def test_gas_price_strategy_no_api_key(caplog): function test_dump_load_with_password (line 358) | def test_dump_load_with_password(): function test_load_errors (line 374) | def test_load_errors(): function test_decrypt_error (line 385) | def test_decrypt_error(): function test_helper_get_contract_address (line 402) | def test_helper_get_contract_address(): FILE: plugins/aea-ledger-ethereum/tests/test_ethereum_contract.py function test_get_contract_instance (line 33) | def test_get_contract_instance(ethereum_testnet_config, ganache): FILE: plugins/aea-ledger-fetchai/aea_ledger_fetchai/_cosmos.py class DataEncrypt (line 105) | class DataEncrypt: method _aes_encrypt (line 109) | def _aes_encrypt( method _password_to_key_and_salt (line 127) | def _password_to_key_and_salt( method _aes_decrypt (line 135) | def _aes_decrypt( method encrypt (line 162) | def encrypt(cls, data: bytes, password: str) -> bytes: method bytes_encode (line 178) | def bytes_encode(data: bytes) -> str: method bytes_decode (line 183) | def bytes_decode(data: str) -> bytes: method decrypt (line 188) | def decrypt(cls, encrypted_data: bytes, password: str) -> bytes: class CosmosHelper (line 209) | class CosmosHelper(Helper): method is_transaction_settled (line 215) | def is_transaction_settled(tx_receipt: JSONLike) -> bool: method get_code_id (line 233) | def get_code_id(cls, tx_receipt: JSONLike) -> Optional[int]: method get_event_attributes (line 250) | def get_event_attributes(tx_receipt: JSONLike) -> Dict: method get_contract_address (line 263) | def get_contract_address(cls, tx_receipt: JSONLike) -> Optional[str]: method is_transaction_valid (line 279) | def is_transaction_valid( method generate_tx_nonce (line 312) | def generate_tx_nonce(seller: Address, client: Address) -> str: method get_address_from_public_key (line 327) | def get_address_from_public_key(cls, public_key: str) -> str: method recover_message (line 344) | def recover_message( method recover_public_keys_from_message (line 362) | def recover_public_keys_from_message( method get_hash (line 387) | def get_hash(message: bytes) -> str: method is_valid_address (line 398) | def is_valid_address(cls, address: Address) -> bool: method load_contract_interface (line 409) | def load_contract_interface(cls, file_path: Path) -> Dict[str, str]: class CosmosCrypto (line 427) | class CosmosCrypto(Crypto[SigningKey]): method __init__ (line 433) | def __init__( method private_key (line 447) | def private_key(self) -> str: method public_key (line 456) | def public_key(self) -> str: method address (line 465) | def address(self) -> str: method load_private_key_from_path (line 474) | def load_private_key_from_path( method sign_message (line 499) | def sign_message( method sign_transaction (line 519) | def sign_transaction(self, transaction: JSONLike) -> JSONLike: method generate_private_key (line 563) | def generate_private_key(cls) -> SigningKey: method encrypt (line 568) | def encrypt(self, password: str) -> str: method decrypt (line 578) | def decrypt(cls, keyfile_json: str, password: str) -> str: class _CosmosApi (line 594) | class _CosmosApi(LedgerApi): method __init__ (line 599) | def __init__(self, **kwargs: Any) -> None: method api (line 612) | def api(self) -> Any: method get_balance (line 616) | def get_balance(self, address: Address) -> Optional[int]: method _try_get_balance (line 625) | def _try_get_balance(self, address: Address) -> Optional[int]: method get_state (line 631) | def get_state( method _try_get_state (line 654) | def _try_get_state( # pylint: disable=unused-argument method get_deploy_transaction (line 668) | def get_deploy_transaction( method _get_storage_transaction (line 759) | def _get_storage_transaction( method _get_init_transaction (line 804) | def _get_init_transaction( method get_handle_transaction (line 867) | def get_handle_transaction( method execute_contract_query (line 937) | def execute_contract_query( method _try_execute_wasm_query (line 954) | def _try_execute_wasm_query( method get_transfer_transaction (line 970) | def get_transfer_transaction( # pylint: disable=arguments-differ method get_packed_exec_msg (line 1038) | def get_packed_exec_msg( method get_packed_send_msg (line 1075) | def get_packed_send_msg( method get_multi_transaction (line 1106) | def get_multi_transaction( method _get_transaction (line 1170) | def _get_transaction( method _try_get_account_number_and_sequence (line 1267) | def _try_get_account_number_and_sequence( method send_signed_transaction (line 1288) | def send_signed_transaction(self, tx_signed: JSONLike) -> Optional[str]: method get_transaction_receipt (line 1315) | def get_transaction_receipt(self, tx_digest: str) -> Optional[JSONLike]: method _try_get_transaction_with_receipt (line 1332) | def _try_get_transaction_with_receipt(self, tx_digest: str) -> Optiona... method get_transaction (line 1344) | def get_transaction(self, tx_digest: str) -> Optional[JSONLike]: method get_contract_instance (line 1357) | def get_contract_instance( method update_with_gas_estimate (line 1370) | def update_with_gas_estimate(self, transaction: JSONLike) -> JSONLike: class CosmosApi (line 1382) | class CosmosApi(_CosmosApi, CosmosHelper): class CosmosFaucetApi (line 1396) | class CosmosFaucetApi(FaucetApi): method __init__ (line 1409) | def __init__( method get_wealth (line 1418) | def get_wealth(self, address: Address, url: Optional[str] = None) -> N... method _try_create_faucet_claim (line 1462) | def _try_create_faucet_claim( method _try_check_faucet_claim (line 1494) | def _try_check_faucet_claim( method _faucet_request_uri (line 1523) | def _faucet_request_uri(cls, url: Optional[str] = None) -> str: method _faucet_status_uri (line 1536) | def _faucet_status_uri(cls, uid: str, url: Optional[str] = None) -> str: FILE: plugins/aea-ledger-fetchai/aea_ledger_fetchai/fetchai.py class FetchAIHelper (line 40) | class FetchAIHelper(CosmosHelper): class FetchAICrypto (line 46) | class FetchAICrypto(CosmosCrypto): # pylint: disable=W0223 class FetchAIApi (line 53) | class FetchAIApi(_CosmosApi, FetchAIHelper): method __init__ (line 58) | def __init__(self, **kwargs: Any) -> None: class FetchAIFaucetApi (line 69) | class FetchAIFaucetApi(CosmosFaucetApi): FILE: plugins/aea-ledger-fetchai/tests/data/dummy_contract/contract.py class DummyContract (line 26) | class DummyContract(Contract): method some_method (line 30) | def some_method(cls, ledger_api: LedgerApi, contract_address: str) -> ... FILE: plugins/aea-ledger-fetchai/tests/test_fetchai.py function fetchai_private_key_file (line 46) | def fetchai_private_key_file(): class MockRequestsResponse (line 58) | class MockRequestsResponse: method __init__ (line 61) | def __init__(self, data, status_code=None): method status_code (line 67) | def status_code(self): method json (line 71) | def json(self): function test_creation (line 76) | def test_creation(fetchai_private_key_file): function test_key_file_encryption_decryption (line 84) | def test_key_file_encryption_decryption(fetchai_private_key_file): function test_initialization (line 101) | def test_initialization(): function test_sign_and_recover_message (line 114) | def test_sign_and_recover_message(fetchai_private_key_file): function test_get_hash (line 127) | def test_get_hash(): function test_dump_positive (line 134) | def test_dump_positive(fetchai_private_key_file): function test_api_creation (line 140) | def test_api_creation(): function test_api_none (line 145) | def test_api_none(): function test_generate_nonce (line 151) | def test_generate_nonce(): function test_get_address_from_public_key (line 161) | def test_get_address_from_public_key(): function test_validate_address (line 168) | def test_validate_address(): function test_construct_sign_and_submit_transfer_transaction (line 178) | def test_construct_sign_and_submit_transfer_transaction(): function test_get_balance (line 232) | def test_get_balance(): function test_get_state (line 245) | def test_get_state(): function get_wealth (line 257) | def get_wealth(address: str): function test_get_wealth_positive (line 274) | def test_get_wealth_positive(caplog): function test_successful_faucet_operation (line 285) | def test_successful_faucet_operation(mock_post, mock_get): function test_successful_realistic_faucet_operation (line 328) | def test_successful_realistic_faucet_operation(mock_post, mock_get): function test_format_default (line 399) | def test_format_default(): function test_get_storage_transaction_cosmwasm (line 439) | def test_get_storage_transaction_cosmwasm(): function test_get_init_transaction_cosmwasm (line 475) | def test_get_init_transaction_cosmwasm(): function test_get_handle_transaction_cosmwasm (line 525) | def test_get_handle_transaction_cosmwasm(): function test_try_execute_wasm_query (line 578) | def test_try_execute_wasm_query(): function test_send_signed_transaction (line 598) | def test_send_signed_transaction(): function test_get_contract_instance (line 628) | def test_get_contract_instance(): function test_helper_get_code_id (line 634) | def test_helper_get_code_id(): function test_helper_get_contract_address (line 665) | def test_helper_get_contract_address(): function test_load_contract_interface (line 700) | def test_load_contract_interface(): function test_construct_init_transaction (line 709) | def test_construct_init_transaction(): function test_construct_handle_transaction (line 737) | def test_construct_handle_transaction(): function test_load_errors (line 762) | def test_load_errors(): function test_decrypt_error (line 773) | def test_decrypt_error(): function test_multiple_signatures_transaction (line 789) | def test_multiple_signatures_transaction(): function test_multiple_signatures_transaction_missing_pubkeys (line 823) | def test_multiple_signatures_transaction_missing_pubkeys(): function test_multiple_signatures_transaction_wrong_number_of_params (line 855) | def test_multiple_signatures_transaction_wrong_number_of_params(): function test_fail_sign_multisig (line 887) | def test_fail_sign_multisig(): function test_send_signed_tx_failed (line 951) | def test_send_signed_tx_failed(): function test_max_gas (line 1009) | def test_max_gas(): function test_get_multi_transaction (line 1036) | def test_get_multi_transaction(): FILE: scripts/acn/k8s_deploy_acn_node.py function _execute_cmd (line 52) | def _execute_cmd(cmd: List[str]) -> Tuple[str, bool]: class DockerDeployment (line 76) | class DockerDeployment: method __init__ (line 79) | def __init__( method build_and_publish (line 98) | def build_and_publish(self) -> bool: class K8sPodDeployment (line 138) | class K8sPodDeployment: method __init__ (line 141) | def __init__( method deploy (line 155) | def deploy(self) -> bool: method delete (line 174) | def delete(self) -> bool: class AcnK8sPodConfig (line 189) | class AcnK8sPodConfig: method __init__ (line 219) | def __init__( method _uri_from_multiaddr (line 333) | def _uri_from_multiaddr(maddr: str) -> Tuple[str, str]: method check_config (line 341) | def check_config(config: Dict[str, str]) -> None: method generate_deployment (line 360) | def generate_deployment(self) -> K8sPodDeployment: function parse_commandline (line 385) | def parse_commandline(): function main (line 591) | def main(): FILE: scripts/acn/run_acn_node_standalone.py class AcnNodeConfig (line 34) | class AcnNodeConfig: method __init__ (line 49) | def __init__( method dump (line 103) | def dump(self, file_path: str) -> None: method from_file (line 110) | def from_file(cls, file_path: str, enable_checks: bool = True) -> "Acn... method check_config (line 152) | def check_config(config: Dict[str, str]) -> None: method _check_uri (line 178) | def _check_uri(uri: str) -> None: method _check_maddr (line 188) | def _check_maddr(maddr: str) -> None: class AcnNodeStandalone (line 198) | class AcnNodeStandalone: method __init__ (line 201) | def __init__(self, config: AcnNodeConfig, libp2p_node_binary: str): method run (line 213) | def run(self): method stop (line 246) | def stop(self): function parse_commandline (line 253) | def parse_commandline(): FILE: scripts/bump_aea_version.py function check_executed (line 120) | def check_executed(func: Callable) -> Callable: function compute_specifier_from_version_custom (line 133) | def compute_specifier_from_version_custom(version: Version) -> str: function get_regex_from_specifier_set (line 150) | def get_regex_from_specifier_set(specifier_set: str) -> str: class PythonPackageVersionBumper (line 175) | class PythonPackageVersionBumper: method __init__ (line 180) | def __init__( method is_executed (line 217) | def is_executed(self) -> bool: method result (line 226) | def result(self) -> bool: method run (line 233) | def run(self) -> bool: method update_version_for_files (line 251) | def update_version_for_files(self) -> None: method update_version_for_package (line 261) | def update_version_for_package(self, new_version: str) -> str: method update_version_for_file (line 301) | def update_version_for_file( method update_version_specifiers (line 327) | def update_version_specifiers( method _replace_specifier_sets (line 363) | def _replace_specifier_sets( method is_different_from_latest_tag (line 377) | def is_different_from_latest_tag(self) -> bool: function parse_args (line 387) | def parse_args() -> argparse.Namespace: function make_aea_bumper (line 414) | def make_aea_bumper(new_aea_version: Version) -> PythonPackageVersionBum... function make_plugin_bumper (line 429) | def make_plugin_bumper( function process_plugins (line 448) | def process_plugins(new_versions: Dict[str, Version]) -> bool: function parse_plugin_versions (line 468) | def parse_plugin_versions(key_value_strings: List[str]) -> Dict[str, Ver... function only_check_bump_needed (line 478) | def only_check_bump_needed() -> int: function bump (line 510) | def bump(arguments: argparse.Namespace) -> int: function main (line 550) | def main() -> None: FILE: scripts/check_copyright_notice.py function check_copyright (line 63) | def check_copyright(file: Path) -> bool: FILE: scripts/check_doc_links.py function is_url_reachable (line 50) | def is_url_reachable(url: str) -> bool: function check_header_in_file (line 73) | def check_header_in_file(header: str, file: Path) -> None: function validate_internal_url (line 88) | def validate_internal_url(file: Path, url: str, all_files: Set[Path]) ->... function _checks_all_html (line 128) | def _checks_all_html(file: Path, regex: Pattern = LINK_PATTERN_MD) -> None: function is_external_url (line 140) | def is_external_url(url: str) -> bool: function validate_external_url (line 150) | def validate_external_url(url: str, file: Path) -> None: function _checks_link (line 161) | def _checks_link( function _checks_image (line 180) | def _checks_image(file: Path, regex: Pattern = IMAGE_PATTERN) -> None: function _checks_target_blank (line 210) | def _checks_target_blank(file: Path) -> None: function check_file (line 227) | def check_file(file: Path, all_files: Set[Path]) -> None: function get_all_docs_files (line 240) | def get_all_docs_files() -> Set[Path]: FILE: scripts/check_imports_and_dependencies.py function list_decorator (line 45) | def list_decorator(fn: Callable) -> Callable: class DependenciesTool (line 55) | class DependenciesTool: method get_package_files (line 59) | def get_package_files(package_name: str) -> List[Path]: method clean_dependency_name (line 77) | def clean_dependency_name(dependecy_specification: str) -> str: class ImportsTool (line 85) | class ImportsTool: method get_imports_for_file (line 89) | def get_imports_for_file(pyfile: Union[str, Path]) -> List[str]: method get_module_file (line 103) | def get_module_file(module_name: str) -> str: method list_all_pyfiles (line 113) | def list_all_pyfiles( method get_third_part_imports_for_file (line 123) | def get_third_part_imports_for_file(cls, pyfile: str) -> Generator: method list_all_pyfiles_with_3rdpart_imports (line 136) | def list_all_pyfiles_with_3rdpart_imports( class CheckTool (line 147) | class CheckTool: method get_section_dependencies_from_setup (line 151) | def get_section_dependencies_from_setup(cls) -> Dict[str, Dict[str, Li... method sections_dependencies_add_files (line 175) | def sections_dependencies_add_files( method run (line 189) | def run(cls) -> None: method make_sections_with_3rdpart_imports (line 223) | def make_sections_with_3rdpart_imports( method check_imports (line 240) | def check_imports( FILE: scripts/check_package_versions_in_docs.py class PackageIdNotFound (line 70) | class PackageIdNotFound(Exception): method __init__ (line 73) | def __init__( function default_config_file_paths (line 102) | def default_config_file_paths() -> Generator: function unified_yaml_load (line 108) | def unified_yaml_load(configuration_file: Path) -> Dict: function get_public_id_from_yaml (line 126) | def get_public_id_from_yaml(configuration_file: Path) -> PublicId: function find_all_packages_ids (line 149) | def find_all_packages_ids() -> Set[PackageId]: function _checks (line 170) | def _checks( function check_add_commands (line 185) | def check_add_commands(file: Path) -> None: function check_fetch_commands (line 200) | def check_fetch_commands(file: Path) -> None: function check_file (line 215) | def check_file(file: Path) -> None: function handle_package_not_found (line 225) | def handle_package_not_found(e: PackageIdNotFound) -> None: FILE: scripts/check_packages.py class DependencyNotFound (line 63) | class DependencyNotFound(Exception): method __init__ (line 66) | def __init__( class EmptyPackageDescription (line 87) | class EmptyPackageDescription(Exception): method __init__ (line 90) | def __init__( function find_all_configuration_files (line 105) | def find_all_configuration_files() -> List: function default_config_file_paths (line 116) | def default_config_file_paths() -> Generator: function get_public_id_from_yaml (line 122) | def get_public_id_from_yaml(configuration_file: Path) -> PublicId: function find_all_packages_ids (line 145) | def find_all_packages_ids() -> Set[PackageId]: function handle_dependency_not_found (line 157) | def handle_dependency_not_found(e: DependencyNotFound) -> None: function handle_empty_package_description (line 168) | def handle_empty_package_description(e: EmptyPackageDescription) -> None: function unified_yaml_load (line 175) | def unified_yaml_load(configuration_file: Path) -> Dict: function check_dependencies (line 193) | def check_dependencies( function check_description (line 224) | def check_description(configuration_file: Path) -> None: FILE: scripts/check_pipfile_and_toxini.py function get_deps_in_pipfile (line 34) | def get_deps_in_pipfile(file: str = "Pipfile") -> Dict[str, str]: function check_versions_in_tox_correct (line 62) | def check_versions_in_tox_correct(file: str = "tox.ini") -> None: function check_match (line 92) | def check_match( FILE: scripts/common.py function setup_logger (line 40) | def setup_logger(name: str) -> logging.Logger: function enforce (line 52) | def enforce(condition: bool, message: str = "") -> None: function check_working_tree_is_dirty (line 58) | def check_working_tree_is_dirty() -> None: function load_protocol_specification_from_string (line 70) | def load_protocol_specification_from_string( function get_protocol_specification_from_readme (line 82) | def get_protocol_specification_from_readme(package_path: Path) -> str: function get_protocol_specification_id_from_specification (line 103) | def get_protocol_specification_id_from_specification(specification: str)... FILE: scripts/deploy_to_registry.py function default_config_file_paths (line 59) | def default_config_file_paths() -> Generator: function unified_yaml_load (line 65) | def unified_yaml_load(configuration_file: Path) -> Dict: function get_public_id_from_yaml (line 83) | def get_public_id_from_yaml(configuration_file: Path) -> PublicId: function find_all_packages_ids (line 98) | def find_all_packages_ids() -> Set[PackageId]: function check_correct_author (line 119) | def check_correct_author(runner: CliRunner) -> None: function push_package (line 137) | def push_package(package_id: PackageId, runner: CliRunner) -> None: function publish_agent (line 219) | def publish_agent(package_id: PackageId, runner: CliRunner) -> None: function check_and_upload (line 279) | def check_and_upload(package_id: PackageId, runner: CliRunner) -> None: function upload_new_packages (line 312) | def upload_new_packages(runner: CliRunner) -> None: FILE: scripts/freeze_dependencies.py function parse_args (line 27) | def parse_args() -> argparse.Namespace: FILE: scripts/generate_all_protocols.py function subdirs (line 75) | def subdirs(path: Path) -> Iterator[Path]: function find_protocols_in_local_registry (line 80) | def find_protocols_in_local_registry() -> Iterator[Path]: function log (line 89) | def log(message: str, level: int = logging.INFO) -> None: function run_cli (line 97) | def run_cli(*args: Any, **kwargs: Any) -> None: function run_aea (line 107) | def run_aea(*args: Any, **kwargs: Any) -> None: class AEAProject (line 117) | class AEAProject: method __init__ (line 123) | def __init__(self, name: str = "my_aea", parent_dir: Optional[str] = N... method __enter__ (line 133) | def __enter__(self) -> None: method __exit__ (line 142) | def __exit__(self, exc_type, exc_val, exc_tb) -> None: # type: ignore function _save_specification_in_temporary_file (line 148) | def _save_specification_in_temporary_file( function _generate_protocol (line 164) | def _generate_protocol(package_path: Path) -> None: function run_isort_and_black (line 175) | def run_isort_and_black(directory: Path, **kwargs: Any) -> None: function replace_in_directory (line 197) | def replace_in_directory(name: str, replacement_pairs: List[Tuple[str, s... function _fix_generated_protocol (line 214) | def _fix_generated_protocol(package_path: Path) -> None: function _set_copyright_header (line 265) | def _set_copyright_header(package_path: Path) -> None: function _update_original_protocol (line 282) | def _update_original_protocol(package_path: Path) -> None: function _fingerprint_protocol (line 293) | def _fingerprint_protocol(name: str) -> None: function _parse_generator_docstring (line 304) | def _parse_generator_docstring(package_path: Path) -> str: function _replace_generator_docstring (line 325) | def _replace_generator_docstring(package_path: Path, replacement: str) -... function _process_packages_protocol (line 341) | def _process_packages_protocol( function _check_preliminaries (line 380) | def _check_preliminaries() -> None: function _process_test_protocol (line 399) | def _process_test_protocol(specification: Path, package_path: Path) -> N... function download_package (line 423) | def download_package(package_id: PackageId, destination_path: str) -> None: function _bump_protocol_specification_id (line 432) | def _bump_protocol_specification_id( function _bump_protocol_specification_id_if_needed (line 447) | def _bump_protocol_specification_id_if_needed(package_path: Path) -> None: function main (line 502) | def main(no_bump: bool = False) -> None: FILE: scripts/generate_api_docs.py function create_subdir (line 65) | def create_subdir(path: str) -> None: function replace_underscores (line 75) | def replace_underscores(text: str) -> str: function is_relative_to (line 87) | def is_relative_to(p1: Path, p2: Path) -> bool: function is_not_dir (line 92) | def is_not_dir(p: Path) -> bool: function should_skip (line 97) | def should_skip(module_path: Path) -> bool: function _generate_apidocs_aea_modules (line 111) | def _generate_apidocs_aea_modules() -> None: function _generate_apidocs_default_packages (line 125) | def _generate_apidocs_default_packages() -> None: function _generate_apidocs_plugins (line 143) | def _generate_apidocs_plugins() -> None: function make_pydoc (line 161) | def make_pydoc(dotted_path: str, dest_file: Path) -> None: function run_pydoc_markdown (line 176) | def run_pydoc_markdown(module: str) -> str: function generate_api_docs (line 193) | def generate_api_docs() -> None: function install (line 202) | def install(package: str) -> int: FILE: scripts/generate_ipfs_hashes.py function _get_all_packages (line 76) | def _get_all_packages() -> List[Tuple[PackageType, Path]]: function sort_configuration_file (line 128) | def sort_configuration_file(config: PackageConfiguration) -> None: function ipfs_hashing (line 146) | def ipfs_hashing( function to_csv (line 182) | def to_csv(package_hashes: Dict[str, str], path: str) -> None: function from_csv (line 193) | def from_csv(path: str) -> Dict[str, str]: function is_port_open (line 205) | def is_port_open(host: str, port: int) -> bool: class IPFSDaemon (line 215) | class IPFSDaemon: method __init__ (line 222) | def __init__(self, timeout: float = 15.0, port: int = 5001): method __enter__ (line 243) | def __enter__(self) -> None: method __exit__ (line 259) | def __exit__(self, exc_type, exc_val, exc_tb) -> None: # type: ignore function load_configuration (line 272) | def load_configuration( function assert_hash_consistency (line 294) | def assert_hash_consistency( function _replace_fingerprint_non_invasive (line 313) | def _replace_fingerprint_non_invasive( function compute_fingerprint (line 337) | def compute_fingerprint( # pylint: disable=unsubscriptable-object function update_fingerprint (line 358) | def update_fingerprint( function check_fingerprint (line 383) | def check_fingerprint( function parse_arguments (line 411) | def parse_arguments() -> argparse.Namespace: function update_hashes (line 434) | def update_hashes(timeout: float = 15.0) -> int: function check_same_ipfs_hash (line 482) | def check_same_ipfs_hash( function check_hashes (line 518) | def check_hashes(timeout: float = 15.0) -> int: function clean_directory (line 557) | def clean_directory() -> None: FILE: scripts/ledger_network_update.py class NetworkConfig (line 37) | class NetworkConfig: method __init__ (line 48) | def __init__( method make_faucet_url (line 78) | def make_faucet_url(net_name) -> str: method make_explorer_url (line 83) | def make_explorer_url(net_name) -> str: method __str__ (line 87) | def __str__(self) -> str: function _get_value (line 100) | def _get_value(variable_name: str, text: str) -> str: class NetworkUpdate (line 107) | class NetworkUpdate: method get_current_config (line 115) | def get_current_config() -> NetworkConfig: method get_new_config (line 156) | def get_new_config(self) -> NetworkConfig: method get_current_cosmpy_version (line 195) | def get_current_cosmpy_version() -> str: method get_cosmpy_version (line 209) | def get_cosmpy_version(self): method run (line 221) | def run(self): method update_protobuf (line 253) | def update_protobuf(): method update_spelling (line 257) | def update_spelling(self): method update_cosmpy_version (line 266) | def update_cosmpy_version(self): method update_aea_ledger_crypto (line 302) | def update_aea_ledger_crypto(self): method update_docs (line 322) | def update_docs(self): method update_conftest (line 371) | def update_conftest(self): method update_packages (line 386) | def update_packages(self): method update_plugins (line 402) | def update_plugins(self): method print_footer (line 440) | def print_footer(): FILE: scripts/oef/launch.py function run (line 30) | def run(cmd): function error (line 45) | def error(*x): function fail (line 49) | def fail(*x): function pull_image (line 54) | def pull_image(run_sudo, img): function parse_command (line 69) | def parse_command(j): function launch_job (line 82) | def launch_job(args, j): function main (line 125) | def main(args): FILE: scripts/parse_main_dependencies_from_lock.py function parse_args (line 26) | def parse_args() -> argparse.Namespace: FILE: scripts/update_package_versions.py function get_protocol_specification_header_regex (line 72) | def get_protocol_specification_header_regex(public_id: PublicId) -> Patt... function check_positive (line 83) | def check_positive(value: Any) -> int: function parse_arguments (line 93) | def parse_arguments() -> argparse.Namespace: function get_hashes_from_last_release (line 124) | def get_hashes_from_last_release() -> Dict[str, str]: function get_hashes_from_current_release (line 138) | def get_hashes_from_current_release() -> Dict[str, str]: function split_hashes_by_type (line 148) | def split_hashes_by_type(all_hashes: Dict[str, str]) -> Dict[str, Dict[s... function get_configuration_file_path (line 166) | def get_configuration_file_path(type_: str, name: str) -> Path: function unified_yaml_load (line 178) | def unified_yaml_load(configuration_file: Path) -> Dict: function get_public_id_from_yaml (line 196) | def get_public_id_from_yaml(configuration_file_path: Path) -> PublicId: function public_id_in_registry (line 211) | def public_id_in_registry(type_: str, name: str) -> PublicId: function get_all_protocol_spec_ids (line 240) | def get_all_protocol_spec_ids() -> Set[PublicId]: function get_all_package_ids (line 263) | def get_all_package_ids() -> Set[PackageId]: function get_public_ids_to_update (line 279) | def get_public_ids_to_update() -> Set[PackageId]: function _get_ambiguous_public_ids (line 336) | def _get_ambiguous_public_ids() -> Set[PublicId]: function _sort_in_update_order (line 351) | def _sort_in_update_order(package_ids: Set[PackageId]) -> List[PackageId]: function minor_version_difference (line 379) | def minor_version_difference( function _can_disambiguate_from_context (line 387) | def _can_disambiguate_from_context( function _ask_user (line 434) | def _ask_user( function replace_aea_fetch_statements (line 449) | def replace_aea_fetch_statements( function replace_aea_add_statements (line 460) | def replace_aea_add_statements( function replace_type_and_public_id_occurrences (line 473) | def replace_type_and_public_id_occurrences( function replace_in_yamls (line 484) | def replace_in_yamls( function replace_in_protocol_readme (line 520) | def replace_in_protocol_readme( function file_should_be_processed (line 550) | def file_should_be_processed(content: str, old_public_id: PublicId) -> b... function bump_version_in_yaml (line 560) | def bump_version_in_yaml( class Updater (line 573) | class Updater: method __init__ (line 576) | def __init__( method run_hashing (line 585) | def run_hashing() -> None: method check_if_running_allowed (line 592) | def check_if_running_allowed() -> None: method _checks (line 606) | def _checks(self) -> None: method run (line 610) | def run(self) -> None: method _run_once (line 615) | def _run_once(self) -> bool: method process_packages (line 625) | def process_packages( method process_package (line 654) | def process_package(self, package_id: PackageId, is_ambiguous: bool) -... method get_new_package_version (line 676) | def get_new_package_version(self, current_public_id: PublicId) -> str: method bump_package_version (line 705) | def bump_package_version( method _run_hashing (line 742) | def _run_hashing(self) -> None: method inplace_change (line 746) | def inplace_change( method _ask_user_and_replace_if_allowed (line 780) | def _ask_user_and_replace_if_allowed( function command (line 844) | def command(new_version, replace_by_default, context): FILE: scripts/update_plugin_versions.py function update_plugin_setup (line 54) | def update_plugin_setup( function process_plugin (line 73) | def process_plugin( function update_plugin_version_specifiers (line 93) | def update_plugin_version_specifiers( function _replace_patterns (line 141) | def _replace_patterns( function exit_with_message (line 182) | def exit_with_message(message: str, exit_code: int = 1) -> None: function get_plugin_names_and_versions (line 188) | def get_plugin_names_and_versions() -> Dict[str, Version]: function name_version_pair (line 206) | def name_version_pair(s: str) -> Tuple[str, str]: function parse_args (line 220) | def parse_args() -> argparse.Namespace: function main (line 236) | def main() -> None: FILE: scripts/update_symlinks_cross_platform.py function make_symlink (line 82) | def make_symlink(link_name: str, target: str) -> None: function cd (line 97) | def cd(path: Union[Path, str]) -> Generator: function create_symlink (line 109) | def create_symlink(link_path: Path, target_path: Path, root_path: Path) ... function main (line 156) | def main() -> None: FILE: tests/common/docker_image.py class DockerImage (line 48) | class DockerImage(ABC): method __init__ (line 53) | def __init__(self, client: docker.DockerClient): method check_skip (line 57) | def check_skip(self): method _check_docker_binary_available (line 65) | def _check_docker_binary_available(self): method tag (line 91) | def tag(self) -> str: method pull_image (line 94) | def pull_image(self, retries=3) -> None: method stop_if_already_running (line 103) | def stop_if_already_running(self): method create (line 113) | def create(self) -> Container: method wait (line 117) | def wait(self, max_attempts: int = 15, sleep_rate: float = 1.0) -> bool: class OEFHealthCheck (line 128) | class OEFHealthCheck(object): method __init__ (line 131) | def __init__( method exception_handler (line 156) | def exception_handler(self, url=None, ex=None): method on_connect_ok (line 161) | def on_connect_ok(self, url=None): method on_connect_terminated (line 167) | def on_connect_terminated(self, url=None): method run (line 172) | def run(self) -> bool: class OEFSearchDockerImage (line 213) | class OEFSearchDockerImage(DockerImage): method __init__ (line 216) | def __init__(self, client: DockerClient, oef_addr: str, oef_port: int): method tag (line 223) | def tag(self) -> str: method check_skip (line 227) | def check_skip(self): method create (line 234) | def create(self) -> Container: method wait (line 263) | def wait(self, max_attempts: int = 15, sleep_rate: float = 1.0) -> bool: class GanacheDockerImage (line 285) | class GanacheDockerImage(DockerImage): method __init__ (line 288) | def __init__( method tag (line 311) | def tag(self) -> str: method _make_ports (line 315) | def _make_ports(self) -> Dict: method _build_command (line 319) | def _build_command(self) -> List[str]: method create (line 328) | def create(self) -> Container: method wait (line 336) | def wait(self, max_attempts: int = 15, sleep_rate: float = 1.0) -> bool: class SOEFDockerImage (line 352) | class SOEFDockerImage(DockerImage): method __init__ (line 359) | def __init__( method tag (line 377) | def tag(self) -> str: method _make_soef_config_file (line 381) | def _make_soef_config_file(self, tmpdirname) -> None: method _make_ports (line 412) | def _make_ports(self) -> Dict: method create (line 416) | def create(self) -> Container: method wait (line 427) | def wait(self, max_attempts: int = 15, sleep_rate: float = 1.0) -> bool: class FetchLedgerDockerImage (line 442) | class FetchLedgerDockerImage(DockerImage): method __init__ (line 447) | def __init__( method tag (line 470) | def tag(self) -> str: method _make_entrypoint_file (line 474) | def _make_entrypoint_file(self, tmpdirname) -> None: method create (line 504) | def create(self) -> Container: method wait (line 522) | def wait(self, max_attempts: int = 15, sleep_rate: float = 1.0) -> bool: FILE: tests/common/mocks.py class AnyStringWith (line 28) | class AnyStringWith(str): method __eq__ (line 35) | def __eq__(self, other): class RegexComparator (line 40) | class RegexComparator(str): method __eq__ (line 47) | def __eq__(self, other): function ctx_mock_Popen (line 55) | def ctx_mock_Popen() -> Generator[Any, Any, Any]: FILE: tests/common/oef_search_pluto_scripts/launch.py function run (line 31) | def run(cmd): function error (line 39) | def error(*x): function fail (line 44) | def fail(*x): function pull_image (line 50) | def pull_image(run_sudo, img): function parse_command (line 66) | def parse_command(j): function launch_job (line 80) | def launch_job(args, j): function main (line 117) | def main(args): FILE: tests/common/pexpect_popen.py class PexpectWrapper (line 33) | class PexpectWrapper(PopenSpawn): method __init__ (line 36) | def __init__(self, *args, **kwargs): method control_c (line 43) | def control_c(self) -> None: method returncode (line 49) | def returncode(self) -> Optional[Union[int, str]]: method wait_to_complete (line 53) | def wait_to_complete(self, timeout: float = 5) -> None: method aea_cli (line 75) | def aea_cli(cls, args, **kwargs) -> "PexpectWrapper": method expect_all (line 90) | def expect_all( method wait_eof (line 115) | def wait_eof(self, timeout: float = 10) -> None: method terminate (line 125) | def terminate(self, *args, **kwargs) -> None: FILE: tests/common/utils.py class TimeItResult (line 48) | class TimeItResult: method __init__ (line 51) | def __init__(self): function timeit_context (line 57) | def timeit_context(): class AeaTool (line 76) | class AeaTool: method __init__ (line 83) | def __init__(self, aea: AEA): method setup (line 91) | def setup(self) -> "AeaTool": method teardown (line 96) | def teardown(self) -> "AeaTool": method wait_outbox_empty (line 101) | def wait_outbox_empty( method wait_inbox (line 116) | def wait_inbox( method handle_envelope (line 131) | def handle_envelope(self, envelope) -> "AeaTool": method act_one (line 140) | def act_one(self) -> "AeaTool": method dummy_default_message (line 150) | def dummy_default_message( method dummy_envelope (line 175) | def dummy_envelope( method put_inbox (line 197) | def put_inbox(self, envelope: Envelope) -> None: method is_inbox_empty (line 201) | def is_inbox_empty(self) -> bool: method set_execution_timeout (line 205) | def set_execution_timeout(self, timeout: float) -> None: method stop (line 212) | def stop(self) -> None: function make_handler_cls_from_funcion (line 217) | def make_handler_cls_from_funcion(func: Callable) -> Type[Handler]: function make_behaviour_cls_from_funcion (line 239) | def make_behaviour_cls_from_funcion(func: Callable) -> Type[Behaviour]: function run_in_root_dir (line 259) | def run_in_root_dir(fn) -> Callable: function run_in_thread (line 284) | def run_in_thread(fn, timeout=10, on_exit=None, **kwargs): function wait_for_condition (line 299) | def wait_for_condition(condition_checker, timeout=2, error_msg="Timeout"... function wait_for_condition_async (line 309) | async def wait_for_condition_async( function are_dirs_equal (line 321) | def are_dirs_equal( function dircmp_recursive (line 341) | def dircmp_recursive(dircmp_obj: filecmp.dircmp) -> Tuple[Set[str], Set[... function run_aea_subprocess (line 380) | def run_aea_subprocess(*args, cwd: str = ".") -> Tuple[subprocess.Popen,... class UseOef (line 399) | class UseOef: # pylint: disable=too-few-public-methods method _start_oef_node (line 403) | def _start_oef_node(self, network_node: Callable) -> None: FILE: tests/conftest.py function project_root_pythonpath (line 421) | def project_root_pythonpath(): function match_files (line 434) | def match_files(fname1: str, fname2: str) -> Tuple[bool, str]: function find_difference (line 453) | def find_difference(fname1: str, fname2: str) -> str: function number_of_diff_lines (line 466) | def number_of_diff_lines(diff: str) -> int: function only_windows (line 471) | def only_windows(fn: Callable) -> Callable: function skip_test_windows (line 480) | def skip_test_windows(fn: Callable) -> Callable: function skip_test_macos (line 489) | def skip_test_macos(fn: Callable) -> Callable: function action_for_platform (line 498) | def action_for_platform(platform_name: str, skip: bool = True) -> Callable: function oef_addr (line 560) | def oef_addr() -> str: function oef_port (line 566) | def oef_port() -> int: function ganache_addr (line 572) | def ganache_addr() -> str: function ganache_port (line 578) | def ganache_port() -> int: function tcpping (line 583) | def tcpping(ip, port, log_exception: bool = True) -> bool: function wait_for_localhost_ports_to_close (line 596) | def wait_for_localhost_ports_to_close( function pytest_addoption (line 615) | def pytest_addoption(parser) -> None: function inet_disable (line 640) | def inet_disable(request) -> None: function increase_aea_builder_build_timeout (line 658) | def increase_aea_builder_build_timeout(request) -> Generator: function apply_aea_loop (line 669) | def apply_aea_loop(request) -> None: function network_node (line 677) | def network_node( function ganache_configuration (line 687) | def ganache_configuration(): function fetchd_configuration (line 700) | def fetchd_configuration(): function ethereum_testnet_config (line 712) | def ethereum_testnet_config(ganache_addr, ganache_port): function update_default_ethereum_ledger_api (line 725) | def update_default_ethereum_ledger_api(ethereum_testnet_config): function ganache (line 737) | def ganache( function soef (line 754) | def soef( function fetchd (line 770) | def fetchd( function _launch_image (line 787) | def _launch_image(image: DockerImage, timeout: float = 2.0, max_attempts... function reset_aea_cli_config (line 845) | def reset_aea_cli_config() -> None: function get_unused_tcp_port (line 850) | def get_unused_tcp_port(): function get_host (line 860) | def get_host(): function double_escape_windows_path_separator (line 874) | def double_escape_windows_path_separator(path): function _make_dummy_connection (line 879) | def _make_dummy_connection() -> Connection: function _make_local_connection (line 891) | def _make_local_connection( function _make_oef_connection (line 912) | def _make_oef_connection( function _make_tcp_server_connection (line 927) | def _make_tcp_server_connection(address: str, public_key: str, host: str... function _make_tcp_client_connection (line 942) | def _make_tcp_client_connection(address: str, public_key: str, host: str... function _make_stub_connection (line 957) | def _make_stub_connection(input_file_path: str, output_file_path: str): function _process_cert (line 967) | def _process_cert(key: Crypto, cert: CertRequest, path_prefix: str): function _make_libp2p_connection (line 977) | def _make_libp2p_connection( function _make_libp2p_client_connection (line 1076) | def _make_libp2p_client_connection( function _make_libp2p_mailbox_connection (line 1118) | def _make_libp2p_mailbox_connection( function libp2p_log_on_failure (line 1160) | def libp2p_log_on_failure(fn: Callable) -> Callable: function libp2p_log_on_failure_all (line 1186) | def libp2p_log_on_failure_all(cls): function _do_for_all (line 1208) | def _do_for_all(method_decorator): class CwdException (line 1230) | class CwdException(Exception): method __init__ (line 1233) | def __init__(self): function aea_testcase_teardown_check (line 1239) | def aea_testcase_teardown_check(request): function check_test_class_cwd (line 1255) | def check_test_class_cwd(): function check_test_cwd (line 1265) | def check_test_cwd(request): function set_logging_to_debug (line 1279) | def set_logging_to_debug(request): function check_test_threads (line 1286) | def check_test_threads(request): function ledger_apis_connection (line 1301) | async def ledger_apis_connection(request, ethereum_testnet_config): function ledger_api (line 1324) | def ledger_api(ethereum_testnet_config, ganache): function get_register_erc1155 (line 1331) | def get_register_erc1155() -> Contract: function erc1155_contract (line 1347) | def erc1155_contract(ledger_api, ganache, ganache_addr, ganache_port): function erc20_contract (line 1372) | def erc20_contract(ledger_api, ganache, ganache_addr, ganache_port): function oracle_contract (line 1425) | def oracle_contract(ledger_api, ganache, ganache_addr, ganache_port, erc... function docker_exec_cmd (line 1459) | def docker_exec_cmd(image_tag: str, cmd: str, **kwargs): function fund_accounts_from_local_validator (line 1469) | def fund_accounts_from_local_validator( function fund_fetchai_accounts (line 1492) | def fund_fetchai_accounts(fetchd): function env_path_separator (line 1506) | def env_path_separator() -> str: function random_string (line 1518) | def random_string(length: int = 8) -> str: function make_uri (line 1530) | def make_uri(addr: str, port: int): class UseGanache (line 1536) | class UseGanache: method _start_ganache (line 1540) | def _start_ganache(self, ganache): class UseSOEF (line 1545) | class UseSOEF: method _start_soef (line 1549) | def _start_soef(self, soef): class UseLocalFetchNode (line 1554) | class UseLocalFetchNode: method _start_fetchd (line 1558) | def _start_fetchd(self, fetchd): function change_directory (line 1563) | def change_directory(): function password_or_none (line 1574) | def password_or_none(request) -> Optional[str]: function method_scope (line 1583) | def method_scope(cls): function get_wealth_if_needed (line 1603) | def get_wealth_if_needed(address: Address, fetchai_api: FetchAIApi = None): function disable_logging_handlers_cleanup (line 1627) | def disable_logging_handlers_cleanup(request) -> Generator: FILE: tests/data/custom_crypto.py class CustomCrypto (line 27) | class CustomCrypto(Crypto[EntityClass]): method generate_private_key (line 31) | def generate_private_key(cls) -> EntityClass: method load_private_key_from_path (line 36) | def load_private_key_from_path( method public_key (line 49) | def public_key(self) -> str: method address (line 54) | def address(self) -> str: method private_key (line 59) | def private_key(self) -> str: method get_address_from_public_key (line 64) | def get_address_from_public_key(cls, public_key: str) -> str: method sign_message (line 73) | def sign_message(self, message: bytes, is_deprecated_mode: bool = Fals... method sign_transaction (line 83) | def sign_transaction(self, transaction: Any) -> Any: method recover_message (line 92) | def recover_message( method encrypt (line 104) | def encrypt(self, password: str) -> str: method decrypt (line 114) | def decrypt(cls, keyfile_json: str, password: str) -> str: FILE: tests/data/dummy_connection/connection.py class DummyConnection (line 31) | class DummyConnection(Connection): method __init__ (line 36) | def __init__(self, **kwargs): method connect (line 42) | async def connect(self, *args, **kwargs): method disconnect (line 47) | async def disconnect(self, *args, **kwargs): method send (line 53) | async def send(self, envelope: "Envelope"): method receive (line 58) | async def receive(self, *args, **kwargs) -> Optional["Envelope"]: method put (line 72) | def put(self, envelope: Envelope): FILE: tests/data/dummy_contract/contract.py class DummyContract (line 26) | class DummyContract(Contract): method some_method (line 30) | def some_method(cls, ledger_api: LedgerApi, contract_address: str) -> ... FILE: tests/data/dummy_skill/behaviours.py class DummyBehaviour (line 25) | class DummyBehaviour(Behaviour): method __init__ (line 28) | def __init__(self, **kwargs): method setup (line 35) | def setup(self) -> None: method act (line 43) | def act(self) -> None: method teardown (line 47) | def teardown(self) -> None: FILE: tests/data/dummy_skill/dummy.py class DummyModel (line 25) | class DummyModel(Model): FILE: tests/data/dummy_skill/dummy_subpackage/foo.py function bar (line 27) | def bar(): class DummyBehaviour (line 32) | class DummyBehaviour(Behaviour): method __init__ (line 35) | def __init__(self, **kwargs): method setup (line 40) | def setup(self) -> None: method act (line 48) | def act(self) -> None: method teardown (line 51) | def teardown(self) -> None: class DummyStateUpdateHandler (line 55) | class DummyStateUpdateHandler(Handler): method __init__ (line 60) | def __init__(self, **kwargs): method setup (line 65) | def setup(self) -> None: method handle (line 73) | def handle(self, message: Message) -> None: method teardown (line 81) | def teardown(self) -> None: FILE: tests/data/dummy_skill/handlers.py class DummyHandler (line 29) | class DummyHandler(Handler): method __init__ (line 34) | def __init__(self, **kwargs): method setup (line 41) | def setup(self) -> None: method handle (line 49) | def handle(self, message: Message) -> None: method teardown (line 58) | def teardown(self) -> None: class DummyInternalHandler (line 67) | class DummyInternalHandler(Handler): method __init__ (line 72) | def __init__(self, **kwargs): method setup (line 79) | def setup(self) -> None: method handle (line 87) | def handle(self, message: Message) -> None: method teardown (line 96) | def teardown(self) -> None: FILE: tests/data/dummy_skill/tasks.py class DummyTask (line 24) | class DummyTask(Task): method __init__ (line 27) | def __init__(self, **kwargs): method setup (line 34) | def setup(self) -> None: method execute (line 42) | def execute(self, *args, **kwargs) -> int: method teardown (line 47) | def teardown(self) -> None: FILE: tests/data/exception_skill/behaviours.py class ExceptionBehaviour (line 24) | class ExceptionBehaviour(Behaviour): method setup (line 27) | def setup(self) -> None: method act (line 34) | def act(self) -> None: method teardown (line 38) | def teardown(self) -> None: FILE: tests/data/generator/t_protocol/custom_types.py class DataModel (line 25) | class DataModel: method __init__ (line 28) | def __init__( method encode (line 50) | def encode(data_model_protobuf_object, data_model_object: "DataModel")... method decode (line 71) | def decode(cls, data_model_protobuf_object) -> "DataModel": method __eq__ (line 91) | def __eq__(self, other): class DataModel1 (line 108) | class DataModel1(DataModel): class DataModel2 (line 112) | class DataModel2(DataModel): class DataModel3 (line 116) | class DataModel3(DataModel): class DataModel4 (line 120) | class DataModel4(DataModel): FILE: tests/data/generator/t_protocol/dialogues.py class TProtocolDialogue (line 37) | class TProtocolDialogue(Dialogue): class Role (line 81) | class Role(Dialogue.Role): class EndState (line 87) | class EndState(Dialogue.EndState): method __init__ (line 94) | def __init__( class TProtocolDialogues (line 118) | class TProtocolDialogues(Dialogues, ABC): method __init__ (line 131) | def __init__( FILE: tests/data/generator/t_protocol/message.py class TProtocolMessage (line 42) | class TProtocolMessage(Message): class Performative (line 60) | class Performative(Message.Performative): method __str__ (line 71) | def __str__(self) -> str: class _SlotsCls (line 86) | class _SlotsCls: method __init__ (line 133) | def __init__( method valid_performatives (line 159) | def valid_performatives(self) -> Set[str]: method dialogue_reference (line 164) | def dialogue_reference(self) -> Tuple[str, str]: method message_id (line 170) | def message_id(self) -> int: method performative (line 176) | def performative(self) -> Performative: # type: ignore # noqa: F821 method target (line 182) | def target(self) -> int: method content_bool (line 188) | def content_bool(self) -> bool: method content_bytes (line 194) | def content_bytes(self) -> bytes: method content_ct (line 200) | def content_ct(self) -> CustomDataModel: method content_dict_bool_bool (line 206) | def content_dict_bool_bool(self) -> Dict[bool, bool]: method content_dict_bool_bytes (line 215) | def content_dict_bool_bytes(self) -> Dict[bool, bytes]: method content_dict_bool_float (line 224) | def content_dict_bool_float(self) -> Dict[bool, float]: method content_dict_bool_int (line 233) | def content_dict_bool_int(self) -> Dict[bool, int]: method content_dict_bool_str (line 242) | def content_dict_bool_str(self) -> Dict[bool, str]: method content_dict_int_bool (line 251) | def content_dict_int_bool(self) -> Dict[int, bool]: method content_dict_int_bytes (line 260) | def content_dict_int_bytes(self) -> Dict[int, bytes]: method content_dict_int_float (line 269) | def content_dict_int_float(self) -> Dict[int, float]: method content_dict_int_int (line 278) | def content_dict_int_int(self) -> Dict[int, int]: method content_dict_int_str (line 287) | def content_dict_int_str(self) -> Dict[int, str]: method content_dict_str_bool (line 296) | def content_dict_str_bool(self) -> Dict[str, bool]: method content_dict_str_bytes (line 305) | def content_dict_str_bytes(self) -> Dict[str, bytes]: method content_dict_str_float (line 314) | def content_dict_str_float(self) -> Dict[str, float]: method content_dict_str_int (line 323) | def content_dict_str_int(self) -> Dict[str, int]: method content_dict_str_str (line 332) | def content_dict_str_str(self) -> Dict[str, str]: method content_float (line 341) | def content_float(self) -> float: method content_int (line 347) | def content_int(self) -> int: method content_list_bool (line 353) | def content_list_bool(self) -> Tuple[bool, ...]: method content_list_bytes (line 361) | def content_list_bytes(self) -> Tuple[bytes, ...]: method content_list_float (line 370) | def content_list_float(self) -> Tuple[float, ...]: method content_list_int (line 379) | def content_list_int(self) -> Tuple[int, ...]: method content_list_str (line 387) | def content_list_str(self) -> Tuple[str, ...]: method content_o_bool (line 395) | def content_o_bool(self) -> Optional[bool]: method content_o_ct (line 400) | def content_o_ct(self) -> Optional[CustomDataModel4]: method content_o_dict_str_int (line 405) | def content_o_dict_str_int(self) -> Optional[Dict[str, int]]: method content_o_list_bytes (line 410) | def content_o_list_bytes(self) -> Optional[Tuple[bytes, ...]]: method content_o_set_int (line 415) | def content_o_set_int(self) -> Optional[FrozenSet[int]]: method content_set_bool (line 420) | def content_set_bool(self) -> FrozenSet[bool]: method content_set_bytes (line 428) | def content_set_bytes(self) -> FrozenSet[bytes]: method content_set_float (line 436) | def content_set_float(self) -> FrozenSet[float]: method content_set_int (line 444) | def content_set_int(self) -> FrozenSet[int]: method content_set_str (line 450) | def content_set_str(self) -> FrozenSet[str]: method content_str (line 456) | def content_str(self) -> str: method content_union_1 (line 462) | def content_union_1( method content_union_2 (line 493) | def content_union_2( method content_union_3 (line 526) | def content_union_3(self) -> Union[CustomDataModel2, CustomDataModel3]: method _is_consistent (line 533) | def _is_consistent(self) -> bool: FILE: tests/data/generator/t_protocol/serialization.py class TProtocolSerializer (line 40) | class TProtocolSerializer(Serializer): method encode (line 44) | def encode(msg: Message) -> bytes: method decode (line 346) | def decode(obj: bytes) -> Message: FILE: tests/data/generator/t_protocol_no_ct/dialogues.py class TProtocolNoCtDialogue (line 37) | class TProtocolNoCtDialogue(Dialogue): class Role (line 76) | class Role(Dialogue.Role): class EndState (line 82) | class EndState(Dialogue.EndState): method __init__ (line 89) | def __init__( class TProtocolNoCtDialogues (line 113) | class TProtocolNoCtDialogues(Dialogues, ABC): method __init__ (line 126) | def __init__( FILE: tests/data/generator/t_protocol_no_ct/message.py class TProtocolNoCtMessage (line 38) | class TProtocolNoCtMessage(Message): class Performative (line 46) | class Performative(Message.Performative): method __str__ (line 56) | def __str__(self) -> str: class _SlotsCls (line 70) | class _SlotsCls: method __init__ (line 114) | def __init__( method valid_performatives (line 140) | def valid_performatives(self) -> Set[str]: method dialogue_reference (line 145) | def dialogue_reference(self) -> Tuple[str, str]: method message_id (line 151) | def message_id(self) -> int: method performative (line 157) | def performative(self) -> Performative: # type: ignore # noqa: F821 method target (line 163) | def target(self) -> int: method content_bool (line 169) | def content_bool(self) -> bool: method content_bytes (line 175) | def content_bytes(self) -> bytes: method content_dict_bool_bool (line 181) | def content_dict_bool_bool(self) -> Dict[bool, bool]: method content_dict_bool_bytes (line 190) | def content_dict_bool_bytes(self) -> Dict[bool, bytes]: method content_dict_bool_float (line 199) | def content_dict_bool_float(self) -> Dict[bool, float]: method content_dict_bool_int (line 208) | def content_dict_bool_int(self) -> Dict[bool, int]: method content_dict_bool_str (line 217) | def content_dict_bool_str(self) -> Dict[bool, str]: method content_dict_int_bool (line 226) | def content_dict_int_bool(self) -> Dict[int, bool]: method content_dict_int_bytes (line 235) | def content_dict_int_bytes(self) -> Dict[int, bytes]: method content_dict_int_float (line 244) | def content_dict_int_float(self) -> Dict[int, float]: method content_dict_int_int (line 253) | def content_dict_int_int(self) -> Dict[int, int]: method content_dict_int_str (line 262) | def content_dict_int_str(self) -> Dict[int, str]: method content_dict_str_bool (line 271) | def content_dict_str_bool(self) -> Dict[str, bool]: method content_dict_str_bytes (line 280) | def content_dict_str_bytes(self) -> Dict[str, bytes]: method content_dict_str_float (line 289) | def content_dict_str_float(self) -> Dict[str, float]: method content_dict_str_int (line 298) | def content_dict_str_int(self) -> Dict[str, int]: method content_dict_str_str (line 307) | def content_dict_str_str(self) -> Dict[str, str]: method content_float (line 316) | def content_float(self) -> float: method content_int (line 322) | def content_int(self) -> int: method content_list_bool (line 328) | def content_list_bool(self) -> Tuple[bool, ...]: method content_list_bytes (line 336) | def content_list_bytes(self) -> Tuple[bytes, ...]: method content_list_float (line 345) | def content_list_float(self) -> Tuple[float, ...]: method content_list_int (line 354) | def content_list_int(self) -> Tuple[int, ...]: method content_list_str (line 362) | def content_list_str(self) -> Tuple[str, ...]: method content_o_bool (line 370) | def content_o_bool(self) -> Optional[bool]: method content_o_dict_str_int (line 375) | def content_o_dict_str_int(self) -> Optional[Dict[str, int]]: method content_o_list_bytes (line 380) | def content_o_list_bytes(self) -> Optional[Tuple[bytes, ...]]: method content_o_set_int (line 385) | def content_o_set_int(self) -> Optional[FrozenSet[int]]: method content_set_bool (line 390) | def content_set_bool(self) -> FrozenSet[bool]: method content_set_bytes (line 398) | def content_set_bytes(self) -> FrozenSet[bytes]: method content_set_float (line 406) | def content_set_float(self) -> FrozenSet[float]: method content_set_int (line 414) | def content_set_int(self) -> FrozenSet[int]: method content_set_str (line 420) | def content_set_str(self) -> FrozenSet[str]: method content_str (line 426) | def content_str(self) -> str: method content_union_1 (line 432) | def content_union_1( method content_union_2 (line 454) | def content_union_2( method _is_consistent (line 484) | def _is_consistent(self) -> bool: FILE: tests/data/generator/t_protocol_no_ct/serialization.py class TProtocolNoCtSerializer (line 33) | class TProtocolNoCtSerializer(Serializer): method encode (line 37) | def encode(msg: Message) -> bytes: method decode (line 299) | def decode(obj: bytes) -> Message: FILE: tests/test_aea/test_act_storage.py class TBehaviour (line 51) | class TBehaviour(TickerBehaviour): method setup (line 58) | def setup(self) -> None: method act (line 62) | def act(self) -> None: class THandler (line 70) | class THandler(Handler): method setup (line 79) | def setup(self) -> None: method teardown (line 83) | def teardown(self) -> None: method handle (line 86) | def handle(self, *args, **kwargs) -> None: function test_storage_access_from_behaviour (line 95) | def test_storage_access_from_behaviour(): function test_storage_access_from_handler (line 129) | def test_storage_access_from_handler(): function _get_labels (line 180) | def _get_labels(dialogues: List[Dialogue]) -> Set[DialogueLabel]: function _storage_all_dialogues_labels (line 184) | def _storage_all_dialogues_labels(storage: BasicDialoguesStorage) -> Set... class TestDialogueModelSaveLoad (line 190) | class TestDialogueModelSaveLoad(AEATestCaseEmpty): method setup (line 193) | def setup(self): method _build_aea (line 217) | def _build_aea(self) -> AEA: method test_dialogues_dumped_and_restored_properly (line 225) | def test_dialogues_dumped_and_restored_properly(self): FILE: tests/test_aea/test_aea.py function test_setup_aea (line 73) | def test_setup_aea(): function test_act (line 95) | def test_act(): function test_start_stop (line 114) | def test_start_stop(): function test_double_start (line 129) | def test_double_start(): function test_react (line 151) | def test_react(): function test_handle (line 207) | def test_handle(): function test_initialize_aea_programmatically (line 317) | def test_initialize_aea_programmatically(): function test_initialize_aea_programmatically_build_resources (line 389) | def test_initialize_aea_programmatically_build_resources(): function test_add_behaviour_dynamically (line 489) | def test_add_behaviour_dynamically(): function test_no_handlers_registered (line 544) | def test_no_handlers_registered(): class TestContextNamespace (line 581) | class TestContextNamespace: method setup_class (line 585) | def setup_class(cls): method test_access_context_namespace (line 612) | def test_access_context_namespace(self): function test_start_stop_and_start_stop_again (line 622) | def test_start_stop_and_start_stop_again(): class ExpectedExcepton (line 655) | class ExpectedExcepton(Exception): class TestAeaExceptionPolicy (line 659) | class TestAeaExceptionPolicy: method raise_exception (line 663) | def raise_exception(*args, **kwargs) -> None: method setup (line 667) | def setup(self) -> None: method test_no_exceptions (line 699) | def test_no_exceptions(self) -> None: method test_handle_propagate (line 712) | def test_handle_propagate(self) -> None: method test_handle_stop_and_exit (line 724) | def test_handle_stop_and_exit(self) -> None: method test_handle_just_log (line 737) | def test_handle_just_log(self) -> None: method test_act_propagate (line 755) | def test_act_propagate(self) -> None: method test_act_stop_and_exit (line 766) | def test_act_stop_and_exit(self) -> None: method test_act_just_log (line 778) | def test_act_just_log(self) -> None: method test_act_bad_policy (line 795) | def test_act_bad_policy(self) -> None: method teardown (line 805) | def teardown(self) -> None: function sleep_a_bit (line 810) | def sleep_a_bit(sleep_time: float = 0.1, num_of_sleeps: int = 1) -> None: class BaseTimeExecutionCase (line 822) | class BaseTimeExecutionCase(TestCase): method setUpClass (line 828) | def setUpClass(cls) -> None: method tearDown (line 833) | def tearDown(self) -> None: method prepare (line 838) | def prepare(self, function: Callable) -> None: method test_long_handler_cancelled_by_timeout (line 877) | def test_long_handler_cancelled_by_timeout(self): method test_short_handler_not_cancelled_by_timeout (line 894) | def test_short_handler_not_cancelled_by_timeout(self): method test_no_timeout (line 913) | def test_no_timeout(self): class HandleTimeoutExecutionCase (line 931) | class HandleTimeoutExecutionCase(BaseTimeExecutionCase): method aea_action (line 934) | def aea_action(self): class ActTimeoutExecutionCase (line 941) | class ActTimeoutExecutionCase(BaseTimeExecutionCase): method aea_action (line 944) | def aea_action(self): function test_skill2skill_message (line 951) | def test_skill2skill_message(): FILE: tests/test_aea/test_aea_builder.py function test_default_timeout_for_agent (line 83) | def test_default_timeout_for_agent(): function test_add_package_already_existing (line 103) | def test_add_package_already_existing(): function test_when_package_has_missing_dependency (line 120) | def test_when_package_has_missing_dependency(): class TestReentrancy (line 136) | class TestReentrancy: method setup_class (line 154) | def setup_class(cls): method are_components_different (line 177) | def are_components_different( method test_skills_instances_are_different (line 203) | def test_skills_instances_are_different(self): method test_protocols_instances_are_different (line 209) | def test_protocols_instances_are_different(self): method test_contracts_instances_are_different (line 215) | def test_contracts_instances_are_different(self): method test_connections_instances_are_different (line 223) | def test_connections_instances_are_different(self): function test_multiple_builds_with_private_keys (line 230) | def test_multiple_builds_with_private_keys(): function test_multiple_builds_with_component_instance (line 252) | def test_multiple_builds_with_component_instance(): function test_dependency_manager_highest_version (line 286) | def test_dependency_manager_highest_version(): function test_remove_component_not_exists (line 315) | def test_remove_component_not_exists(): function test_remove_component_depends_on_fail (line 329) | def test_remove_component_depends_on_fail(): function test_remove_component_success (line 347) | def test_remove_component_success(): function test_private_keys (line 359) | def test_private_keys(): function test_can_remove_not_exists_component (line 377) | def test_can_remove_not_exists_component(): function test_remove_protocol (line 389) | def test_remove_protocol(): function test_remove_connection (line 410) | def test_remove_connection(): function test_remove_skill (line 424) | def test_remove_skill(): function test_remove_contract (line 438) | def test_remove_contract(): function test_process_connection_ids_not_specified (line 452) | def test_process_connection_ids_not_specified(): function test_process_connection_ids_bad_default_connection (line 466) | def test_process_connection_ids_bad_default_connection(): function test_component_add_bad_dep (line 483) | def test_component_add_bad_dep(): function test_set_from_config_default (line 512) | def test_set_from_config_default(): function test_set_from_config_custom (line 540) | def test_set_from_config_custom(): function test_load_abstract_component (line 597) | def test_load_abstract_component(): function test_find_import_order (line 627) | def test_find_import_order(): function test__build_identity_from_wallet (line 652) | def test__build_identity_from_wallet(): class TestFromAEAProject (line 673) | class TestFromAEAProject(AEATestCaseEmpty): method test_from_project (line 676) | def test_from_project(self): class TestFromAEAProjectWithCustomConnectionConfig (line 686) | class TestFromAEAProjectWithCustomConnectionConfig(AEATestCaseEmpty): method _add_stub_connection_config (line 689) | def _add_stub_connection_config(self): method test_from_project (line 711) | def test_from_project(self): class TestFromAEAProjectWithCustomSkillConfig (line 728) | class TestFromAEAProjectWithCustomSkillConfig(AEATestCase): method _add_dummy_skill_config (line 733) | def _add_dummy_skill_config(self): method test_from_project (line 761) | def test_from_project(self): class TestFromAEAProjectMakeSkillAbstract (line 783) | class TestFromAEAProjectMakeSkillAbstract(AEATestCase): method _add_dummy_skill_config (line 788) | def _add_dummy_skill_config(self): method test_from_project (line 805) | def test_from_project(self): class TestFromAEAProjectCustomConfigFailsWhenComponentNotDeclared (line 818) | class TestFromAEAProjectCustomConfigFailsWhenComponentNotDeclared(AEATes... method _add_stub_connection_config (line 821) | def _add_stub_connection_config(self): method test_from_project (line 836) | def test_from_project(self): class TestExtraDeps (line 849) | class TestExtraDeps(AEATestCaseEmpty): method test_check_dependencies_correct (line 852) | def test_check_dependencies_correct(self): method test_install_dependency (line 860) | def test_install_dependency(self): class TestBuildEntrypoint (line 892) | class TestBuildEntrypoint(AEATestCaseEmpty): method setup (line 895) | def setup(self): method test_build_positive_aea (line 903) | def test_build_positive_aea(self): method test_build_positive_package (line 913) | def test_build_positive_package(self): method test_build_negative_syntax_error (line 934) | def test_build_negative_syntax_error(self): method test_build_negative_subprocess (line 945) | def test_build_negative_subprocess(self, *_mocks): function test_set_default_connection_and_routing (line 953) | def test_set_default_connection_and_routing(): function test_builder_pypi_dependencies (line 991) | def test_builder_pypi_dependencies(): FILE: tests/test_aea/test_agent.py class DummyAgent (line 35) | class DummyAgent(Agent): method __init__ (line 38) | def __init__(self, *args, **kwargs): method setup (line 42) | def setup(self) -> None: method act (line 46) | def act(self) -> None: method react (line 50) | def react(self) -> None: method update (line 54) | def update(self) -> None: method teardown (line 58) | def teardown(self) -> None: method resources (line 63) | def resources(self): function test_run_agent (line 68) | def test_run_agent(): function test_runtime_modes (line 100) | def test_runtime_modes(): FILE: tests/test_aea/test_agent_loop.py class CountHandler (line 45) | class CountHandler(Handler): method setup (line 48) | def setup(self) -> None: method handle (line 52) | def handle(self, message: Message) -> None: method teardown (line 56) | def teardown(self) -> None: method make (line 61) | def make(cls) -> "CountHandler": class CountBehaviour (line 66) | class CountBehaviour(TickerBehaviour): method setup (line 69) | def setup(self) -> None: method act (line 73) | def act(self) -> None: method make (line 78) | def make(cls, tick_interval: int = 1) -> "CountBehaviour": class FailBehaviour (line 85) | class FailBehaviour(TickerBehaviour): method setup (line 88) | def setup(self) -> None: method act (line 92) | def act(self) -> None: method make (line 97) | def make(cls, tick_interval: int = 1) -> "FailBehaviour": class AsyncFakeAgent (line 102) | class AsyncFakeAgent(AEA): method __init__ (line 108) | def __init__(self, handlers=None, behaviours=None): method _get_behaviours_tasks (line 124) | def _get_behaviours_tasks( method active_behaviours (line 133) | def active_behaviours(self) -> List[Behaviour]: method _handle (line 137) | def _handle(self, envelope: Envelope) -> None: method put_inbox (line 147) | def put_inbox(self, msg: Any) -> None: method put_internal_message (line 151) | def put_internal_message(self, msg: Any) -> None: method _get_msg_and_handlers_for_envelope (line 155) | def _get_msg_and_handlers_for_envelope( method _execution_control (line 160) | def _execution_control( method _handle_envelope (line 180) | def _handle_envelope(self, envelope: Envelope) -> None: class SyncFakeAgent (line 185) | class SyncFakeAgent(AsyncFakeAgent): method put_inbox (line 188) | def put_inbox(self, msg: Any) -> None: method put_internal_message (line 192) | def put_internal_message(self, msg: Any) -> None: class TestAsyncAgentLoop (line 197) | class TestAsyncAgentLoop: method test_loop_start_stop (line 203) | def test_loop_start_stop(self): method test_set_loop (line 214) | def test_set_loop(self): method test_state_property (line 223) | async def test_state_property(self): method test_handle_envelope (line 232) | def test_handle_envelope(self): method test_behaviour_act (line 246) | def test_behaviour_act(self): method test_internal_messages (line 263) | async def test_internal_messages(self): method test_new_behaviours (line 280) | def test_new_behaviours(self): method test_behaviour_exception (line 297) | async def test_behaviour_exception(self): method test_stop (line 315) | async def test_stop(self): method test_send_to_skill (line 329) | async def test_send_to_skill(self): class TestSyncAgentLoop (line 363) | class TestSyncAgentLoop: FILE: tests/test_aea/test_cli/test_add/test_connection.py class TestAddConnectionFailsWhenConnectionAlreadyExists (line 53) | class TestAddConnectionFailsWhenConnectionAlreadyExists: method setup_class (line 57) | def setup_class(cls): method test_add_connection_from_registry_positive (line 100) | def test_add_connection_from_registry_positive(self, fetch_package_moc... method test_exit_code_equal_to_1 (line 122) | def test_exit_code_equal_to_1(self): method test_error_message_connection_already_existing (line 126) | def test_error_message_connection_already_existing(self): method teardown_class (line 135) | def teardown_class(cls): class TestAddConnectionFailsWhenConnectionWithSameAuthorAndNameButDifferentVersion (line 144) | class TestAddConnectionFailsWhenConnectionWithSameAuthorAndNameButDiffer... method setup_class (line 148) | def setup_class(cls): method test_exit_code_equal_to_1 (line 207) | def test_exit_code_equal_to_1(self): method test_error_message_connection_already_existing (line 211) | def test_error_message_connection_already_existing(self): method teardown_class (line 220) | def teardown_class(cls): class TestAddConnectionFailsWhenConnectionNotInRegistry (line 229) | class TestAddConnectionFailsWhenConnectionNotInRegistry: method setup_class (line 233) | def setup_class(cls): method test_exit_code_equal_to_1 (line 265) | def test_exit_code_equal_to_1(self): method test_error_message_connection_already_existing (line 269) | def test_error_message_connection_already_existing(self): method teardown_class (line 278) | def teardown_class(cls): class TestAddConnectionFailsWhenDifferentPublicId (line 287) | class TestAddConnectionFailsWhenDifferentPublicId: method setup_class (line 291) | def setup_class(cls): method test_exit_code_equal_to_1 (line 323) | def test_exit_code_equal_to_1(self): method test_error_message_connection_wrong_public_id (line 327) | def test_error_message_connection_wrong_public_id(self): method teardown_class (line 333) | def teardown_class(cls): class TestAddConnectionFailsWhenConfigFileIsNotCompliant (line 342) | class TestAddConnectionFailsWhenConfigFileIsNotCompliant: method setup_class (line 346) | def setup_class(cls): method test_exit_code_equal_to_1 (line 387) | def test_exit_code_equal_to_1(self): method test_configuration_file_not_valid (line 391) | def test_configuration_file_not_valid(self): method teardown_class (line 400) | def teardown_class(cls): class TestAddConnectionFailsWhenDirectoryAlreadyExists (line 410) | class TestAddConnectionFailsWhenDirectoryAlreadyExists: method setup_class (line 414) | def setup_class(cls): method test_exit_code_equal_to_1 (line 455) | def test_exit_code_equal_to_1(self): method test_file_exists_error (line 459) | def test_file_exists_error(self): method teardown_class (line 471) | def teardown_class(cls): class TestAddConnectionFromRemoteRegistry (line 480) | class TestAddConnectionFromRemoteRegistry(AEATestCaseEmptyFlaky): method test_add_connection_from_remote_registry_positive (line 488) | def test_add_connection_from_remote_registry_positive(self): class TestAddConnectionWithLatestVersion (line 502) | class TestAddConnectionWithLatestVersion(AEATestCaseEmpty): method test_add_connection_latest_version (line 505) | def test_add_connection_latest_version(self): class TestAddConnectionMixedWhenNoLocalRegistryExists (line 517) | class TestAddConnectionMixedWhenNoLocalRegistryExists: method setup_class (line 521) | def setup_class(cls): method test_exit_code_equal_to_0 (line 560) | def test_exit_code_equal_to_0(self): method test_standard_output_mentions_swap_to_remote (line 564) | def test_standard_output_mentions_swap_to_remote(self): method teardown_class (line 569) | def teardown_class(cls): class TestAddConnectionLocalWhenNoLocalRegistryExists (line 578) | class TestAddConnectionLocalWhenNoLocalRegistryExists: method setup_class (line 582) | def setup_class(cls): method test_exit_code_equal_to_1 (line 613) | def test_exit_code_equal_to_1(self): method test_standard_output_mentions_failure (line 617) | def test_standard_output_mentions_failure(self): method teardown_class (line 625) | def teardown_class(cls): FILE: tests/test_aea/test_cli/test_add/test_contract.py class AddContractCommandTestCase (line 36) | class AddContractCommandTestCase(TestCase): method setUp (line 39) | def setUp(self): method test_add_contract_positive (line 44) | def test_add_contract_positive(self, *mocks): class TestAddContractFromRemoteRegistry (line 60) | class TestAddContractFromRemoteRegistry(AEATestCaseEmptyFlaky): method test_add_contract_from_remote_registry_positive (line 68) | def test_add_contract_from_remote_registry_positive(self): class TestAddContractWithLatestVersion (line 80) | class TestAddContractWithLatestVersion(AEATestCaseEmptyFlaky): method test_add_contract_latest_version (line 87) | def test_add_contract_latest_version(self): FILE: tests/test_aea/test_cli/test_add/test_generic.py class AddItemDepsTestCase (line 28) | class AddItemDepsTestCase(TestCase): method test__add_item_deps_missing_skills_positive (line 32) | def test__add_item_deps_missing_skills_positive(self, add_item_mock): FILE: tests/test_aea/test_cli/test_add/test_protocol.py class TestAddProtocolFailsWhenProtocolAlreadyExists (line 49) | class TestAddProtocolFailsWhenProtocolAlreadyExists: method setup_class (line 53) | def setup_class(cls): method test_exit_code_equal_to_1 (line 91) | def test_exit_code_equal_to_1(self): method test_error_message_protocol_already_existing (line 95) | def test_error_message_protocol_already_existing(self): method teardown_class (line 104) | def teardown_class(cls): class TestAddProtocolFailsWhenProtocolWithSameAuthorAndNameButDifferentVersion (line 113) | class TestAddProtocolFailsWhenProtocolWithSameAuthorAndNameButDifferentV... method setup_class (line 117) | def setup_class(cls): method test_exit_code_equal_to_1 (line 172) | def test_exit_code_equal_to_1(self): method test_error_message_protocol_already_existing (line 176) | def test_error_message_protocol_already_existing(self): method test_add_protocol_from_registry_positive (line 186) | def test_add_protocol_from_registry_positive(self, fetch_package_mock,... method teardown_class (line 205) | def teardown_class(cls): class TestAddProtocolFailsWhenProtocolNotInRegistry (line 214) | class TestAddProtocolFailsWhenProtocolNotInRegistry: method setup_class (line 218) | def setup_class(cls): method test_exit_code_equal_to_1 (line 246) | def test_exit_code_equal_to_1(self): method test_error_message_protocol_already_existing (line 250) | def test_error_message_protocol_already_existing(self): method teardown_class (line 259) | def teardown_class(cls): class TestAddProtocolFailsWhenDifferentPublicId (line 268) | class TestAddProtocolFailsWhenDifferentPublicId: method setup_class (line 272) | def setup_class(cls): method test_exit_code_equal_to_1 (line 300) | def test_exit_code_equal_to_1(self): method test_error_message_protocol_wrong_public_id (line 304) | def test_error_message_protocol_wrong_public_id(self): method teardown_class (line 310) | def teardown_class(cls): class TestAddProtocolFailsWhenConfigFileIsNotCompliant (line 319) | class TestAddProtocolFailsWhenConfigFileIsNotCompliant: method setup_class (line 323) | def setup_class(cls): method test_exit_code_equal_to_1 (line 360) | def test_exit_code_equal_to_1(self): method test_configuration_file_not_valid (line 364) | def test_configuration_file_not_valid(self): method teardown_class (line 375) | def teardown_class(cls): class TestAddProtocolFailsWhenDirectoryAlreadyExists (line 385) | class TestAddProtocolFailsWhenDirectoryAlreadyExists: method setup_class (line 389) | def setup_class(cls): method test_exit_code_equal_to_1 (line 422) | def test_exit_code_equal_to_1(self): method test_file_exists_error (line 426) | def test_file_exists_error(self): method teardown_class (line 438) | def teardown_class(cls): class TestAddProtocolFromRemoteRegistry (line 447) | class TestAddProtocolFromRemoteRegistry(AEATestCaseEmptyFlaky): method test_add_protocol_from_remote_registry_positive (line 455) | def test_add_protocol_from_remote_registry_positive(self): class TestAddProtocolWithLatestVersion (line 467) | class TestAddProtocolWithLatestVersion(AEATestCaseEmpty): method test_add_protocol_latest_version (line 470) | def test_add_protocol_latest_version(self): FILE: tests/test_aea/test_cli/test_add/test_skill.py class TestAddSkillFailsWhenSkillAlreadyExists (line 59) | class TestAddSkillFailsWhenSkillAlreadyExists: method setup_class (line 63) | def setup_class(cls): method test_exit_code_equal_to_1 (line 103) | def test_exit_code_equal_to_1(self): method test_error_message_skill_already_existing (line 107) | def test_error_message_skill_already_existing(self): method test_add_skill_from_registry_positive (line 117) | def test_add_skill_from_registry_positive(self, fetch_package_mock, *m... method teardown_class (line 136) | def teardown_class(cls): class TestAddSkillFailsWhenSkillWithSameAuthorAndNameButDifferentVersion (line 145) | class TestAddSkillFailsWhenSkillWithSameAuthorAndNameButDifferentVersion: method setup_class (line 149) | def setup_class(cls): method test_exit_code_equal_to_1 (line 203) | def test_exit_code_equal_to_1(self): method test_error_message_skill_already_existing (line 207) | def test_error_message_skill_already_existing(self): method teardown_class (line 216) | def teardown_class(cls): class TestAddSkillFailsWhenSkillNotInRegistry (line 225) | class TestAddSkillFailsWhenSkillNotInRegistry: method setup_class (line 229) | def setup_class(cls): method test_exit_code_equal_to_1 (line 258) | def test_exit_code_equal_to_1(self): method test_error_message_skill_already_existing (line 262) | def test_error_message_skill_already_existing(self): method teardown_class (line 271) | def teardown_class(cls): class TestAddSkillFailsWhenDifferentPublicId (line 280) | class TestAddSkillFailsWhenDifferentPublicId: method setup_class (line 284) | def setup_class(cls): method test_exit_code_equal_to_1 (line 313) | def test_exit_code_equal_to_1(self): method test_error_message_skill_wrong_public_id (line 317) | def test_error_message_skill_wrong_public_id(self): method teardown_class (line 323) | def teardown_class(cls): class TestAddSkillFailsWhenConfigFileIsNotCompliant (line 332) | class TestAddSkillFailsWhenConfigFileIsNotCompliant: method setup_class (line 336) | def setup_class(cls): method test_exit_code_equal_to_1 (line 379) | def test_exit_code_equal_to_1(self): method test_configuration_file_not_valid (line 383) | def test_configuration_file_not_valid(self): method teardown_class (line 392) | def teardown_class(cls): class TestAddSkillFailsWhenDirectoryAlreadyExists (line 402) | class TestAddSkillFailsWhenDirectoryAlreadyExists: method setup_class (line 406) | def setup_class(cls): method test_exit_code_equal_to_1 (line 444) | def test_exit_code_equal_to_1(self): method test_file_exists_error (line 448) | def test_file_exists_error(self): method teardown_class (line 458) | def teardown_class(cls): class TestAddSkillWithContractsDeps (line 467) | class TestAddSkillWithContractsDeps(AEATestCaseEmpty): method test_add_skill_with_contracts_positive (line 470) | def test_add_skill_with_contracts_positive(self): class TestAddSkillFromRemoteRegistry (line 480) | class TestAddSkillFromRemoteRegistry(AEATestCaseEmptyFlaky): method test_add_skill_from_remote_registry_positive (line 488) | def test_add_skill_from_remote_registry_positive(self): class TestAddSkillWithLatestVersion (line 498) | class TestAddSkillWithLatestVersion(AEATestCaseEmpty): method test_add_skill_latest_version (line 501) | def test_add_skill_latest_version(self): class TestAddSkillMixedModeFallsBack (line 511) | class TestAddSkillMixedModeFallsBack(AEATestCaseEmpty): method test_add_skill_remote_mode_negative_local_positive_remote (line 520) | def test_add_skill_remote_mode_negative_local_positive_remote(self, *_... class TestAddSkillRemoteMode (line 532) | class TestAddSkillRemoteMode(AEATestCaseEmpty): method test_add_skill_remote_mode (line 537) | def test_add_skill_remote_mode(self): FILE: tests/test_aea/test_cli/test_add_key.py class TestAddFetchKey (line 50) | class TestAddFetchKey: method setup_class (line 54) | def setup_class(cls): method test_return_code (line 90) | def test_return_code(self): method test_key_added (line 94) | def test_key_added(self): method teardown_class (line 104) | def teardown_class(cls): class TestAddEthereumhKey (line 110) | class TestAddEthereumhKey: method setup_class (line 114) | def setup_class(cls): method test_return_code (line 150) | def test_return_code(self): method test_key_added (line 154) | def test_key_added(self): method teardown_class (line 164) | def teardown_class(cls): class TestAddManyKeys (line 170) | class TestAddManyKeys: method setup_class (line 174) | def setup_class(cls): method test_add_many_keys (line 204) | def test_add_many_keys(self, pytestconfig): method teardown_class (line 237) | def teardown_class(cls): function test_add_key_fails_bad_key (line 246) | def test_add_key_fails_bad_key(): function test_add_key_fails_bad_ledger_id (line 294) | def test_add_key_fails_bad_ledger_id(): class AddKeyTestCase (line 335) | class AddKeyTestCase(TestCase): method test__add_key_positive (line 338) | def test__add_key_positive(self, *mocks): class AddKeyConnectionTestCase (line 345) | class AddKeyConnectionTestCase(TestCase): method test__add_key_positive (line 348) | def test__add_key_positive(self, *mocks): class AddKeyCommandTestCase (line 357) | class AddKeyCommandTestCase(TestCase): method setUp (line 360) | def setUp(self): method test_run_positive (line 364) | def test_run_positive(self, *mocks): class CheckFileNotExistsTestCase (line 386) | class CheckFileNotExistsTestCase(TestCase): method setUp (line 389) | def setUp(self): method test_file_specified_does_not_exist (line 393) | def test_file_specified_does_not_exist(self, *mocks): method test_file_not_specified_does_not_exist (line 409) | def test_file_not_specified_does_not_exist(self, *mocks): class TestAddKeyWithPassword (line 425) | class TestAddKeyWithPassword(AEATestCaseEmpty): method setup_class (line 431) | def setup_class(cls) -> None: method test_add_key_with_password (line 443) | def test_add_key_with_password(self): FILE: tests/test_aea/test_cli/test_build.py class TestAEABuildEmpty (line 35) | class TestAEABuildEmpty(AEATestCaseEmpty): method test_build (line 38) | def test_build(self): class TestAEABuildMainEntrypoint (line 45) | class TestAEABuildMainEntrypoint(AEATestCaseEmpty): method setup_class (line 49) | def setup_class(cls): method test_build (line 59) | def test_build(self): class TestAEABuildPackageEntrypoint (line 69) | class TestAEABuildPackageEntrypoint(AEATestCaseEmpty): method setup_class (line 73) | def setup_class(cls): method test_build (line 90) | def test_build(self): class TestAEABuildEntrypointNegative (line 102) | class TestAEABuildEntrypointNegative(AEATestCaseEmpty): method test_build_exception (line 109) | def test_build_exception(self, *_mock): FILE: tests/test_aea/test_cli/test_config.py class TestConfigGet (line 40) | class TestConfigGet: method setup_class (line 44) | def setup_class(cls): method test_get_agent_name (line 56) | def test_get_agent_name(self): method test_get_agent_default_routing (line 67) | def test_get_agent_default_routing(self): method test_get_skill_name (line 78) | def test_get_skill_name(self): method test_get_nested_attribute (line 88) | def test_get_nested_attribute(self): method test_no_recognized_root (line 103) | def test_no_recognized_root(self): method test_too_short_path_but_root_correct (line 118) | def test_too_short_path_but_root_correct(self): method test_resource_not_existing (line 140) | def test_resource_not_existing(self): method test_attribute_not_found (line 158) | def test_attribute_not_found(self): method test_get_whole_dict (line 175) | def test_get_whole_dict(self): method test_get_list (line 198) | def test_get_list(self): method test_get_fails_when_getting_nested_object (line 213) | def test_get_fails_when_getting_nested_object(self): method test_get_fails_when_getting_non_dict_attribute (line 230) | def test_get_fails_when_getting_non_dict_attribute(self): method test_get_fails_when_getting_non_dict_attribute_in_between (line 242) | def test_get_fails_when_getting_non_dict_attribute_in_between(self): method test_get_fails_when_getting_vendor_dependency_with_wrong_component_type (line 253) | def test_get_fails_when_getting_vendor_dependency_with_wrong_component... method teardown_class (line 270) | def teardown_class(cls): class TestConfigSet (line 279) | class TestConfigSet: method setup_class (line 283) | def setup_class(cls): method test_set_agent_logging_options (line 295) | def test_set_agent_logging_options(self): method test_set_agent_incorrect_value (line 326) | def test_set_agent_incorrect_value(self): method test_set_type_bool (line 339) | def test_set_type_bool(self): method test_set_type_none (line 356) | def test_set_type_none(self): method test_set_type_dict (line 373) | def test_set_type_dict(self): method test_set_type_list (line 390) | def test_set_type_list(self): method test_set_invalid_value (line 407) | def test_set_invalid_value(self): method test_set_skill_name_should_fail (line 423) | def test_set_skill_name_should_fail(self): method test_set_nested_attribute (line 432) | def test_set_nested_attribute(self): method test_set_nested_attribute_not_allowed (line 452) | def test_set_nested_attribute_not_allowed(self): method test_no_recognized_root (line 467) | def test_no_recognized_root(self): method test_too_short_path_but_root_correct (line 482) | def test_too_short_path_but_root_correct(self): method test_resource_not_existing (line 506) | def test_resource_not_existing(self): method test_attribute_not_found (line 525) | def test_attribute_not_found(self): method test_set_fails_when_setting_non_primitive_type (line 544) | def test_set_fails_when_setting_non_primitive_type(self): method test_get_fails_when_setting_nested_object (line 556) | def test_get_fails_when_setting_nested_object(self): method test_get_fails_when_setting_non_dict_attribute (line 575) | def test_get_fails_when_setting_non_dict_attribute(self): method teardown_class (line 589) | def teardown_class(cls): class TestConfigNestedGetSet (line 598) | class TestConfigNestedGetSet: method setup (line 606) | def setup(self): method teardown (line 618) | def teardown(self): method test_set_get_incorrect_path (line 626) | def test_set_get_incorrect_path(self): method load_agent_config (line 655) | def load_agent_config(self) -> AgentConfig: method get_component_config_value (line 662) | def get_component_config_value(self) -> dict: method test_set_get_correct_path (line 675) | def test_set_get_correct_path(self): function test_AgentConfigManager_get_overridables (line 716) | def test_AgentConfigManager_get_overridables(): FILE: tests/test_aea/test_cli/test_create.py class TestCreate (line 57) | class TestCreate: method setup_class (line 61) | def setup_class(cls): method _load_config_file (line 95) | def _load_config_file(cls, agent_name) -> Dict: method test_exit_code_equal_to_zero (line 102) | def test_exit_code_equal_to_zero(self): method test_agent_directory_path_exists (line 106) | def test_agent_directory_path_exists(self): method test_configuration_file_has_been_created (line 112) | def test_configuration_file_has_been_created(self): method test_configuration_file_is_compliant_to_schema (line 118) | def test_configuration_file_is_compliant_to_schema(self): method test_aea_version_is_correct (line 129) | def test_aea_version_is_correct(self): method test_agent_name_is_correct (line 144) | def test_agent_name_is_correct(self): method test_authors_field_is_empty_string (line 148) | def test_authors_field_is_empty_string(self): method test_connections_contains_nothing (line 152) | def test_connections_contains_nothing(self): method test_default_connection_field_is_empty (line 156) | def test_default_connection_field_is_empty(self): method test_license_field_is_empty_string (line 160) | def test_license_field_is_empty_string(self): method test_protocols_field_is_not_empty_list (line 166) | def test_protocols_field_is_not_empty_list(self): method test_skills_field_is_empty_list (line 174) | def test_skills_field_is_empty_list(self): method test_version_field_is_equal_to_0_1_0 (line 178) | def test_version_field_is_equal_to_0_1_0(self): method test_vendor_content (line 182) | def test_vendor_content(self): method test_vendor_protocols_contains_default_protocol (line 196) | def test_vendor_protocols_contains_default_protocol(self): method test_default_protocol_is_equal_to_library_default_protocol (line 204) | def test_default_protocol_is_equal_to_library_default_protocol(self): method test_protocols_directory_content (line 215) | def test_protocols_directory_content(self): method test_connections_directory_content (line 222) | def test_connections_directory_content(self): method test_skills_directory_content (line 229) | def test_skills_directory_content(self): method teardown_class (line 237) | def teardown_class(cls): class TestCreateFailsWhenDirectoryAlreadyExists (line 247) | class TestCreateFailsWhenDirectoryAlreadyExists: method setup_class (line 251) | def setup_class(cls): method test_exit_code_equal_to_1 (line 275) | def test_exit_code_equal_to_1(self): method test_log_error_message (line 279) | def test_log_error_message(self): method teardown_class (line 288) | def teardown_class(cls): class TestCreateFailsWhenConfigFileIsNotCompliant (line 297) | class TestCreateFailsWhenConfigFileIsNotCompliant: method setup_class (line 301) | def setup_class(cls): method test_exit_code_equal_to_1 (line 329) | def test_exit_code_equal_to_1(self): method test_agent_folder_is_not_created (line 333) | def test_agent_folder_is_not_created(self): method teardown_class (line 338) | def teardown_class(cls): class TestCreateFailsWhenExceptionOccurs (line 348) | class TestCreateFailsWhenExceptionOccurs: method setup_class (line 352) | def setup_class(cls): method test_exit_code_equal_to_1 (line 377) | def test_exit_code_equal_to_1(self): method test_agent_folder_is_not_created (line 381) | def test_agent_folder_is_not_created(self): method teardown_class (line 386) | def teardown_class(cls): class TestCreateFailsWhenAlreadyInAEAProject (line 396) | class TestCreateFailsWhenAlreadyInAEAProject: method setup_class (line 400) | def setup_class(cls): method test_exit_code_equal_to_1 (line 430) | def test_exit_code_equal_to_1(self): method test_log_error_message (line 434) | def test_log_error_message(self): method teardown_class (line 443) | def teardown_class(cls): class CreateCommandTestCase (line 452) | class CreateCommandTestCase(TestCase): method setUp (line 455) | def setUp(self): method test_create_no_init (line 459) | def test_create_no_init(self): method test_create_no_author_local (line 472) | def test_create_no_author_local(self, *mocks): FILE: tests/test_aea/test_cli/test_delete.py class TestDelete (line 33) | class TestDelete: method setup_class (line 37) | def setup_class(cls): method test_exit_code_equal_to_zero (line 59) | def test_exit_code_equal_to_zero(self): method test_agent_directory_path_does_not_exists (line 63) | def test_agent_directory_path_does_not_exists(self): method teardown_class (line 69) | def teardown_class(cls): class TestDeleteFailsWhenDirectoryDoesNotExist (line 78) | class TestDeleteFailsWhenDirectoryDoesNotExist: method setup_class (line 82) | def setup_class(cls): method teardown_class (line 96) | def teardown_class(cls): class TestDeleteFailsWhenDirectoryCannotBeDeleted (line 105) | class TestDeleteFailsWhenDirectoryCannotBeDeleted: method setup_class (line 109) | def setup_class(cls): method test_exit_code_equal_to_1 (line 137) | def test_exit_code_equal_to_1(self): method test_log_error_message (line 141) | def test_log_error_message(self): method teardown_class (line 150) | def teardown_class(cls): class TestDeleteFailsWhenDirectoryIsNotAnAEAProject (line 159) | class TestDeleteFailsWhenDirectoryIsNotAnAEAProject: method setup_class (line 163) | def setup_class(cls): method test_exit_code_equal_to_1 (line 177) | def test_exit_code_equal_to_1(self): method test_log_error_message (line 181) | def test_log_error_message(self): method teardown_class (line 190) | def teardown_class(cls): FILE: tests/test_aea/test_cli/test_eject.py class TestEjectCommands (line 43) | class TestEjectCommands(AEATestCaseMany): method test_eject_commands_positive (line 46) | def test_eject_commands_positive(self): class TestRecursiveEject (line 82) | class TestRecursiveEject(AEATestCaseEmpty): method test_recursive_eject_commands_positive (line 85) | def test_recursive_eject_commands_positive(self): class TestRecursiveEjectIsAborted (line 114) | class TestRecursiveEjectIsAborted(AEATestCaseEmpty): method test_recursive_eject_commands_non_quiet_negative (line 118) | def test_recursive_eject_commands_non_quiet_negative(self, *_mocks): class BaseTestEjectCommand (line 145) | class BaseTestEjectCommand(AEATestCaseEmpty): method setup_class (line 151) | def setup_class(cls): class TestEjectCommandCliConfigNotAvailable (line 158) | class TestEjectCommandCliConfigNotAvailable(AEATestCaseEmpty): method setup_class (line 164) | def setup_class(cls): method test_error (line 170) | def test_error(self, *_mocks): class TestEjectCommandReplacesReferences (line 184) | class TestEjectCommandReplacesReferences(BaseTestEjectCommand): method setup_class (line 190) | def setup_class(cls): method test_username_is_correct (line 196) | def test_username_is_correct(self): method test_aea_config_references_updated_correctly (line 211) | def test_aea_config_references_updated_correctly(self): class TestEjectCommandReplacesCustomConfigurationReference (line 221) | class TestEjectCommandReplacesCustomConfigurationReference(BaseTestEject... method setup_class (line 227) | def setup_class(cls): method test_username_is_correct (line 245) | def test_username_is_correct(self): method test_aea_config_references_updated_correctly (line 256) | def test_aea_config_references_updated_correctly(self): class TestEjectWithLatest (line 264) | class TestEjectWithLatest(AEATestCaseEmpty): method setup_class (line 268) | def setup_class(cls): method test_command (line 273) | def test_command(self): class TestEjectWithSymlink (line 285) | class TestEjectWithSymlink(AEATestCaseEmpty): method setup_class (line 289) | def setup_class(cls): method test_command (line 294) | def test_command(self): FILE: tests/test_aea/test_cli/test_fetch.py function _raise_click_exception (line 51) | def _raise_click_exception(*args, **kwargs): class FetchAgentLocallyTestCase (line 60) | class FetchAgentLocallyTestCase(TestCase): method test_fetch_agent_locally_positive (line 66) | def test_fetch_agent_locally_positive(self, copy_tree, *mocks): method test_fetch_agent_locally_already_exists (line 76) | def test_fetch_agent_locally_already_exists(self, *mocks): method test_fetch_agent_locally_incorrect_version (line 86) | def test_fetch_agent_locally_incorrect_version(self, *mocks): method test_fetch_agent_locally_with_deps_positive (line 97) | def test_fetch_agent_locally_with_deps_positive(self, *mocks): method test_fetch_agent_locally_with_deps_fail (line 113) | def test_fetch_agent_locally_with_deps_fail(self, *mocks): class FetchCommandTestCase (line 129) | class FetchCommandTestCase(TestCase): method setUp (line 132) | def setUp(self): method test_fetch_positive_mixed (line 136) | def test_fetch_positive_mixed(self, *mocks): method test_fetch_positive_local (line 144) | def test_fetch_positive_local(self, *mocks): method test_fetch_positive_remote (line 152) | def test_fetch_positive_remote(self, *mocks): class IsVersionCorrectTestCase (line 161) | class IsVersionCorrectTestCase(TestCase): method test__is_version_correct_positive (line 164) | def test__is_version_correct_positive(self): method test__is_version_correct_negative (line 172) | def test__is_version_correct_negative(self): class TestFetchFromRemoteRegistry (line 182) | class TestFetchFromRemoteRegistry(AEATestCaseManyFlaky): method test_fetch_agent_from_remote_registry_positive (line 187) | def test_fetch_agent_from_remote_registry_positive(self): class TestFetchMixedModeFallsBackCorrectly (line 195) | class TestFetchMixedModeFallsBackCorrectly(AEATestCaseManyFlaky): method test_fetch_agent_from_remote_registry_falls_back_to_local (line 202) | def test_fetch_agent_from_remote_registry_falls_back_to_local( class TestFetchLatestVersion (line 211) | class TestFetchLatestVersion(AEATestCaseMany): method test_fetch_agent_latest (line 214) | def test_fetch_agent_latest(self): class TestFetchAgentMixed (line 222) | class TestFetchAgentMixed(BaseAEATestCase): method test_fetch_mixed (line 237) | def test_fetch_mixed( class BaseTestFetchAgentError (line 248) | class BaseTestFetchAgentError(BaseAEATestCase, ABC): method _mock_raise_click_exception (line 255) | def _mock_raise_click_exception(self, ctx: Context, *args, **kwargs): method test_fetch_negative (line 265) | def test_fetch_negative(self, *_mocks) -> None: class TestFetchAgentNonMixedErrorLocal (line 281) | class TestFetchAgentNonMixedErrorLocal(BaseTestFetchAgentError): class TestFetchAgentMixedModeError (line 288) | class TestFetchAgentMixedModeError(BaseTestFetchAgentError): class TestFetchAgentRemoteModeError (line 295) | class TestFetchAgentRemoteModeError(BaseTestFetchAgentError): function test_fetch_mixed_no_local_registry (line 302) | def test_fetch_mixed_no_local_registry(): function test_fetch_local_no_local_registry (line 318) | def test_fetch_local_no_local_registry(): function test_fetch_twice_locally (line 335) | def test_fetch_twice_locally(): function test_fetch_twice_remote (line 373) | def test_fetch_twice_remote(): FILE: tests/test_aea/test_cli/test_fingerprint.py class FingerprintCommandTestCase (line 46) | class FingerprintCommandTestCase(TestCase): method setUp (line 49) | def setUp(self): method test_fingerprint_positive (line 53) | def test_fingerprint_positive(self, *mocks): method _run_fingerprint_by_path (line 84) | def _run_fingerprint_by_path(self): method test_by_path_ok (line 94) | def test_by_path_ok(self, fingerprint_mock): method test_by_path_exceptions (line 100) | def test_by_path_exceptions(self, *mocks): function _raise_exception (line 123) | def _raise_exception(*args, **kwargs): class FingerprintItemTestCase (line 128) | class FingerprintItemTestCase(TestCase): method test_fingerprint_item_package_not_found (line 136) | def test_fingerprint_item_package_not_found(self, *mocks): method test_fingerprint_item_exception (line 146) | def test_fingerprint_item_exception(self, *mocks): class TestFingerprintAgent (line 153) | class TestFingerprintAgent(AEATestCaseEmpty): method test_fingerprint (line 156) | def test_fingerprint(self): FILE: tests/test_aea/test_cli/test_freeze.py class TestFreeze (line 45) | class TestFreeze: method setup (line 48) | def setup(self): method test_exit_code_equal_to_zero_and_correct_output (line 67) | def test_exit_code_equal_to_zero_and_correct_output(self): method teardown (line 76) | def teardown(self): FILE: tests/test_aea/test_cli/test_generate/test_generate.py function _raise_file_exists (line 34) | def _raise_file_exists(*args, **kwargs): function _which_mock (line 38) | def _which_mock(arg): function _which_mock_isort (line 45) | def _which_mock_isort(arg): function _raise_psperror (line 52) | def _raise_psperror(*args, **kwargs): function _raise_yamlerror (line 56) | def _raise_yamlerror(*args, **kwargs): function _raise_fnfError (line 60) | def _raise_fnfError(*args, **kwargs): class GenerateItemTestCase (line 76) | class GenerateItemTestCase(TestCase): method test__generate_item_file_exists (line 79) | def test__generate_item_file_exists(self, *_mocks): method test__generate_item_no_res (line 86) | def test__generate_item_no_res(self, *_mocks): method test__generate_item_no_res_isort_missing (line 99) | def test__generate_item_no_res_isort_missing(self, *_mocks): method test__generate_item_prerequisite_app_not_installed (line 114) | def test__generate_item_prerequisite_app_not_installed(self, *mocks): method test__generate_item_parsing_yaml_fail (line 125) | def test__generate_item_parsing_yaml_fail(self, *mocks): method test__generate_item_parsing_specs_fail (line 139) | def test__generate_item_parsing_specs_fail(self, *mocks): FILE: tests/test_aea/test_cli/test_generate/test_protocols.py class TestGenerateProtocolFullMode (line 48) | class TestGenerateProtocolFullMode: method setup_class (line 52) | def setup_class(cls): method test_create_agent_exit_code_equal_to_0 (line 95) | def test_create_agent_exit_code_equal_to_0(self): method test_exit_code_equal_to_0 (line 99) | def test_exit_code_equal_to_0(self): method test_resource_folder_contains_configuration_file (line 105) | def test_resource_folder_contains_configuration_file(self): method teardown_class (line 118) | def teardown_class(cls): class TestGenerateProtocolProtobufOnlyMode (line 126) | class TestGenerateProtocolProtobufOnlyMode: method setup_class (line 130) | def setup_class(cls): method test_create_agent_exit_code_equal_to_0 (line 180) | def test_create_agent_exit_code_equal_to_0(self): method test_exit_code_equal_to_0 (line 184) | def test_exit_code_equal_to_0(self): method test_resource_folder_contains_protobuf_schema_file (line 190) | def test_resource_folder_contains_protobuf_schema_file(self): method teardown_class (line 219) | def teardown_class(cls): class TestGenerateProtocolFailsWhenDirectoryAlreadyExists (line 227) | class TestGenerateProtocolFailsWhenDirectoryAlreadyExists: method setup_class (line 231) | def setup_class(cls): method test_create_agent_exit_code_equal_to_0 (line 273) | def test_create_agent_exit_code_equal_to_0(self): method test_exit_code_equal_to_1 (line 277) | def test_exit_code_equal_to_1(self): method test_error_message_protocol_already_existing (line 281) | def test_error_message_protocol_already_existing(self): method test_resource_directory_exists (line 294) | def test_resource_directory_exists(self): method teardown_class (line 302) | def teardown_class(cls): class TestGenerateProtocolFailsWhenProtocolAlreadyExists (line 310) | class TestGenerateProtocolFailsWhenProtocolAlreadyExists: method setup_class (line 314) | def setup_class(cls): method test_create_agent_exit_code_equal_to_0 (line 363) | def test_create_agent_exit_code_equal_to_0(self): method test_generate_protocol_first_time_exit_code_equal_to_0 (line 367) | def test_generate_protocol_first_time_exit_code_equal_to_0(self): method test_generate_protocol_second_time_exit_code_equal_to_1 (line 371) | def test_generate_protocol_second_time_exit_code_equal_to_1(self): method test_error_message_protocol_already_existing (line 375) | def test_error_message_protocol_already_existing(self): method test_resource_directory_exists (line 386) | def test_resource_directory_exists(self): method teardown_class (line 394) | def teardown_class(cls): class TestGenerateProtocolFailsWhenConfigFileIsNotCompliant (line 402) | class TestGenerateProtocolFailsWhenConfigFileIsNotCompliant: method setup_class (line 406) | def setup_class(cls): method test_create_agent_exit_code_equal_to_0 (line 448) | def test_create_agent_exit_code_equal_to_0(self): method test_exit_code_equal_to_1 (line 452) | def test_exit_code_equal_to_1(self): method test_resource_directory_does_not_exists (line 456) | def test_resource_directory_does_not_exists(self): method test_configuration_file_not_valid (line 463) | def test_configuration_file_not_valid(self): method teardown_class (line 472) | def teardown_class(cls): class TestGenerateProtocolFailsWhenExceptionOccurs (line 481) | class TestGenerateProtocolFailsWhenExceptionOccurs: method setup_class (line 485) | def setup_class(cls): method test_create_agent_exit_code_equal_to_0 (line 523) | def test_create_agent_exit_code_equal_to_0(self): method test_exit_code_equal_to_1 (line 527) | def test_exit_code_equal_to_1(self): method test_resource_directory_does_not_exists (line 531) | def test_resource_directory_does_not_exists(self): method teardown_class (line 539) | def teardown_class(cls): FILE: tests/test_aea/test_cli/test_generate_key.py class TestGenerateKey (line 43) | class TestGenerateKey: method setup_class (line 47) | def setup_class(cls): method test_fetchai (line 55) | def test_fetchai(self, password_or_none): method test_ethereum (line 71) | def test_ethereum(self, password_or_none): method test_all (line 87) | def test_all(self): method teardown_class (line 103) | def teardown_class(cls): class TestGenerateKeyWhenAlreadyExists (line 109) | class TestGenerateKeyWhenAlreadyExists: method setup_class (line 113) | def setup_class(cls): method test_fetchai (line 121) | def test_fetchai(self): method teardown_class (line 149) | def teardown_class(cls): class TestGenerateKeyWithFile (line 155) | class TestGenerateKeyWithFile: method setup_class (line 159) | def setup_class(cls): method test_fetchai (line 167) | def test_fetchai(self): method test_all (line 181) | def test_all(self): method teardown_class (line 190) | def teardown_class(cls): class TestGenerateKeyWithAddKeyWithoutConnection (line 196) | class TestGenerateKeyWithAddKeyWithoutConnection(AEATestCaseEmpty): method test_fetchai (line 202) | def test_fetchai(self): class TestGenerateKeyWithAddKeyWithConnection (line 234) | class TestGenerateKeyWithAddKeyWithConnection( FILE: tests/test_aea/test_cli/test_generate_wealth.py class GenerateWealthTestCase (line 39) | class GenerateWealthTestCase(TestCase): method test__generate_wealth_positive (line 49) | def test__generate_wealth_positive(self, *mocks): class GenerateWealthCommandTestCase (line 58) | class GenerateWealthCommandTestCase(TestCase): method setUp (line 61) | def setUp(self): method test_run_positive (line 65) | def test_run_positive(self, *mocks): class TestWealthCommandsPositive (line 81) | class TestWealthCommandsPositive(AEATestCaseManyFlaky): method test_wealth_commands (line 86) | def test_wealth_commands(self, password_or_none): class TestWealthCommandsNegative (line 99) | class TestWealthCommandsNegative(AEATestCaseMany): method test_wealth_commands_negative (line 102) | def test_wealth_commands_negative(self): FILE: tests/test_aea/test_cli/test_get_address.py class GetAddressTestCase (line 34) | class GetAddressTestCase(TestCase): method test__get_address_positive (line 41) | def test__get_address_positive(self, *mocks): class GetAddressCommandTestCase (line 51) | class GetAddressCommandTestCase(TestCase): method setUp (line 54) | def setUp(self): method test_run_positive (line 58) | def test_run_positive(self, *mocks): class TestGetAddressCommand (line 74) | class TestGetAddressCommand(AEATestCaseEmpty): method test_get_address (line 77) | def test_get_address(self, password_or_none): FILE: tests/test_aea/test_cli/test_get_multiaddress.py class TestGetMultiAddressCommandPositive (line 39) | class TestGetMultiAddressCommandPositive(AEATestCaseEmpty): method test_run (line 42) | def test_run(self, password_or_none): class TestGetMultiAddressCommandConnectionPositive (line 63) | class TestGetMultiAddressCommandConnectionPositive(AEATestCaseEmpty): method test_run (line 66) | def test_run(self, password_or_none): class TestGetMultiAddressCommandConnectionIdPositive (line 87) | class TestGetMultiAddressCommandConnectionIdPositive(AEATestCaseEmpty): method test_run (line 90) | def test_run(self, password_or_none): class TestGetMultiAddressCommandConnectionIdURIPositive (line 127) | class TestGetMultiAddressCommandConnectionIdURIPositive(AEATestCaseEmpty): method test_run (line 130) | def test_run(self, password_or_none): class TestGetMultiAddressCommandConnectionIdURIAgentOverridesPositive (line 165) | class TestGetMultiAddressCommandConnectionIdURIAgentOverridesPositive(AE... method test_run (line 168) | def test_run(self, *mocks): class TestGetMultiAddressCommandConnectionNegative (line 206) | class TestGetMultiAddressCommandConnectionNegative(AEATestCaseEmpty): method test_run (line 209) | def test_run(self, password_or_none): class TestGetMultiAddressCommandNegativeMissingKey (line 231) | class TestGetMultiAddressCommandNegativeMissingKey(AEATestCaseEmpty): method test_run (line 234) | def test_run(self, password_or_none): class TestGetMultiAddressCommandNegativePeerId (line 253) | class TestGetMultiAddressCommandNegativePeerId(AEATestCaseEmpty): method test_run (line 260) | def test_run(self, _mock, password_or_none): class TestGetMultiAddressCommandNegativeBadHostField (line 279) | class TestGetMultiAddressCommandNegativeBadHostField(AEATestCaseEmpty): method test_run (line 282) | def test_run(self, password_or_none): class TestGetMultiAddressCommandNegativeBadPortField (line 312) | class TestGetMultiAddressCommandNegativeBadPortField(AEATestCaseEmpty): method test_run (line 315) | def test_run(self, password_or_none): class TestGetMultiAddressCommandNegativeBadConnectionId (line 349) | class TestGetMultiAddressCommandNegativeBadConnectionId(AEATestCaseEmpty): method test_run (line 352) | def test_run(self, password_or_none): class TestGetMultiAddressCommandNegativeFullMultiaddrComputation (line 378) | class TestGetMultiAddressCommandNegativeFullMultiaddrComputation(AEATest... method test_run (line 385) | def test_run(self, _mock, password_or_none): class TestGetMultiAddressCommandNegativeOnlyHostSpecified (line 420) | class TestGetMultiAddressCommandNegativeOnlyHostSpecified(AEATestCaseEmp... method test_run (line 423) | def test_run(self, password_or_none): class TestGetMultiAddressCommandNegativeUriNotExisting (line 451) | class TestGetMultiAddressCommandNegativeUriNotExisting(AEATestCaseEmpty): method test_run (line 454) | def test_run(self, password_or_none): class TestGetMultiAddressCommandNegativeBadUri (line 482) | class TestGetMultiAddressCommandNegativeBadUri(AEATestCaseEmpty): method test_run (line 485) | def test_run(self, password_or_none): FILE: tests/test_aea/test_cli/test_get_public_key.py class GetPublicKeyTestCase (line 33) | class GetPublicKeyTestCase(TestCase): method test__get_address_positive (line 40) | def test__get_address_positive(self, *mocks): class GetPublicKeyCommandTestCase (line 50) | class GetPublicKeyCommandTestCase(TestCase): method setUp (line 53) | def setUp(self): method test_run_positive (line 57) | def test_run_positive(self, *mocks): FILE: tests/test_aea/test_cli/test_get_wealth.py class GetWealthTestCase (line 33) | class GetWealthTestCase(TestCase): method test__get_wealth_positive (line 39) | def test__get_wealth_positive(self, *mocks): class GetWealthCommandTestCase (line 49) | class GetWealthCommandTestCase(TestCase): method setUp (line 52) | def setUp(self): method test_run_positive (line 56) | def test_run_positive(self, *mocks): class TestGetWealth (line 72) | class TestGetWealth(AEATestCaseEmpty): method test_get_wealth (line 76) | def test_get_wealth(self, _echo_mock, password_or_none): FILE: tests/test_aea/test_cli/test_init.py class TestDoInit (line 34) | class TestDoInit: method setup (line 37) | def setup(self): method test_author_local (line 51) | def test_author_local(self): method _read_config (line 65) | def _read_config(self) -> dict: method test_already_registered (line 74) | def test_already_registered(self): method test_non_local (line 85) | def test_non_local(self, mock): method test_registered (line 103) | def test_registered(self, *mocks): method test_already_logged_in (line 116) | def test_already_logged_in(self, *mocks): method teardown (line 124) | def teardown(self): FILE: tests/test_aea/test_cli/test_install.py class TestInstall (line 36) | class TestInstall(AEATestCase): method setup_class (line 42) | def setup_class(cls): method test_exit_code_equal_to_zero (line 47) | def test_exit_code_equal_to_zero(self): class TestInstallFromRequirementFile (line 52) | class TestInstallFromRequirementFile(AEATestCase): method setup_class (line 58) | def setup_class(cls): method test_exit_code_equal_to_zero (line 65) | def test_exit_code_equal_to_zero(self): class TestInstallFailsWhenDependencyDoesNotExist (line 70) | class TestInstallFailsWhenDependencyDoesNotExist(AEATestCaseEmpty): method setup_class (line 76) | def setup_class(cls): method test_error (line 105) | def test_error(self): class TestInstallWithRequirementFailsWhenFileIsBad (line 114) | class TestInstallWithRequirementFailsWhenFileIsBad(AEATestCase): method test_error (line 119) | def test_error(self): class TestInstallFailsWhenDependencyHasUnsatisfiableSpecifier (line 130) | class TestInstallFailsWhenDependencyHasUnsatisfiableSpecifier(AEATestCas... method setup_class (line 134) | def setup_class(cls): method _write_dependencies (line 169) | def _write_dependencies(cls, dependency_dict: Dict, path_to_config: Pa... method test_error (line 177) | def test_error(self): FILE: tests/test_aea/test_cli/test_interact.py class TestInteractCommand (line 40) | class TestInteractCommand(AEATestCaseManyFlaky): method test_interact_command_positive (line 44) | def test_interact_command_positive(self): class ConstructMessageTestCase (line 74) | class ConstructMessageTestCase(TestCase): method test__construct_message_positive (line 77) | def test__construct_message_positive(self, *mocks): function _raise_keyboard_interrupt (line 111) | def _raise_keyboard_interrupt(): function _raise_exception (line 115) | def _raise_exception(): class TryConstructEnvelopeTestCase (line 119) | class TryConstructEnvelopeTestCase(TestCase): method test__try_construct_envelope_positive (line 123) | def test__try_construct_envelope_positive(self, *mocks): method test__try_construct_envelope_positive_no_input_message (line 135) | def test__try_construct_envelope_positive_no_input_message(self, *mocks): method test__try_construct_envelope_keyboard_interrupt (line 141) | def test__try_construct_envelope_keyboard_interrupt(self, *mocks): method test__try_construct_envelope_exception_raised (line 147) | def test__try_construct_envelope_exception_raised(self, *mocks): class ProcessEnvelopesTestCase (line 153) | class ProcessEnvelopesTestCase(TestCase): method test__process_envelopes_positive (line 159) | def test__process_envelopes_positive( method test__process_envelopes_couldnt_recover (line 194) | def test__process_envelopes_couldnt_recover(self, *mocks): class TestInteractEcho (line 210) | class TestInteractEcho(AEATestCaseEmptyFlaky): method test_interact (line 215) | def test_interact(self): FILE: tests/test_aea/test_cli/test_issue_certificates.py class BaseTestIssueCertificates (line 38) | class BaseTestIssueCertificates(AEATestCaseEmpty): method setup_class (line 42) | def setup_class(cls): method add_cert_requests (line 57) | def add_cert_requests(cls, cert_requests: List[CertRequest], connectio... class TestIssueCertificatesPositive (line 64) | class TestIssueCertificatesPositive(BaseTestIssueCertificates): method setup_class (line 68) | def setup_class(cls): method test_issue_certificate (line 98) | def test_issue_certificate(self, password_or_none): method _check_signature (line 118) | def _check_signature(self, cert_id, filename, stdout): class TestIssueCertificatesWithOverride (line 141) | class TestIssueCertificatesWithOverride(TestIssueCertificatesPositive): method setup_class (line 145) | def setup_class(cls): method test_issue_certificate (line 179) | def test_issue_certificate(self, password_or_none): class TestIssueCertificatesWrongConnectionKey (line 209) | class TestIssueCertificatesWrongConnectionKey(BaseTestIssueCertificates): method setup_class (line 213) | def setup_class(cls): method test_run (line 228) | def test_run(self): class TestIssueCertificatesWrongCryptoKey (line 237) | class TestIssueCertificatesWrongCryptoKey(BaseTestIssueCertificates): method setup_class (line 241) | def setup_class(cls): method test_run (line 260) | def test_run(self): FILE: tests/test_aea/test_cli/test_launch.py class BaseLaunchTestCase (line 56) | class BaseLaunchTestCase: method _cli_launch (line 62) | def _cli_launch( method setup_class (line 97) | def setup_class(cls): method get_password_args (line 171) | def get_password_args(cls, password: Optional[str]) -> List[str]: method teardown_class (line 176) | def teardown_class(cls): class TestLaunch (line 185) | class TestLaunch(BaseLaunchTestCase): method test_exit_code_equal_to_zero (line 189) | def test_exit_code_equal_to_zero(self): class TestLaunchWithPassword (line 206) | class TestLaunchWithPassword(TestLaunch): class TestLaunchWithOneFailingAgent (line 212) | class TestLaunchWithOneFailingAgent(BaseLaunchTestCase): method setup_class (line 216) | def setup_class(cls): method test_exit_code_equal_to_one (line 232) | def test_exit_code_equal_to_one(self): class TestLaunchWithWrongArguments (line 259) | class TestLaunchWithWrongArguments(BaseLaunchTestCase): method setup_class (line 263) | def setup_class(cls): method test_exit_code_equal_to_one (line 275) | def test_exit_code_equal_to_one(self): method teardown_class (line 280) | def teardown_class(cls): class TestLaunchMultithreaded (line 290) | class TestLaunchMultithreaded(BaseLaunchTestCase): method test_exit_code_equal_to_zero (line 293) | def test_exit_code_equal_to_zero(self): class TestLaunchOneAgent (line 312) | class TestLaunchOneAgent(BaseLaunchTestCase): method test_exit_code_equal_to_zero (line 315) | def test_exit_code_equal_to_zero(self): FILE: tests/test_aea/test_cli/test_launch_end_to_end.py class TestLaunchEndToEnd (line 35) | class TestLaunchEndToEnd(AEATestCaseMany): method test_end_to_end (line 60) | def test_end_to_end(self): FILE: tests/test_aea/test_cli/test_list.py class TestListProtocols (line 47) | class TestListProtocols: method setup_class (line 51) | def setup_class(cls): method test_exit_code_equal_to_zero (line 74) | def test_exit_code_equal_to_zero(self): method test_correct_output (line 78) | def test_correct_output(self): method teardown_class (line 84) | def teardown_class(cls): class TestListConnections (line 93) | class TestListConnections: method setup_class (line 97) | def setup_class(cls): method test_exit_code_equal_to_zero (line 118) | def test_exit_code_equal_to_zero(self): method test_correct_output (line 122) | def test_correct_output(self): method teardown_class (line 128) | def teardown_class(cls): class TestListSkills (line 137) | class TestListSkills: method setup_class (line 141) | def setup_class(cls): method test_exit_code_equal_to_zero (line 163) | def test_exit_code_equal_to_zero(self): method test_correct_output (line 167) | def test_correct_output(self): method teardown_class (line 173) | def teardown_class(cls): class ListContractsCommandTestCase (line 182) | class ListContractsCommandTestCase(TestCase): method setUp (line 185) | def setUp(self): method test_list_contracts_positive (line 201) | def test_list_contracts_positive(self, *mocks): method tearDown (line 208) | def tearDown(self): class ListAllCommandTestCase (line 217) | class ListAllCommandTestCase(TestCase): method setUp (line 220) | def setUp(self): method test_list_all_no_details_positive (line 227) | def test_list_all_no_details_positive(self, *mocks): method test_list_all_positive (line 238) | def test_list_all_positive(self, *mocks): FILE: tests/test_aea/test_cli/test_local_registry_update.py function test_local_registry_update (line 32) | def test_local_registry_update(): FILE: tests/test_aea/test_cli/test_loggers.py class ColorFormatterTestCase (line 27) | class ColorFormatterTestCase(TestCase): method test_format_positive (line 30) | def test_format_positive(self): FILE: tests/test_aea/test_cli/test_login.py class LoginTestCase (line 30) | class LoginTestCase(TestCase): method setUp (line 33) | def setUp(self): method test_login_positive (line 37) | def test_login_positive(self, update_cli_config_mock, registry_login_m... FILE: tests/test_aea/test_cli/test_logout.py class LogoutTestCase (line 30) | class LogoutTestCase(TestCase): method setUp (line 33) | def setUp(self): method test_logout_positive (line 37) | def test_logout_positive(self, update_cli_config_mock, registry_logout... FILE: tests/test_aea/test_cli/test_misc.py function test_no_argument (line 28) | def test_no_argument(): function test_flag_version (line 35) | def test_flag_version(): function test_flag_help (line 42) | def test_flag_help(): FILE: tests/test_aea/test_cli/test_plugin.py function runner (line 46) | def runner(request): function cmd1 (line 53) | def cmd1(arg): function cmd2 (line 60) | def cmd2(arg): class DistStub (line 65) | class DistStub(Distribution): method requires (line 79) | def requires(self, *args): function good_cli (line 104) | def good_cli(): function broken_cli (line 111) | def broken_cli(): function test_registered (line 116) | def test_registered(): function test_register_and_run (line 128) | def test_register_and_run(runner): function test_broken_register_and_run (line 140) | def test_broken_register_and_run(runner): function test_group_chain (line 151) | def test_group_chain(runner): function test_exception (line 187) | def test_exception(): function test_broken_register_and_run_with_help (line 199) | def test_broken_register_and_run_with_help(runner): function test_broken_register_and_run_with_args (line 210) | def test_broken_register_and_run_with_args(runner): FILE: tests/test_aea/test_cli/test_publish.py class SaveAgentLocallyTestCase (line 56) | class SaveAgentLocallyTestCase(TestCase): method test_save_agent_locally_positive (line 59) | def test_save_agent_locally_positive( class CheckIsItemInLocalRegistryTestCase (line 78) | class CheckIsItemInLocalRegistryTestCase(TestCase): method test__check_is_item_in_local_registry_positive (line 82) | def test__check_is_item_in_local_registry_positive(self, get_path_mock): method test__check_is_item_in_local_registry_negative (line 94) | def test__check_is_item_in_local_registry_negative(self): class PublishCommandTestCase (line 110) | class PublishCommandTestCase(TestCase): method setUp (line 113) | def setUp(self): method test_publish_positive (line 117) | def test_publish_positive(self, *mocks): class ValidatePkpTestCase (line 139) | class ValidatePkpTestCase(TestCase): method test__validate_pkp_positive (line 142) | def test__validate_pkp_positive(self): method test__validate_pkp_negative (line 149) | def test__validate_pkp_negative(self): class TestPublishMixedMode (line 159) | class TestPublishMixedMode(AEATestCaseEmpty): method test_publish_positive (line 162) | def test_publish_positive(self, *mocks): function test_negative_check_is_item_in_remote_registry (line 168) | def test_negative_check_is_item_in_remote_registry(): function test_negative_check_is_item_in_registry_mixed (line 177) | def test_negative_check_is_item_in_registry_mixed(): function test_positive_check_is_item_in_registry_mixed_not_locally_but_remotely (line 191) | def test_positive_check_is_item_in_registry_mixed_not_locally_but_remote... class TestPublishLocallyWithDeps (line 200) | class TestPublishLocallyWithDeps(AEATestCaseEmpty): method setup_class (line 210) | def setup_class(cls): method test_publish_ok_with_missing_push (line 216) | def test_publish_ok_with_missing_push( class TestPublishRemotellyWithDeps (line 234) | class TestPublishRemotellyWithDeps(AEATestCaseEmpty): method setup_class (line 244) | def setup_class(cls): method test_publish_ok_with_missing_push (line 250) | def test_publish_ok_with_missing_push( class CheckAndPublishCommandTestCase (line 274) | class CheckAndPublishCommandTestCase(TestCase): method test_publish_not_present_positive (line 277) | def test_publish_not_present_positive(self, *mocks): method test_publish_not_present_failed_to_push (line 289) | def test_publish_not_present_failed_to_push(self, *mocks): method test_publish_not_present_failed_to_check (line 304) | def test_publish_not_present_failed_to_check(self, *mocks): FILE: tests/test_aea/test_cli/test_push.py class SaveItemLocallyTestCase (line 41) | class SaveItemLocallyTestCase(TestCase): method test_save_item_locally_positive (line 47) | def test_save_item_locally_positive( class TestPushLocally (line 75) | class TestPushLocally(AEATestCaseEmpty): method setup_class (line 82) | def setup_class(cls): method test_vendor_ok (line 87) | def test_vendor_ok( method test_user_ok (line 105) | def test_user_ok( method test_fail_no_item (line 123) | def test_fail_no_item( class CheckPackagePublicIdTestCase (line 142) | class CheckPackagePublicIdTestCase(TestCase): method test__check_package_public_id_positive (line 145) | def test__check_package_public_id_positive(self, *mocks): method test__check_package_public_id_negative (line 153) | def test__check_package_public_id_negative(self, *mocks): class TestPushLocalFailsArgumentNotPublicId (line 163) | class TestPushLocalFailsArgumentNotPublicId: method setup_class (line 167) | def setup_class(cls): method test_exit_code_1 (line 176) | def test_exit_code_1(self): method teardown_class (line 181) | def teardown_class(cls): class PushCommandTestCase (line 189) | class PushCommandTestCase(TestCase): method setUp (line 192) | def setUp(self): method test_push_connection_positive (line 196) | def test_push_connection_positive(self, *mocks): method test_push_protocol_positive (line 211) | def test_push_protocol_positive(self, *mocks): method test_push_skill_positive (line 226) | def test_push_skill_positive(self, *mocks): class PushContractCommandTestCase (line 243) | class PushContractCommandTestCase(TestCase): method setUp (line 246) | def setUp(self): method test_push_contract_positive (line 251) | def test_push_contract_positive(self, *mocks): method test_push_contract_registry_positive (line 268) | def test_push_contract_registry_positive(self, *mocks): class TestPushLocallyWithLatest (line 284) | class TestPushLocallyWithLatest(AEATestCaseEmpty): method test_command (line 288) | def test_command(self, component_type): class TestPushVersionsMismatch (line 316) | class TestPushVersionsMismatch(TestCase): method setUp (line 319) | def setUp(self): method test_push_local_version_check_failed (line 323) | def test_push_local_version_check_failed(self, *mocks): method test_push_remote_version_check_failed (line 345) | def test_push_remote_version_check_failed(self, *mocks): FILE: tests/test_aea/test_cli/test_register.py class RegisterTestCase (line 31) | class RegisterTestCase(TestCase): method setUp (line 34) | def setUp(self): method test_register_positive (line 38) | def test_register_positive(self, do_register_mock): class DoRegisterTestCase (line 68) | class DoRegisterTestCase(TestCase): method test_do_register_positive (line 71) | def test_do_register_positive( method test_do_register_no_subscribe_true_positive (line 84) | def test_do_register_no_subscribe_true_positive( FILE: tests/test_aea/test_cli/test_registry/test_add.py class FetchPackageTestCase (line 31) | class FetchPackageTestCase(TestCase): method test_fetch_package_positive (line 34) | def test_fetch_package_positive( FILE: tests/test_aea/test_cli/test_registry/test_fetch.py function _raise_exception (line 33) | def _raise_exception(): class TestFetchAgent (line 45) | class TestFetchAgent(TestCase): method setup_class (line 49) | def setup_class(cls): method test_fetch_agent_positive (line 65) | def test_fetch_agent_positive( method test_fetch_agent_with_dependencies_positive (line 91) | def test_fetch_agent_with_dependencies_positive( method test_fetch_agent_with_dependencies_unable_to_fetch (line 121) | def test_fetch_agent_with_dependencies_unable_to_fetch(self, *mocks): method teardown_class (line 130) | def teardown_class(cls): FILE: tests/test_aea/test_cli/test_registry/test_login.py class RegistryLoginTestCase (line 27) | class RegistryLoginTestCase(TestCase): method test_registry_login_positive (line 30) | def test_registry_login_positive(self, request_api_mock): class RegistryResetPasswordTestCase (line 41) | class RegistryResetPasswordTestCase(TestCase): method test_registry_reset_password_positive (line 44) | def test_registry_reset_password_positive(self, request_api_mock): FILE: tests/test_aea/test_cli/test_registry/test_logout.py class RegistryLogoutTestCase (line 27) | class RegistryLogoutTestCase(TestCase): method test_registry_logout_positive (line 30) | def test_registry_logout_positive(self, request_api_mock): FILE: tests/test_aea/test_cli/test_registry/test_publish.py class PublishAgentTestCase (line 42) | class PublishAgentTestCase(TestCase): method test_publish_agent_positive (line 46) | def test_publish_agent_positive( method test_publish_agent_without_readme_positive (line 71) | def test_publish_agent_without_readme_positive( class CompressTestCase (line 97) | class CompressTestCase(TestCase): method test__compress_positive (line 100) | def test__compress_positive(self, tarfile_mock): class PublishAgentCleanupOnFailTestCase (line 111) | class PublishAgentCleanupOnFailTestCase(AEATestCase): method test_publish_agent_fails (line 116) | def test_publish_agent_fails(self, *mocks): FILE: tests/test_aea/test_cli/test_registry/test_push.py class PushItemTestCase (line 57) | class PushItemTestCase(TestCase): method test_push_item_positive (line 62) | def test_push_item_positive( method test_push_dependency_fail (line 96) | def test_push_dependency_fail( method test_push_item_positive_without_readme (line 126) | def test_push_item_positive_without_readme( method test_push_item_item_not_found (line 150) | def test_push_item_item_not_found( class RemovePycacheTestCase (line 169) | class RemovePycacheTestCase(TestCase): method test_remove_pycache_positive (line 173) | def test_remove_pycache_positive(self, path_exists_mock, rmtree_mock): method test_remove_pycache_no_pycache (line 182) | def test_remove_pycache_no_pycache(self, path_exists_mock, rmtree_mock): class CompressDirTestCase (line 191) | class CompressDirTestCase(TestCase): method test__compress_dir_positive (line 194) | def test__compress_dir_positive(self, _remove_pycache_mock, tarfile_mo... function test_check_package_public_id (line 205) | def test_check_package_public_id(): FILE: tests/test_aea/test_cli/test_registry/test_registration.py class RegistrationTestCase (line 28) | class RegistrationTestCase(TestCase): method test_register_positive (line 35) | def test_register_positive(self, *mocks): method test_register_negative (line 46) | def test_register_negative(self, *mocks): FILE: tests/test_aea/test_cli/test_registry/test_utils.py function _raise_connection_error (line 54) | def _raise_connection_error(*args, **kwargs): function _raise_config_exception (line 58) | def _raise_config_exception(*args): function _raise_json_decode_error (line 62) | def _raise_json_decode_error(*args): class RequestAPITestCase (line 67) | class RequestAPITestCase(TestCase): method test_request_api_positive (line 70) | def test_request_api_positive(self, request_mock): method test_request_api_404 (line 93) | def test_request_api_404(self, request_mock): method test_request_api_500 (line 101) | def test_request_api_500(self, request_mock): method test_request_api_201 (line 110) | def test_request_api_201(self, request_mock): method test_request_api_403 (line 121) | def test_request_api_403(self, request_mock): method test_request_api_400 (line 129) | def test_request_api_400(self, request_mock): method test_request_api_409 (line 137) | def test_request_api_409(self, request_mock): method test_request_api_unexpected_response (line 146) | def test_request_api_unexpected_response(self, request_mock): method test_request_api_no_auth_data (line 164) | def test_request_api_no_auth_data( method test_request_api_with_auth_positive (line 175) | def test_request_api_with_auth_positive( method test_request_api_with_files_positive (line 190) | def test_request_api_with_files_positive(self, request_mock): class RequestAPINoResponseTestCase (line 208) | class RequestAPINoResponseTestCase(TestCase): method test_request_api_server_not_responding (line 211) | def test_request_api_server_not_responding(self): class DownloadFileTestCase (line 218) | class DownloadFileTestCase(TestCase): method test_download_file_positive (line 222) | def test_download_file_positive(self, get_mock): method test_download_file_wrong_response (line 244) | def test_download_file_wrong_response(self, get_mock): class ExtractTestCase (line 254) | class ExtractTestCase(TestCase): method test_extract_positive (line 259) | def test_extract_positive(self, tarfile_open_mock, os_remove_mock): method test_extract_wrong_file_type (line 273) | def test_extract_wrong_file_type(self): class CheckIsAuthorLoggedInTestCase (line 284) | class CheckIsAuthorLoggedInTestCase(TestCase): method test_check_is_author_logged_in_positive (line 287) | def test_check_is_author_logged_in_positive(self, request_api_mock): method test_check_is_author_logged_in_negative (line 291) | def test_check_is_author_logged_in_negative(self, request_api_mock): class RmTarfilesTestCase (line 300) | class RmTarfilesTestCase(TestCase): method test__rm_tarfiles_positive (line 303) | def test__rm_tarfiles_positive(self, getcwd_mock, listdir_mock, remove... class IsAuthTokenPresentTestCase (line 311) | class IsAuthTokenPresentTestCase(TestCase): method test_is_auth_token_present_positive (line 314) | def test_is_auth_token_present_positive(self, get_auth_token_mock): function test_get_latest_public_id_mixed_negative (line 327) | def test_get_latest_public_id_mixed_negative(*_mocks): function test_clean_tarfiles (line 334) | def test_clean_tarfiles(): function test_clean_tarfiles_error (line 355) | def test_clean_tarfiles_error(): function test_get_package_meta (line 377) | def test_get_package_meta(): function test_get_latest_public_id_mixed (line 388) | def test_get_latest_public_id_mixed(*_mock): function test_get_latest_version_available_in_registry_remote_mode (line 400) | def test_get_latest_version_available_in_registry_remote_mode(*_mocks): function test_list_missing_packages (line 409) | def test_list_missing_packages(): FILE: tests/test_aea/test_cli/test_remove/test_base.py class RemoveItemTestCase (line 57) | class RemoveItemTestCase(TestCase): method test_remove_item_item_folder_not_exists (line 60) | def test_remove_item_item_folder_not_exists( class RemoveItemBadConfigurationTestCase (line 74) | class RemoveItemBadConfigurationTestCase(TestCase): method test_remove_item_item_folder_not_exists (line 77) | def test_remove_item_item_folder_not_exists( class TestRemovePackageWithLatestVersion (line 89) | class TestRemovePackageWithLatestVersion(AEATestCaseEmpty): method test_remove_pacakge_latest_version (line 100) | def test_remove_pacakge_latest_version(self, type_, public_id): class TestRemoveConfig (line 126) | class TestRemoveConfig( method loader (line 135) | def loader() -> ConfigLoader: method load_config (line 139) | def load_config(self) -> AgentConfig: method test_component_configuration_removed_from_agent_config (line 148) | def test_component_configuration_removed_from_agent_config(self): class TestRemoveWithIncompatibleAEAVersion (line 195) | class TestRemoveWithIncompatibleAEAVersion: method setup_class (line 199) | def setup_class(cls): method test_exit_code_equal_to_zero (line 227) | def test_exit_code_equal_to_zero(self): method teardown_class (line 241) | def teardown_class(cls): FILE: tests/test_aea/test_cli/test_remove/test_connection.py class TestRemoveConnectionWithPublicId (line 45) | class TestRemoveConnectionWithPublicId: method setup_class (line 49) | def setup_class(cls): method test_exit_code_equal_to_zero (line 82) | def test_exit_code_equal_to_zero(self): method test_directory_does_not_exist (line 86) | def test_directory_does_not_exist(self): method test_connection_not_present_in_agent_config (line 90) | def test_connection_not_present_in_agent_config(self): method teardown_class (line 98) | def teardown_class(cls): class TestRemoveConnectionFailsWhenConnectionDoesNotExist (line 107) | class TestRemoveConnectionFailsWhenConnectionDoesNotExist: method setup_class (line 111) | def setup_class(cls): method test_exit_code_equal_to_1 (line 137) | def test_exit_code_equal_to_1(self): method test_error_message_connection_not_existing (line 141) | def test_error_message_connection_not_existing(self): method teardown_class (line 150) | def teardown_class(cls): class TestRemoveConnectionFailsWhenExceptionOccurs (line 159) | class TestRemoveConnectionFailsWhenExceptionOccurs: method setup_class (line 163) | def setup_class(cls): method test_exit_code_equal_to_1 (line 202) | def test_exit_code_equal_to_1(self): method teardown_class (line 207) | def teardown_class(cls): FILE: tests/test_aea/test_cli/test_remove/test_contract.py class RemoveContractCommandTestCase (line 29) | class RemoveContractCommandTestCase(TestCase): method setUp (line 32) | def setUp(self): method test_remove_contract_positive (line 37) | def test_remove_contract_positive(self, *mocks): FILE: tests/test_aea/test_cli/test_remove/test_dependencies.py class TestRemoveAndDependencies (line 47) | class TestRemoveAndDependencies: # pylint: disable=attribute-defined-ou... method loader (line 56) | def loader() -> ConfigLoader: method load_config (line 60) | def load_config(self) -> AgentConfig: method setup (line 68) | def setup(self): method teardown (line 103) | def teardown(self): method check_remove (line 111) | def check_remove(self, item_type, public_id): method test_package_can_be_removed_with_its_dependency (line 116) | def test_package_can_be_removed_with_its_dependency(self): method _install_oef (line 126) | def _install_oef(self): method test_package_can_be_removed_but_not_dependency (line 141) | def test_package_can_be_removed_but_not_dependency(self): method test_package_can_not_be_removed_cause_required_by_another_package (line 152) | def test_package_can_not_be_removed_cause_required_by_another_package(... method test_removed_with_dependencies (line 162) | def test_removed_with_dependencies(self): method test_removed_and_dependency_not_removed_caused_required_by_another_item (line 185) | def test_removed_and_dependency_not_removed_caused_required_by_another... method test_not_removed_cause_required (line 206) | def test_not_removed_cause_required(self): FILE: tests/test_aea/test_cli/test_remove/test_protocol.py class TestRemoveProtocolWithPublicId (line 40) | class TestRemoveProtocolWithPublicId: method setup_class (line 44) | def setup_class(cls): method test_exit_code_equal_to_zero (line 77) | def test_exit_code_equal_to_zero(self): method test_directory_does_not_exist (line 81) | def test_directory_does_not_exist(self): method test_protocol_not_present_in_agent_config (line 85) | def test_protocol_not_present_in_agent_config(self): method teardown_class (line 93) | def teardown_class(cls): class TestRemoveProtocolFailsWhenProtocolDoesNotExist (line 102) | class TestRemoveProtocolFailsWhenProtocolDoesNotExist: method setup_class (line 106) | def setup_class(cls): method test_exit_code_equal_to_1 (line 132) | def test_exit_code_equal_to_1(self): method test_error_message_protocol_not_existing (line 136) | def test_error_message_protocol_not_existing(self): method teardown_class (line 145) | def teardown_class(cls): class TestRemoveProtocolFailsWhenExceptionOccurs (line 154) | class TestRemoveProtocolFailsWhenExceptionOccurs: method setup_class (line 158) | def setup_class(cls): method test_exit_code_equal_to_1 (line 197) | def test_exit_code_equal_to_1(self): method teardown_class (line 202) | def teardown_class(cls): FILE: tests/test_aea/test_cli/test_remove/test_skill.py class TestRemoveSkillWithPublicId (line 40) | class TestRemoveSkillWithPublicId: method setup_class (line 44) | def setup_class(cls): method test_exit_code_equal_to_zero (line 86) | def test_exit_code_equal_to_zero(self): method test_directory_does_not_exist (line 90) | def test_directory_does_not_exist(self): method test_skill_not_present_in_agent_config (line 94) | def test_skill_not_present_in_agent_config(self): method teardown_class (line 102) | def teardown_class(cls): class TestRemoveSkillFailsWhenSkillIsNotSupported (line 111) | class TestRemoveSkillFailsWhenSkillIsNotSupported: method setup_class (line 115) | def setup_class(cls): method test_exit_code_equal_to_1 (line 145) | def test_exit_code_equal_to_1(self): method test_error_message_skill_not_existing (line 149) | def test_error_message_skill_not_existing(self): method teardown_class (line 158) | def teardown_class(cls): class TestRemoveSkillFailsWhenExceptionOccurs (line 167) | class TestRemoveSkillFailsWhenExceptionOccurs: method setup_class (line 171) | def setup_class(cls): method test_exit_code_equal_to_1 (line 219) | def test_exit_code_equal_to_1(self): method teardown_class (line 224) | def teardown_class(cls): FILE: tests/test_aea/test_cli/test_remove_key.py class BaseTestRemovePrivateKey (line 28) | class BaseTestRemovePrivateKey(AEATestCaseEmpty): method setup_class (line 34) | def setup_class(cls): method test_remove (line 42) | def test_remove(self): class TestRemoveCryptoPrivateKey (line 48) | class TestRemoveCryptoPrivateKey(BaseTestRemovePrivateKey): class TestRemoveConnectionPrivateKey (line 54) | class TestRemoveConnectionPrivateKey(BaseTestRemovePrivateKey): class BaseTestRemovePrivateKeyNegative (line 60) | class BaseTestRemovePrivateKeyNegative(AEATestCaseEmpty): method test_remove (line 66) | def test_remove(self): class TestRemoveCryptoPrivateKeyNegative (line 72) | class TestRemoveCryptoPrivateKeyNegative(BaseTestRemovePrivateKeyNegative): class TestRemoveConnectionPrivateKeyNegative (line 79) | class TestRemoveConnectionPrivateKeyNegative(BaseTestRemovePrivateKeyNeg... FILE: tests/test_aea/test_cli/test_reset_password.py class ResetPasswordTestCase (line 30) | class ResetPasswordTestCase(TestCase): method setUp (line 33) | def setUp(self): method test_reset_password_positive (line 37) | def test_reset_password_positive(self, registry_reset_password_mock): class DoPasswordResetTestCase (line 49) | class DoPasswordResetTestCase(TestCase): method test__do_password_reset_positive (line 54) | def test__do_password_reset_positive(self, echo_mock, registry_reset_p... FILE: tests/test_aea/test_cli/test_run.py function test_run (line 65) | def test_run(password_or_none): function test_run_with_profiling (line 144) | def test_run_with_profiling(): function test_run_with_default_connection (line 216) | def test_run_with_default_connection(): function test_run_multiple_connections (line 276) | def test_run_multiple_connections(connection_ids): function test_run_unknown_private_key (line 358) | def test_run_unknown_private_key(): function test_run_fet_private_key_config (line 431) | def test_run_fet_private_key_config(): function test_run_ethereum_private_key_config (line 488) | def test_run_ethereum_private_key_config(): function test_run_with_install_deps (line 546) | def test_run_with_install_deps(): function test_run_with_install_deps_and_requirement_file (line 626) | def test_run_with_install_deps_and_requirement_file(): class TestRunFailsWhenExceptionOccursInSkill (line 707) | class TestRunFailsWhenExceptionOccursInSkill: method setup_class (line 711) | def setup_class(cls): method test_exit_code_equal_to_1 (line 762) | def test_exit_code_equal_to_1(self): method teardown_class (line 767) | def teardown_class(cls): class TestRunFailsWhenConfigurationFileNotFound (line 776) | class TestRunFailsWhenConfigurationFileNotFound: method setup_class (line 780) | def setup_class(cls): method test_exit_code_equal_to_1 (line 809) | def test_exit_code_equal_to_1(self): method test_log_error_message (line 813) | def test_log_error_message(self): method teardown_class (line 821) | def teardown_class(cls): class TestRunFailsWhenConfigurationFileIsEmpty (line 830) | class TestRunFailsWhenConfigurationFileIsEmpty: method setup_class (line 834) | def setup_class(cls): method test_exit_code_equal_to_1 (line 862) | def test_exit_code_equal_to_1(self): method test_log_error_message (line 866) | def test_log_error_message(self): method teardown_class (line 872) | def teardown_class(cls): class TestRunFailsWhenConfigurationFileInvalid (line 881) | class TestRunFailsWhenConfigurationFileInvalid: method setup_class (line 885) | def setup_class(cls): method test_exit_code_equal_to_1 (line 915) | def test_exit_code_equal_to_1(self): method test_log_error_message (line 919) | def test_log_error_message(self): method teardown_class (line 927) | def teardown_class(cls): class TestRunFailsWhenConnectionNotDeclared (line 936) | class TestRunFailsWhenConnectionNotDeclared(AEATestCaseEmpty): method setup_class (line 940) | def setup_class(cls): method test_run (line 948) | def test_run(self): class TestRunFailsWhenConnectionConfigFileNotFound (line 957) | class TestRunFailsWhenConnectionConfigFileNotFound: method setup_class (line 961) | def setup_class(cls): method test_exit_code_equal_to_1 (line 1027) | def test_exit_code_equal_to_1(self): method test_log_error_message (line 1031) | def test_log_error_message(self): method teardown_class (line 1039) | def teardown_class(cls): class TestRunFailsWhenConnectionNotComplete (line 1048) | class TestRunFailsWhenConnectionNotComplete(AEATestCaseEmpty): method setup_class (line 1052) | def setup_class(cls): method test_run (line 1076) | def test_run(self): class TestRunFailsWhenConnectionClassNotPresent (line 1091) | class TestRunFailsWhenConnectionClassNotPresent(AEATestCaseEmpty): method setup_class (line 1095) | def setup_class(cls): method test_run (line 1114) | def test_run(self): class TestRunFailsWhenProtocolConfigFileNotFound (line 1129) | class TestRunFailsWhenProtocolConfigFileNotFound: method setup_class (line 1133) | def setup_class(cls): method test_exit_code_equal_to_1 (line 1183) | def test_exit_code_equal_to_1(self): method test_log_error_message (line 1187) | def test_log_error_message(self): method teardown_class (line 1195) | def teardown_class(cls): class TestRunFailsWhenProtocolNotComplete (line 1204) | class TestRunFailsWhenProtocolNotComplete: method setup_class (line 1208) | def setup_class(cls): method test_exit_code_equal_to_1 (line 1264) | def test_exit_code_equal_to_1(self): method test_log_error_message (line 1268) | def test_log_error_message(self): method teardown_class (line 1276) | def teardown_class(cls): function _raise_click_exception (line 1285) | def _raise_click_exception(*args, **kwargs): class RunAEATestCase (line 1289) | class RunAEATestCase(TestCase): method test_run_aea_positive_mock (line 1292) | def test_run_aea_positive_mock(self): method test_run_aea_positive_install_deps_mock (line 1300) | def test_run_aea_positive_install_deps_mock(self): method test_run_aea_negative (line 1310) | def test_run_aea_negative(self, *mocks): function _raise_aea_package_loading_error (line 1318) | def _raise_aea_package_loading_error(*args, **kwargs): class BuildAEATestCase (line 1323) | class BuildAEATestCase(TestCase): method test__build_aea_negative (line 1326) | def test__build_aea_negative(self, *mocks): class TestExcludeConnection (line 1332) | class TestExcludeConnection(AEATestCaseEmpty): method setup_class (line 1336) | def setup_class(cls): method test_connection_excluded (line 1346) | def test_connection_excluded(self): method test_fail_to_exclude_non_existing_connection (line 1367) | def test_fail_to_exclude_non_existing_connection(self): method test_fail_to_specify_connections_and_exclude_the_same_time (line 1381) | def test_fail_to_specify_connections_and_exclude_the_same_time(self): FILE: tests/test_aea/test_cli/test_scaffold/test_connection.py class TestScaffoldConnection (line 45) | class TestScaffoldConnection: method setup_class (line 49) | def setup_class(cls): method test_exit_code_equal_to_0 (line 86) | def test_exit_code_equal_to_0(self): method test_resource_folder_contains_module_connection (line 90) | def test_resource_folder_contains_module_connection(self): method test_resource_folder_contains_configuration_file (line 97) | def test_resource_folder_contains_configuration_file(self): method teardown_class (line 110) | def teardown_class(cls): class TestScaffoldConnectionWithSymlinks (line 119) | class TestScaffoldConnectionWithSymlinks: method setup_class (line 123) | def setup_class(cls): method test_exit_code_equal_to_0 (line 166) | def test_exit_code_equal_to_0(self): method test_resource_folder_contains_module_connection (line 170) | def test_resource_folder_contains_module_connection(self): method test_resource_folder_contains_configuration_file (line 177) | def test_resource_folder_contains_configuration_file(self): method test_symlinks_exist (line 189) | def test_symlinks_exist(self): method teardown_class (line 202) | def teardown_class(cls): class TestScaffoldConnectionFailsWhenDirectoryAlreadyExists (line 211) | class TestScaffoldConnectionFailsWhenDirectoryAlreadyExists: method setup_class (line 215) | def setup_class(cls): method test_exit_code_equal_to_1 (line 248) | def test_exit_code_equal_to_1(self): method test_error_message_connection_already_existing (line 252) | def test_error_message_connection_already_existing(self): method test_resource_directory_exists (line 260) | def test_resource_directory_exists(self): method teardown_class (line 268) | def teardown_class(cls): class TestScaffoldConnectionFailsWhenConnectionAlreadyExists (line 277) | class TestScaffoldConnectionFailsWhenConnectionAlreadyExists: method setup_class (line 281) | def setup_class(cls): method test_exit_code_equal_to_1 (line 318) | def test_exit_code_equal_to_1(self): method test_error_message_connection_already_existing (line 322) | def test_error_message_connection_already_existing(self): method test_resource_directory_exists (line 332) | def test_resource_directory_exists(self): method teardown_class (line 340) | def teardown_class(cls): class TestScaffoldConnectionFailsWhenConfigFileIsNotCompliant (line 349) | class TestScaffoldConnectionFailsWhenConfigFileIsNotCompliant: method setup_class (line 353) | def setup_class(cls): method test_exit_code_equal_to_1 (line 389) | def test_exit_code_equal_to_1(self): method test_configuration_file_not_valid (line 393) | def test_configuration_file_not_valid(self): method test_resource_directory_does_not_exists (line 401) | def test_resource_directory_does_not_exists(self): method teardown_class (line 411) | def teardown_class(cls): class TestScaffoldConnectionFailsWhenExceptionOccurs (line 421) | class TestScaffoldConnectionFailsWhenExceptionOccurs: method setup_class (line 425) | def setup_class(cls): method test_exit_code_equal_to_1 (line 460) | def test_exit_code_equal_to_1(self): method test_resource_directory_does_not_exists (line 464) | def test_resource_directory_does_not_exists(self): method teardown_class (line 474) | def teardown_class(cls): FILE: tests/test_aea/test_cli/test_scaffold/test_decision_maker_handler.py class ScaffoldDecisionMakerHandlerTestCase (line 34) | class ScaffoldDecisionMakerHandlerTestCase(TestCase): method setUp (line 37) | def setUp(self): method test_scaffold_decision_maker_handler_command_positive (line 41) | def test_scaffold_decision_maker_handler_command_positive(self, *mocks): function _raise_exception (line 51) | def _raise_exception(*args): class ScaffoldDmHandlerTestCase (line 55) | class ScaffoldDmHandlerTestCase(TestCase): method test__scaffold_dm_handler_already_exists (line 58) | def test__scaffold_dm_handler_already_exists(self): method test__scaffold_dm_handler_exception (line 72) | def test__scaffold_dm_handler_exception(self, os_remove_mock, *mocks): method test__scaffold_dm_handler_positive (line 85) | def test__scaffold_dm_handler_positive(self, *mocks): FILE: tests/test_aea/test_cli/test_scaffold/test_error_handler.py class ScaffoldErrorHandlerTestCase (line 34) | class ScaffoldErrorHandlerTestCase(TestCase): method setUp (line 37) | def setUp(self): method test_scaffold_error_handler_command_positive (line 41) | def test_scaffold_error_handler_command_positive(self, *mocks): function _raise_exception (line 51) | def _raise_exception(*args): class ScaffoldErrHandlerTestCase (line 55) | class ScaffoldErrHandlerTestCase(TestCase): method test__scaffold_error_handler_already_exists (line 58) | def test__scaffold_error_handler_already_exists(self): method test__scaffold_error_handler_exception (line 72) | def test__scaffold_error_handler_exception(self, os_remove_mock, *mocks): method test__scaffold_error_handler_positive (line 85) | def test__scaffold_error_handler_positive(self, *mocks): FILE: tests/test_aea/test_cli/test_scaffold/test_generic.py class ScaffoldContractCommandTestCase (line 30) | class ScaffoldContractCommandTestCase(TestCase): method setUp (line 33) | def setUp(self): method test_scaffold_contract_command_positive (line 37) | def test_scaffold_contract_command_positive(self, *mocks): FILE: tests/test_aea/test_cli/test_scaffold/test_protocols.py class TestScaffoldProtocol (line 48) | class TestScaffoldProtocol: method setup_class (line 52) | def setup_class(cls): method test_exit_code_equal_to_0 (line 91) | def test_exit_code_equal_to_0(self): method test_resource_folder_contains_module_message (line 95) | def test_resource_folder_contains_module_message(self): method test_resource_folder_contains_module_protocol (line 101) | def test_resource_folder_contains_module_protocol(self): method test_resource_folder_contains_configuration_file (line 109) | def test_resource_folder_contains_configuration_file(self): method teardown_class (line 122) | def teardown_class(cls): class TestScaffoldProtocolFailsWhenDirectoryAlreadyExists (line 131) | class TestScaffoldProtocolFailsWhenDirectoryAlreadyExists: method setup_class (line 135) | def setup_class(cls): method test_exit_code_equal_to_1 (line 168) | def test_exit_code_equal_to_1(self): method test_error_message_protocol_already_existing (line 172) | def test_error_message_protocol_already_existing(self): method test_resource_directory_exists (line 180) | def test_resource_directory_exists(self): method teardown_class (line 188) | def teardown_class(cls): class TestScaffoldProtocolFailsWhenProtocolAlreadyExists (line 197) | class TestScaffoldProtocolFailsWhenProtocolAlreadyExists: method setup_class (line 201) | def setup_class(cls): method test_exit_code_equal_to_1 (line 239) | def test_exit_code_equal_to_1(self): method test_error_message_protocol_already_existing (line 243) | def test_error_message_protocol_already_existing(self): method test_resource_directory_exists (line 253) | def test_resource_directory_exists(self): method teardown_class (line 261) | def teardown_class(cls): class TestScaffoldProtocolFailsWhenConfigFileIsNotCompliant (line 270) | class TestScaffoldProtocolFailsWhenConfigFileIsNotCompliant: method setup_class (line 274) | def setup_class(cls): method test_exit_code_equal_to_1 (line 310) | def test_exit_code_equal_to_1(self): method test_configuration_file_not_valid (line 314) | def test_configuration_file_not_valid(self): method test_resource_directory_does_not_exists (line 322) | def test_resource_directory_does_not_exists(self): method teardown_class (line 332) | def teardown_class(cls): class TestScaffoldProtocolFailsWhenExceptionOccurs (line 342) | class TestScaffoldProtocolFailsWhenExceptionOccurs: method setup_class (line 346) | def setup_class(cls): method test_exit_code_equal_to_1 (line 381) | def test_exit_code_equal_to_1(self): method test_resource_directory_does_not_exists (line 385) | def test_resource_directory_does_not_exists(self): method teardown_class (line 395) | def teardown_class(cls): FILE: tests/test_aea/test_cli/test_scaffold/test_skills.py class TestScaffoldSkill (line 50) | class TestScaffoldSkill: method setup_class (line 54) | def setup_class(cls): method test_exit_code_equal_to_0 (line 90) | def test_exit_code_equal_to_0(self): method test_resource_folder_contains_module_handlers (line 94) | def test_resource_folder_contains_module_handlers(self): method test_resource_folder_contains_module_behaviours (line 100) | def test_resource_folder_contains_module_behaviours(self): method test_resource_folder_contains_module_model (line 106) | def test_resource_folder_contains_module_model(self): method test_resource_folder_contains_configuration_file (line 112) | def test_resource_folder_contains_configuration_file(self): method test_init_module_contains_new_public_id (line 124) | def test_init_module_contains_new_public_id(self): method teardown_class (line 137) | def teardown_class(cls): class TestScaffoldSkillFailsWhenDirectoryAlreadyExists (line 146) | class TestScaffoldSkillFailsWhenDirectoryAlreadyExists: method setup_class (line 150) | def setup_class(cls): method test_exit_code_equal_to_1 (line 182) | def test_exit_code_equal_to_1(self): method test_error_message_skill_already_existing (line 186) | def test_error_message_skill_already_existing(self): method test_resource_directory_exists (line 194) | def test_resource_directory_exists(self): method teardown_class (line 202) | def teardown_class(cls): class TestScaffoldSkillFailsWhenSkillAlreadyExists (line 211) | class TestScaffoldSkillFailsWhenSkillAlreadyExists: method setup_class (line 215) | def setup_class(cls): method test_exit_code_equal_to_1 (line 251) | def test_exit_code_equal_to_1(self): method test_error_message_skill_already_existing (line 255) | def test_error_message_skill_already_existing(self): method test_resource_directory_exists (line 265) | def test_resource_directory_exists(self): method teardown_class (line 273) | def teardown_class(cls): class TestScaffoldSkillFailsWhenConfigFileIsNotCompliant (line 282) | class TestScaffoldSkillFailsWhenConfigFileIsNotCompliant: method setup_class (line 286) | def setup_class(cls): method test_exit_code_equal_to_1 (line 322) | def test_exit_code_equal_to_1(self): method test_configuration_file_not_valid (line 326) | def test_configuration_file_not_valid(self): method test_resource_directory_does_not_exists (line 334) | def test_resource_directory_does_not_exists(self): method teardown_class (line 342) | def teardown_class(cls): class TestScaffoldSkillFailsWhenExceptionOccurs (line 352) | class TestScaffoldSkillFailsWhenExceptionOccurs: method setup_class (line 356) | def setup_class(cls): method test_exit_code_equal_to_1 (line 390) | def test_exit_code_equal_to_1(self): method test_resource_directory_does_not_exists (line 394) | def test_resource_directory_does_not_exists(self): method teardown_class (line 402) | def teardown_class(cls): FILE: tests/test_aea/test_cli/test_search.py class TestSearchProtocolsLocal (line 50) | class TestSearchProtocolsLocal: method setup_class (line 54) | def setup_class(cls): method test_correct_output_default_registry (line 59) | def test_correct_output_default_registry(self, _): class TestSearchContractsLocal (line 73) | class TestSearchContractsLocal(TestCase): method setUp (line 76) | def setUp(self): method test_search_contracts_positive (line 82) | def test_search_contracts_positive(self, *mocks): method test_search_contracts_registry_positive (line 99) | def test_search_contracts_registry_positive(self, *mocks): class TestSearchConnectionsLocal (line 113) | class TestSearchConnectionsLocal: method setup_class (line 117) | def setup_class(cls): method test_correct_output_default_registry (line 122) | def test_correct_output_default_registry(self, _): class TestSearchSkillsLocal (line 137) | class TestSearchSkillsLocal: method setup_class (line 141) | def setup_class(cls): method test_correct_output_default_registry (line 146) | def test_correct_output_default_registry(self, _): class TestSearchAgentsLocal (line 158) | class TestSearchAgentsLocal: method setup_class (line 162) | def setup_class(cls): method test_correct_output_default_registry (line 215) | def test_correct_output_default_registry(self): method teardown_class (line 232) | def teardown_class(cls): class RegistrySearchTestCase (line 247) | class RegistrySearchTestCase(TestCase): method setUp (line 250) | def setUp(self): method test_search_connections_positive (line 254) | def test_search_connections_positive(self, format_items_mock, request_... method test_search_agents_positive (line 272) | def test_search_agents_positive(self, format_items_mock, request_api_m... method test_search_protocols_positive (line 290) | def test_search_protocols_positive(self, format_items_mock, request_ap... method test_search_skills_positive (line 308) | def test_search_skills_positive(self, format_items_mock, request_api_m... class TestSearchWithRegistryInSubfolderLocal (line 327) | class TestSearchWithRegistryInSubfolderLocal: method setup_class (line 331) | def setup_class(cls): method test_exit_code_equal_to_zero (line 350) | def test_exit_code_equal_to_zero(self): method test_correct_output (line 354) | def test_correct_output( method teardown_class (line 387) | def teardown_class(cls): class TestSearchInAgentDirectoryLocal (line 396) | class TestSearchInAgentDirectoryLocal: method setup_class (line 400) | def setup_class(cls): method test_exit_code_equal_to_zero (line 431) | def test_exit_code_equal_to_zero(self): method test_correct_output (line 435) | def test_correct_output( method teardown_class (line 468) | def teardown_class(cls): FILE: tests/test_aea/test_cli/test_transfer.py class TestCliTransferFetchAINetwork (line 42) | class TestCliTransferFetchAINetwork(AEATestCaseEmpty): method setup_class (line 50) | def setup_class(cls): method gen_key (line 62) | def gen_key(cls, agent_name: str) -> None: method get_password_args (line 79) | def get_password_args(cls, password: Optional[str]) -> List[str]: method get_balance (line 83) | def get_balance(self) -> int: method test_integration (line 96) | def test_integration(self): method test_yes_option_enabled (line 143) | def test_yes_option_enabled( method test_yes_option_disabled (line 162) | def test_yes_option_disabled( method test_sync_option_enabled (line 180) | def test_sync_option_enabled( method test_sync_option_disabled (line 199) | def test_sync_option_disabled( method test_failed_on_send (line 219) | def test_failed_on_send(self, wait_tx_settled_mock, confirm_mock, do_t... method test_no_wallet_registered (line 234) | def test_no_wallet_registered(self, wait_tx_settled_mock, confirm_mock): method test_balance_too_low (line 252) | def test_balance_too_low( method test_wait_tx_settled_ok (line 273) | def test_wait_tx_settled_ok(self, is_transaction_settled_mock): method test_wait_tx_settled_timeout (line 278) | def test_wait_tx_settled_timeout(self, is_transaction_settled_mock): class TestCliTransferFetchAINetworkWithPassword (line 284) | class TestCliTransferFetchAINetworkWithPassword(TestCliTransferFetchAINe... FILE: tests/test_aea/test_cli/test_upgrade.py class BaseTestCase (line 72) | class BaseTestCase: method loader (line 82) | def loader() -> ConfigLoader: method load_config (line 86) | def load_config(self) -> AgentConfig: method load_mock_context (line 94) | def load_mock_context(self) -> MagicMock: method dump_config (line 99) | def dump_config(self, agent_config: AgentConfig) -> None: method setup (line 108) | def setup(cls): method with_oef_installed (line 134) | def with_oef_installed(self): method with_config_update (line 160) | def with_config_update(self): method teardown (line 177) | def teardown(cls): class TestRemoveAndDependencies (line 186) | class TestRemoveAndDependencies(BaseTestCase): method setup (line 196) | def setup(cls): method test_upgrade_and_dependency_removed (line 209) | def test_upgrade_and_dependency_removed(self): method test_upgrade_and_dependency_not_removed_caused_required_by_another_item (line 275) | def test_upgrade_and_dependency_not_removed_caused_required_by_another... class TestUpgradeSharedDependencies (line 299) | class TestUpgradeSharedDependencies(AEATestCaseEmpty): method setup_class (line 312) | def setup_class(cls): method test_upgrade_shared_dependencies (line 328) | def test_upgrade_shared_dependencies(self): class TestUpgradeProject (line 342) | class TestUpgradeProject(BaseAEATestCase, BaseTestCase): method setup (line 348) | def setup(cls): method test_upgrade (line 371) | def test_upgrade(self): class TestNonVendorProject (line 427) | class TestNonVendorProject(BaseAEATestCase, BaseTestCase): method setup (line 433) | def setup(cls): method test_non_vendor_nothing_to_upgrade (line 450) | def test_non_vendor_nothing_to_upgrade( class TestUpgradeConnectionLocally (line 475) | class TestUpgradeConnectionLocally(BaseTestCase): method setup (line 483) | def setup(cls): method test_upgrade_to_same_version (line 494) | def test_upgrade_to_same_version(self): method test_upgrade_non_vendor (line 508) | def test_upgrade_non_vendor(self): method test_upgrade_to_latest_but_same_version (line 526) | def test_upgrade_to_latest_but_same_version(self): method test_upgrade_to_non_registered (line 544) | def test_upgrade_to_non_registered(self): method test_upgrade_required_mock (line 564) | def test_upgrade_required_mock(self): method test_do_upgrade (line 584) | def test_do_upgrade(self): method test_package_can_not_be_found_in_registry (line 599) | def test_package_can_not_be_found_in_registry(self): method test_package_can_not_upgraded_cause_required (line 624) | def test_package_can_not_upgraded_cause_required(self): method teardown (line 651) | def teardown(cls): class TestUpgradeConnectionRemoteRegistry (line 662) | class TestUpgradeConnectionRemoteRegistry(TestUpgradeConnectionLocally): method test_upgrade_to_latest_but_same_version (line 667) | def test_upgrade_to_latest_but_same_version(self): class TestUpgradeProtocolLocally (line 672) | class TestUpgradeProtocolLocally(TestUpgradeConnectionLocally): class TestUpgradeProtocolRemoteRegistry (line 679) | class TestUpgradeProtocolRemoteRegistry(TestUpgradeProtocolLocally): method test_upgrade_to_latest_but_same_version (line 684) | def test_upgrade_to_latest_but_same_version(self): class TestUpgradeSkillLocally (line 689) | class TestUpgradeSkillLocally(TestUpgradeConnectionLocally): class TestUpgradeSkillRemoteRegistry (line 696) | class TestUpgradeSkillRemoteRegistry(TestUpgradeSkillLocally): method test_upgrade_to_latest_but_same_version (line 701) | def test_upgrade_to_latest_but_same_version(self): method test_upgrade_required_mock (line 705) | def test_upgrade_required_mock(self): method test_do_upgrade (line 709) | def test_do_upgrade(self): class TestUpgradeContractLocally (line 714) | class TestUpgradeContractLocally(TestUpgradeConnectionLocally): class TestUpgradeContractRemoteRegistry (line 721) | class TestUpgradeContractRemoteRegistry(TestUpgradeContractLocally): method test_upgrade_to_latest_but_same_version (line 726) | def test_upgrade_to_latest_but_same_version(self): class TestUpgradeNonVendorDependencies (line 732) | class TestUpgradeNonVendorDependencies(AEATestCaseEmpty): method scaffold_item (line 761) | def scaffold_item( method setup_class (line 791) | def setup_class(cls): method test_agent_config_updated (line 809) | def test_agent_config_updated(self): method test_non_vendor_update_references_to_upgraded_packages (line 817) | def test_non_vendor_update_references_to_upgraded_packages( method assert_dependency_updated (line 834) | def assert_dependency_updated( class TestUpdateReferences (line 853) | class TestUpdateReferences(AEATestCaseEmpty): method setup_class (line 874) | def setup_class(cls): method test_default_routing_updated_correctly (line 915) | def test_default_routing_updated_correctly(self): method test_default_connection_updated_correctly (line 929) | def test_default_connection_updated_correctly(self): method test_custom_configuration_updated_correctly (line 940) | def test_custom_configuration_updated_correctly(self): class TestNothingToUpgrade (line 953) | class TestNothingToUpgrade(AEATestCaseEmpty): method test_nothing_to_upgrade (line 956) | def test_nothing_to_upgrade(self, mock_click_echo): class TestWrongAEAVersion (line 973) | class TestWrongAEAVersion(AEATestCaseEmpty): method setup_class (line 984) | def setup_class(cls): method _update_aea_version (line 998) | def _update_aea_version(cls, agent_config: AgentConfig): method test_nothing_to_upgrade (line 1007) | def test_nothing_to_upgrade(self, mock_click_echo): class BaseTestUpgradeWithEject (line 1029) | class BaseTestUpgradeWithEject(AEATestCaseEmpty): method setup_class (line 1050) | def setup_class(cls): method mock_get_latest_version_available_in_registry (line 1056) | def mock_get_latest_version_available_in_registry(cls, *args, **kwargs): method _get_mock (line 1066) | def _get_mock(self): method test_run (line 1073) | def test_run(self, mock_get_latest_version, mock_click_confirm, mock_c... method _assert_calls (line 1086) | def _assert_calls(self, args: List, stdout_mock: MagicMock): class TestUpgradeWithEjectAbort (line 1093) | class TestUpgradeWithEjectAbort(BaseTestUpgradeWithEject): class TestUpgradeWithEjectAccept (line 1109) | class TestUpgradeWithEjectAccept(BaseTestUpgradeWithEject): method test_run (line 1133) | def test_run(self, *mocks): class BaseTestUpgradeProject (line 1144) | class BaseTestUpgradeProject(AEATestCaseEmpty): method setup_class (line 1152) | def setup_class(cls): method setup (line 1164) | def setup(self): method teardown (line 1169) | def teardown(self): class TestUpgradeProjectWithNewerVersion (line 1175) | class TestUpgradeProjectWithNewerVersion(BaseTestUpgradeProject): method test_upgrade (line 1179) | def test_upgrade(self, mock_confirm, confirm): class TestUpgradeProjectWithoutNewerVersion (line 1205) | class TestUpgradeProjectWithoutNewerVersion(BaseTestUpgradeProject): method test_run (line 1208) | def test_run(self, mock_click_echo, mock_get_latest_version): class TestUpgradeAEACompatibility (line 1234) | class TestUpgradeAEACompatibility(BaseTestUpgradeProject): method test_upgrade (line 1244) | def test_upgrade(self): FILE: tests/test_aea/test_cli/test_utils/test_config.py class ValidateItemConfigTestCase (line 35) | class ValidateItemConfigTestCase(TestCase): method test_validate_item_config_positive (line 46) | def test_validate_item_config_positive(self, *mocks): method test_validate_item_config_negative (line 58) | def test_validate_item_config_negative(self, *mocks): FILE: tests/test_aea/test_cli/test_utils/test_utils.py class FormatItemsTestCase (line 90) | class FormatItemsTestCase(TestCase): method testformat_items_positive (line 93) | def testformat_items_positive(self): class TryGetItemSourcePathTestCase (line 118) | class TryGetItemSourcePathTestCase(TestCase): method test_get_item_source_path_positive (line 122) | def test_get_item_source_path_positive(self, exists_mock, join_mock): method test_get_item_source_path_not_exists (line 134) | def test_get_item_source_path_not_exists(self, exists_mock, join_mock): class TryGetItemTargetPathTestCase (line 145) | class TryGetItemTargetPathTestCase(TestCase): method test_get_item_target_path_positive (line 149) | def test_get_item_target_path_positive(self, exists_mock, join_mock): method test_get_item_target_path_already_exists (line 158) | def test_get_item_target_path_already_exists(self, exists_mock, join_m... class PublicIdParameterTestCase (line 164) | class PublicIdParameterTestCase(TestCase): method test_get_metavar_positive (line 167) | def test_get_metavar_positive(self): class InitConfigFolderTestCase (line 178) | class InitConfigFolderTestCase(TestCase): method test_init_cli_config_positive (line 181) | def test_init_cli_config_positive( class UpdateCLIConfigTestCase (line 194) | class UpdateCLIConfigTestCase(TestCase): method testupdate_cli_config_positive (line 197) | def testupdate_cli_config_positive(self, dump_mock, icf_mock): function _raise_yamlerror (line 204) | def _raise_yamlerror(*args): function _raise_file_not_found_error (line 208) | def _raise_file_not_found_error(*args): class GetOrCreateCLIConfigTestCase (line 213) | class GetOrCreateCLIConfigTestCase(TestCase): method testget_or_create_cli_config_positive (line 219) | def testget_or_create_cli_config_positive(self, safe_load_mock): method testget_or_create_cli_config_bad_yaml (line 227) | def testget_or_create_cli_config_bad_yaml(self): class CleanAfterTestCase (line 233) | class CleanAfterTestCase(TestCase): method test_clean_after_positive (line 239) | def test_clean_after_positive(self, rmtree_mock, *mocks): class ValidateAuthorNameTestCase (line 254) | class ValidateAuthorNameTestCase(TestCase): method test_validate_author_name_positive (line 260) | def test_validate_author_name_positive(self, prompt_mock): method test_validate_author_name_negative (line 273) | def test_validate_author_name_negative(self, prompt_mock): class ValidatePackageNameTestCase (line 283) | class ValidatePackageNameTestCase(TestCase): method test_validate_package_name_positive (line 286) | def test_validate_package_name_positive(self): method test_validate_package_name_negative (line 290) | def test_validate_package_name_negative(self): function _raise_validation_error (line 296) | def _raise_validation_error(*args, **kwargs): class FindItemLocallyTestCase (line 300) | class FindItemLocallyTestCase(TestCase): method test_find_item_locally_bad_config (line 308) | def test_find_item_locally_bad_config(self, *mocks): method test_find_item_locally_cant_find (line 322) | def test_find_item_locally_cant_find(self, from_conftype_mock, *mocks): class FindItemInDistributionTestCase (line 333) | class FindItemInDistributionTestCase(TestCase): method testfind_item_in_distribution_bad_config (line 341) | def testfind_item_in_distribution_bad_config(self, *mocks): method testfind_item_in_distribution_not_found (line 350) | def testfind_item_in_distribution_not_found(self, *mocks): method testfind_item_in_distribution_cant_find (line 364) | def testfind_item_in_distribution_cant_find(self, from_conftype_mock, ... class ValidateConfigConsistencyTestCase (line 375) | class ValidateConfigConsistencyTestCase(TestCase): method test__validate_config_consistency_cant_find (line 379) | def test__validate_config_consistency_cant_find(self, *mocks): class IsFingerprintCorrectTestCase (line 391) | class IsFingerprintCorrectTestCase(TestCase): method test_is_fingerprint_correct_positive (line 394) | def test_is_fingerprint_correct_positive(self, *mocks): method test_is_fingerprint_correct_negative (line 402) | def test_is_fingerprint_correct_negative(self, *mocks): class TryGetBalanceTestCase (line 413) | class TryGetBalanceTestCase(TestCase): method test_try_get_balance_positive (line 416) | def test_try_get_balance_positive(self): class IsReadmePresentTestCase (line 427) | class IsReadmePresentTestCase(TestCase): method test_is_readme_present_positive (line 430) | def test_is_readme_present_positive(self, *mocks): function test_get_package_path_unified (line 438) | def test_get_package_path_unified(mock_present, mock_path, vendor): function test_get_dotted_package_path_unified (line 453) | def test_get_dotted_package_path_unified(mock_present, mock_path, vendor): function test_is_item_present_unified (line 468) | def test_is_item_present_unified(mock_, vendor): function test_is_distributed_item (line 488) | def test_is_distributed_item(public_id, expected_outcome): class TestGetWalletFromtx (line 493) | class TestGetWalletFromtx(AEATestCaseEmpty): method test_get_wallet_from_ctx (line 496) | def test_get_wallet_from_ctx(self): function test_override_ledger_configurations_negative (line 503) | def test_override_ledger_configurations_negative(): function test_override_ledger_configurations_positive (line 513) | def test_override_ledger_configurations_positive(): function test_mutually_exclusive_usage_error (line 540) | def test_mutually_exclusive_usage_error(): function test_set_cli_author_negative (line 551) | def test_set_cli_author_negative(*_mocks): function test_set_cli_author_positive (line 564) | def test_set_cli_author_positive(*_mocks): function test_password_option (line 571) | def test_password_option(): function test_context_registry_path_does_not_exist (line 607) | def test_context_registry_path_does_not_exist(): FILE: tests/test_aea/test_cli/tools_for_testing.py function raise_click_exception (line 36) | def raise_click_exception(*args, **kwargs): class AgentConfigMock (line 41) | class AgentConfigMock: method __init__ (line 44) | def __init__(self, *args, **kwargs): class FaultyAgentConfigMock (line 77) | class FaultyAgentConfigMock: method __init__ (line 80) | def __init__(self, *args, **kwargs): class ContextMock (line 84) | class ContextMock: method __init__ (line 89) | def __init__(self, *args, **kwargs): method set_config (line 101) | def set_config(self, key, value): class PublicIdMock (line 106) | class PublicIdMock: method __init__ (line 111) | def __init__(self, author=AUTHOR, name="name", version=DEFAULT_TESTING... method from_str (line 118) | def from_str(cls, public_id): method package_version (line 124) | def package_version(self) -> PackageVersion: class AEAConfMock (line 129) | class AEAConfMock: method __init__ (line 132) | def __init__(self, *args, **kwargs): class ConfigLoaderMock (line 146) | class ConfigLoaderMock: method __init__ (line 149) | def __init__(self, *args, **kwargs): method load (line 153) | def load(self, *args, **kwargs): method dump (line 157) | def dump(self, *args, **kwargs): class StopTest (line 162) | class StopTest(Exception): function raise_stoptest (line 168) | def raise_stoptest(*args, **kwargs): FILE: tests/test_aea/test_components/test_base.py class TestComponentProperties (line 32) | class TestComponentProperties: method setup_class (line 35) | def setup_class(self): method test_component_type (line 45) | def test_component_type(self): method test_is_vendor (line 49) | def test_is_vendor(self): method test_prefix_import_path (line 53) | def test_prefix_import_path(self): method test_component_id (line 57) | def test_component_id(self): method test_public_id (line 61) | def test_public_id(self): method test_directory (line 65) | def test_directory(self): method test_build_directory (line 69) | def test_build_directory(self): function test_directory_setter (line 74) | def test_directory_setter(): function test_load_aea_package (line 89) | def test_load_aea_package(): function test_load_aea_package_twice (line 98) | def test_load_aea_package_twice(): FILE: tests/test_aea/test_components/test_loader.py function component_configuration (line 40) | def component_configuration(): function test_component_loading_generic_exception (line 50) | def test_component_loading_generic_exception(component_configuration): function test_component_loading_generic_module_not_found_error (line 62) | def test_component_loading_generic_module_not_found_error(component_conf... function test_component_loading_module_not_found_error_non_framework_package (line 76) | def test_component_loading_module_not_found_error_non_framework_package( function test_component_loading_module_not_found_error_framework_package (line 89) | def test_component_loading_module_not_found_error_framework_package( function test_component_loading_module_not_found_error_framework_package_with_wrong_author (line 102) | def test_component_loading_module_not_found_error_framework_package_with... function test_component_loading_module_not_found_error_framework_package_with_wrong_type (line 119) | def test_component_loading_module_not_found_error_framework_package_with... function test_component_loading_module_not_found_error_framework_package_with_wrong_name (line 141) | def test_component_loading_module_not_found_error_framework_package_with... function test_component_loading_module_not_found_error_framework_package_with_wrong_suffix (line 163) | def test_component_loading_module_not_found_error_framework_package_with... function test_component_loading_instantiation_exception (line 185) | def test_component_loading_instantiation_exception(component_configurati... function test_component_loading_component_exception (line 197) | def test_component_loading_component_exception(component_configuration): class TestLoadFailedCauseImportedPackageNotFound (line 212) | class TestLoadFailedCauseImportedPackageNotFound(AEATestCaseEmpty): method test_load_component_failed_cause_package_not_found (line 215) | def test_load_component_failed_cause_package_not_found(self): FILE: tests/test_aea/test_components/test_utils.py function test_modules_enlisted_and_loaded (line 28) | def test_modules_enlisted_and_loaded(): FILE: tests/test_aea/test_configurations/test_aea_config.py class NotSet (line 48) | class NotSet(type): class BaseConfigTestVariable (line 78) | class BaseConfigTestVariable(TestCase): method setUpClass (line 91) | def setUpClass(cls) -> None: method loader (line 98) | def loader(self) -> ConfigLoader: method _make_configuration_yaml (line 106) | def _make_configuration_yaml(self, value: Any = NotSet) -> str: method _make_configuration (line 118) | def _make_configuration(self, value: Any = NotSet) -> AgentConfig: method _un_enum_value (line 130) | def _un_enum_value(value: Any) -> Any: method test_no_variable_passed (line 136) | def test_no_variable_passed(self) -> None: method test_good_value_passed (line 145) | def test_good_value_passed(self) -> None: method test_incorrect_value_passed (line 152) | def test_incorrect_value_passed(self) -> None: method _get_aea_value (line 161) | def _get_aea_value(self, aea: AEA) -> Any: method test_builder_applies_default_value_to_aea (line 170) | def test_builder_applies_default_value_to_aea(self) -> None: method test_builder_applies_config_value_to_aea (line 179) | def test_builder_applies_config_value_to_aea(self) -> None: class TestPeriodConfigVariable (line 192) | class TestPeriodConfigVariable(BaseConfigTestVariable): class TestExecutionTimeoutConfigVariable (line 204) | class TestExecutionTimeoutConfigVariable(BaseConfigTestVariable): class TestMaxReactionsConfigVariable (line 216) | class TestMaxReactionsConfigVariable(BaseConfigTestVariable): class TestLoopModeConfigVariable (line 228) | class TestLoopModeConfigVariable(BaseConfigTestVariable): method _get_aea_value (line 239) | def _get_aea_value(self, aea: AEA) -> Any: class TestSkillExceptionPolicyConfigVariable (line 249) | class TestSkillExceptionPolicyConfigVariable(BaseConfigTestVariable): class TestStorageUriConfigVariable (line 261) | class TestStorageUriConfigVariable(BaseConfigTestVariable): class TestConnectionExceptionPolicyConfigVariable (line 273) | class TestConnectionExceptionPolicyConfigVariable(BaseConfigTestVariable): class TestRuntimeModeConfigVariable (line 285) | class TestRuntimeModeConfigVariable(BaseConfigTestVariable): function test_agent_configuration_loading_multipage (line 297) | def test_agent_configuration_loading_multipage(): function test_agent_configuration_loading_multipage_when_empty_file (line 316) | def test_agent_configuration_loading_multipage_when_empty_file(): function test_agent_configuration_loading_multipage_when_type_not_found (line 323) | def test_agent_configuration_loading_multipage_when_type_not_found(): function test_agent_configuration_loading_multipage_when_same_id (line 340) | def test_agent_configuration_loading_multipage_when_same_id(): function test_agent_configuration_loading_multipage_validation_error (line 358) | def test_agent_configuration_loading_multipage_validation_error(): function test_agent_configuration_loading_multipage_positive_case (line 385) | def test_agent_configuration_loading_multipage_positive_case(component_t... function test_agent_configuration_dump_multipage (line 409) | def test_agent_configuration_dump_multipage(): function test_agent_configuration_dump_multipage_fails_bad_component_configuration (line 431) | def test_agent_configuration_dump_multipage_fails_bad_component_configur... class TestTaskManagerModeConfigVariable (line 455) | class TestTaskManagerModeConfigVariable(BaseConfigTestVariable): FILE: tests/test_aea/test_configurations/test_base.py class TestCRUDCollection (line 77) | class TestCRUDCollection: method test_create_with_existing_key (line 80) | def test_create_with_existing_key(self): method test_read_not_empty (line 88) | def test_read_not_empty(self): method test_read_empty (line 95) | def test_read_empty(self): method test_update (line 101) | def test_update(self): method test_delete (line 110) | def test_delete(self): method test_read_all (line 119) | def test_read_all(self): method test_keys (line 128) | def test_keys(self): class TestContractConfig (line 138) | class TestContractConfig: method test_from_json_and_to_json (line 142) | def test_from_json_and_to_json(self, contract_path): class TestConnectionConfig (line 156) | class TestConnectionConfig: method test_from_json_and_to_json (line 160) | def test_from_json_and_to_json(self, connection_path): class TestProtocolConfig (line 176) | class TestProtocolConfig: method test_from_json_and_to_json (line 180) | def test_from_json_and_to_json(self, protocol_path): class TestSkillConfig (line 194) | class TestSkillConfig: method test_from_json_and_to_json (line 202) | def test_from_json_and_to_json(self, skill_path): method test_update_method (line 215) | def test_update_method(self): method test_update_method_raises_error_if_skill_component_not_allowed (line 251) | def test_update_method_raises_error_if_skill_component_not_allowed(self): method test_update_method_raises_error_if_we_try_to_change_classname_of_skill_component (line 275) | def test_update_method_raises_error_if_we_try_to_change_classname_of_s... class TestAgentConfig (line 300) | class TestAgentConfig: method test_from_json_and_to_json (line 304) | def test_from_json_and_to_json(self, agent_path): class TestAgentConfigUpdate (line 321) | class TestAgentConfigUpdate: method setup (line 324) | def setup(self): method test_all_components_id (line 341) | def test_all_components_id(self): method test_component_configurations_setter (line 345) | def test_component_configurations_setter(self): method test_component_configurations_setter_negative (line 353) | def test_component_configurations_setter_negative(self): method test_aea_version_setter (line 366) | def test_aea_version_setter(self): method test_update (line 375) | def test_update(self): class GetDefaultConfigurationFileNameFromStrTestCase (line 422) | class GetDefaultConfigurationFileNameFromStrTestCase(TestCase): method test__get_default_configuration_file_name_from_type_positive (line 425) | def test__get_default_configuration_file_name_from_type_positive(self): class PublicIdTestCase (line 434) | class PublicIdTestCase(TestCase): method test_public_id_from_str_not_matching (line 438) | def test_public_id_from_str_not_matching(self, *mocks): method test_public_id_from_json_positive (line 443) | def test_public_id_from_json_positive(self): method test_public_id_json_positive (line 448) | def test_public_id_json_positive(self): method test_public_id_eq_positive (line 453) | def test_public_id_eq_positive(self): method test_public_id_lt_positive (line 459) | def test_public_id_lt_positive(self): method test_is_valid_str (line 465) | def test_is_valid_str(self): method test_try_from_str (line 470) | def test_try_from_str(self): class AgentConfigTestCase (line 476) | class AgentConfigTestCase(TestCase): method test_init_logging_config_positive (line 479) | def test_init_logging_config_positive(self): method test_default_connection (line 483) | def test_default_connection(self): method test_name_and_author (line 490) | def test_name_and_author(self): class SpeechActContentConfigTestCase (line 497) | class SpeechActContentConfigTestCase(TestCase): method test_speech_act_content_config_init_positive (line 500) | def test_speech_act_content_config_init_positive(self): method test_json_positive (line 504) | def test_json_positive(self): method test_from_json_positive (line 509) | def test_from_json_positive(self): class ProtocolSpecificationTestCase (line 514) | class ProtocolSpecificationTestCase(TestCase): method test_init_positive (line 517) | def test_init_positive(self): method test_json_positive (line 525) | def test_json_positive(self): method test_from_json_positive (line 535) | def test_from_json_positive(self, *mocks): function test_package_type_plural (line 549) | def test_package_type_plural(): function test_package_type_str (line 558) | def test_package_type_str(): function test_component_type_str (line 567) | def test_component_type_str(): function test_configuration_ordered_json (line 575) | def test_configuration_ordered_json(): function test_public_id_versions (line 584) | def test_public_id_versions(): function test_public_id_invalid_version (line 590) | def test_public_id_invalid_version(): function test_public_id_from_string (line 596) | def test_public_id_from_string(): function test_public_id_from_string_without_version_string (line 604) | def test_public_id_from_string_without_version_string(): function test_public_id_from_string_with_version_string_latest (line 612) | def test_public_id_from_string_with_version_string_latest(): function test_public_id_from_uri_path (line 620) | def test_public_id_from_uri_path(): function test_public_id_from_uri_path_wrong_input (line 628) | def test_public_id_from_uri_path_wrong_input(): function test_public_id_to_uri_path (line 636) | def test_public_id_to_uri_path(): function test_pubic_id_repr (line 642) | def test_pubic_id_repr(): function test_pubic_id_to_latest (line 648) | def test_pubic_id_to_latest(): function test_pubic_id_to_any (line 656) | def test_pubic_id_to_any(): function test_pubic_id_same_prefix (line 664) | def test_pubic_id_same_prefix(): function test_public_id_comparator_when_author_is_different (line 680) | def test_public_id_comparator_when_author_is_different(): function test_public_id_comparator_when_name_is_different (line 691) | def test_public_id_comparator_when_name_is_different(): function test_package_id_version (line 702) | def test_package_id_version(): function test_package_id_str (line 708) | def test_package_id_str(): function test_package_id_repr (line 714) | def test_package_id_repr(): function test_package_id_lt (line 720) | def test_package_id_lt(): function test_package_id_from_uri_path (line 728) | def test_package_id_from_uri_path(): function test_package_id_to_uri_path (line 737) | def test_package_id_to_uri_path(): function test_package_id_from_uri_path_negative (line 743) | def test_package_id_from_uri_path_negative(): function test_component_id_prefix_import_path (line 752) | def test_component_id_prefix_import_path(): function test_component_id_same_prefix (line 761) | def test_component_id_same_prefix(): function test_component_configuration_load_file_not_found (line 772) | def test_component_configuration_load_file_not_found(): function test_component_configuration_check_fingerprint_bad_directory (line 783) | def test_component_configuration_check_fingerprint_bad_directory(): function test_component_configuration_check_fingerprint_different_fingerprints_vendor (line 792) | def test_component_configuration_check_fingerprint_different_fingerprint... function test_component_configuration_check_fingerprint_different_fingerprints_no_vendor (line 810) | def test_component_configuration_check_fingerprint_different_fingerprint... function test_agent_fingerprint_different_fingerprints (line 828) | def test_agent_fingerprint_different_fingerprints(): function test_check_aea_version_when_it_fails (line 845) | def test_check_aea_version_when_it_fails(): function test_connection_config_with_connection_id (line 862) | def test_connection_config_with_connection_id(): function test_agent_config_package_dependencies (line 867) | def test_agent_config_package_dependencies(): function test_agent_config_to_json_with_optional_configurations (line 886) | def test_agent_config_to_json_with_optional_configurations(): function test_protocol_specification_attributes (line 911) | def test_protocol_specification_attributes(): function test_contract_config_component_type (line 928) | def test_contract_config_component_type(): function test_package_version_eq_negative (line 934) | def test_package_version_eq_negative(): function test_package_version_lt (line 941) | def test_package_version_lt(): class TestDependencyGetPipInstallArgs (line 949) | class TestDependencyGetPipInstallArgs: method setup_class (line 953) | def setup_class(cls): method test_only_name_and_version (line 961) | def test_only_name_and_version(self): method test_name_version_index (line 969) | def test_name_version_index(self): method test_name_version_index_git (line 978) | def test_name_version_index_git(self): method test_name_version_index_git_ref (line 986) | def test_name_version_index_git_ref(self): function test_dependencies_from_to_json (line 995) | def test_dependencies_from_to_json(): function test_dependency_from_json_fail_more_than_one_key (line 1018) | def test_dependency_from_json_fail_more_than_one_key(): function test_dependency_from_json_fail_not_allowed_keys (line 1026) | def test_dependency_from_json_fail_not_allowed_keys(): function test_dependency_to_string (line 1033) | def test_dependency_to_string(): function test_check_public_id_consistency_negative (line 1044) | def test_check_public_id_consistency_negative(): function test_check_public_id_consistency_positive (line 1054) | def test_check_public_id_consistency_positive(): function test_component_id_from_json (line 1062) | def test_component_id_from_json(): FILE: tests/test_aea/test_configurations/test_loader.py function test_windows_uri_path (line 41) | def test_windows_uri_path(): function test_config_loader_get_required_fields (line 52) | def test_config_loader_get_required_fields(): function test_config_loader_dump_component (line 61) | def test_config_loader_dump_component(*_mocks): function test_config_loader_dump_agent_config (line 71) | def test_config_loader_dump_agent_config(*_mocks): function test_load_protocol_specification (line 79) | def test_load_protocol_specification(spec_file_path): function test_load_protocol_specification_only_first_part (line 87) | def test_load_protocol_specification_only_first_part(*_mocks): function test_load_protocol_specification_two_parts (line 107) | def test_load_protocol_specification_two_parts(*_mocks): function test_load_protocol_specification_too_many_parts (line 127) | def test_load_protocol_specification_too_many_parts(): function test_load_package_configuration_with_incompatible_aea_version (line 140) | def test_load_package_configuration_with_incompatible_aea_version(*_mocks): FILE: tests/test_aea/test_configurations/test_manager.py function test_envvars_applied (line 77) | def test_envvars_applied(): function test_envvars_preserved (line 142) | def test_envvars_preserved(*mocks): function test_agent_attribute_get_set (line 176) | def test_agent_attribute_get_set(): function test_agent_attribute_get_overridables (line 237) | def test_agent_attribute_get_overridables(): function test_dump_config (line 245) | def test_dump_config(): function test_handle_dotted_path (line 256) | def test_handle_dotted_path(): function test_find_component_directory_from_component_id (line 278) | def test_find_component_directory_from_component_id(): function test_agent_attribute_get_and_apply_overridables (line 289) | def test_agent_attribute_get_and_apply_overridables(): FILE: tests/test_aea/test_configurations/test_pypi.py function test_is_satisfiable_common_cases (line 33) | def test_is_satisfiable_common_cases(): function test_is_satisfiable_with_compatibility_constraints (line 44) | def test_is_satisfiable_with_compatibility_constraints(): function test_is_satisfiable_with_legacy_version (line 63) | def test_is_satisfiable_with_legacy_version(): function test_merge_dependencies (line 68) | def test_merge_dependencies(): function test_merge_dependencies_fails_not_simple (line 94) | def test_merge_dependencies_fails_not_simple(): function test_merge_dependencies_succeeds_not_simple_but_the_same (line 109) | def test_merge_dependencies_succeeds_not_simple_but_the_same(): function test_is_simple_dep (line 122) | def test_is_simple_dep(): function test_to_set_specifier (line 132) | def test_to_set_specifier(): FILE: tests/test_aea/test_configurations/test_schema.py function test_agent_configuration_schema_is_valid_wrt_draft_04 (line 52) | def test_agent_configuration_schema_is_valid_wrt_draft_04(): function test_skill_configuration_schema_is_valid_wrt_draft_04 (line 64) | def test_skill_configuration_schema_is_valid_wrt_draft_04(): function test_connection_configuration_schema_is_valid_wrt_draft_04 (line 76) | def test_connection_configuration_schema_is_valid_wrt_draft_04(): function test_protocol_configuration_schema_is_valid_wrt_draft_04 (line 92) | def test_protocol_configuration_schema_is_valid_wrt_draft_04(): function test_definitions_schema_is_valid_wrt_draft_04 (line 108) | def test_definitions_schema_is_valid_wrt_draft_04(): function test_config_validation (line 136) | def test_config_validation(schema_file_path, config_file_path): FILE: tests/test_aea/test_configurations/test_utils.py function test_get_latest_component_id_from_prefix (line 37) | def test_get_latest_component_id_from_prefix(): function test_get_latest_component_id_from_prefix_negative (line 51) | def test_get_latest_component_id_from_prefix_negative(): class BaseTestReplaceComponentIds (line 62) | class BaseTestReplaceComponentIds: class TestReplaceComponentIdsInAgentConfig (line 90) | class TestReplaceComponentIdsInAgentConfig(BaseTestReplaceComponentIds): method setup_class (line 94) | def setup_class(cls): method test_protocols_updated (line 125) | def test_protocols_updated(self): method test_contracts_updated (line 129) | def test_contracts_updated(self): method test_connections_updated (line 133) | def test_connections_updated(self): method test_skills_updated (line 137) | def test_skills_updated(self): method test_default_connection_updated (line 141) | def test_default_connection_updated(self): method test_default_routing_updated (line 145) | def test_default_routing_updated(self): method test_custom_configuration_updated (line 151) | def test_custom_configuration_updated(self): class TestReplaceComponentIdsInConnectionConfig (line 182) | class TestReplaceComponentIdsInConnectionConfig(BaseTestReplaceComponent... method setup_class (line 186) | def setup_class(cls): method test_protocols_updated (line 199) | def test_protocols_updated(self): method test_connections_updated (line 203) | def test_connections_updated(self): method test_restricted_to_protocols_updated (line 207) | def test_restricted_to_protocols_updated(self): method test_excluded_protocols_updated (line 211) | def test_excluded_protocols_updated(self): class TestReplaceComponentIdsInSkillConfig (line 216) | class TestReplaceComponentIdsInSkillConfig(BaseTestReplaceComponentIds): method setup_class (line 220) | def setup_class(cls): method test_protocols_updated (line 237) | def test_protocols_updated(self): method test_contracts_updated (line 241) | def test_contracts_updated(self): method test_connections_updated (line 245) | def test_connections_updated(self): method test_skills_updated (line 249) | def test_skills_updated(self): FILE: tests/test_aea/test_configurations/test_validation.py function test_compare_data_pattern (line 27) | def test_compare_data_pattern(): function test_filter_data (line 58) | def test_filter_data(): FILE: tests/test_aea/test_connections/test_base.py class TConnection (line 44) | class TConnection(Connection): method connect (line 49) | def connect(self, *args, **kwargs): method disconnect (line 53) | def disconnect(self, *args, **kwargs): method from_config (line 57) | def from_config(self, *args, **kwargs): method receive (line 61) | def receive(self, *args, **kwargs): method send (line 65) | def send(self, *args, **kwargs): class TestConnectionTestCase (line 70) | class TestConnectionTestCase: method test_loop_only_in_running_loop (line 76) | async def test_loop_only_in_running_loop(self): method test_loop_fails_on_non_running_loop (line 83) | def test_loop_fails_on_non_running_loop(self): method test_excluded_protocols_positive (line 91) | def test_excluded_protocols_positive(self): function test_loop_property (line 100) | def test_loop_property(): function test_ensure_valid_envelope_for_external_comms_negative_cases (line 110) | def test_ensure_valid_envelope_for_external_comms_negative_cases(): function test_state (line 127) | def test_state(): function test_ensure_connected (line 140) | def test_ensure_connected(): function test_from_dir (line 155) | def test_from_dir(): function test_from_config_exception_path (line 172) | def test_from_config_exception_path(): function test_from_config_exception_class (line 191) | def test_from_config_exception_class(): function test_set_base_state (line 210) | def test_set_base_state(): FILE: tests/test_aea/test_connections/test_scaffold.py class TestScaffoldConnectionReception (line 35) | class TestScaffoldConnectionReception: method setup (line 38) | def setup(self): method test_methods_not_implemented (line 48) | async def test_methods_not_implemented(self): class TestScaffoldConnectionAndRun (line 63) | class TestScaffoldConnectionAndRun(AEATestCaseEmpty): method setup (line 66) | def setup(self): method test_run_and_not_implemented_error (line 71) | def test_run_and_not_implemented_error(self): FILE: tests/test_aea/test_connections/test_sync_connection.py class SampleConnection (line 31) | class SampleConnection(BaseSyncConnection): method __init__ (line 39) | def __init__(self, *args, **kwargs): method main (line 47) | def main(self): method on_send (line 54) | def on_send(self, envelope: Envelope) -> None: method on_connect (line 62) | def on_connect(self): method on_disconnect (line 66) | def on_disconnect(self): function test_sync_connection (line 72) | async def test_sync_connection(): FILE: tests/test_aea/test_context/test_base.py function test_agent_context (line 29) | def test_agent_context(): FILE: tests/test_aea/test_contracts/test_base.py function test_from_dir (line 48) | def test_from_dir(): function test_from_config_and_registration (line 58) | def test_from_config_and_registration(): function test_from_config_negative (line 85) | def test_from_config_negative(): function test_non_implemented_class_methods (line 106) | def test_non_implemented_class_methods(): function dummy_contract (line 119) | def dummy_contract(request): function test_get_instance_no_address_ethereum (line 135) | def test_get_instance_no_address_ethereum(dummy_contract): function test_get_deploy_transaction_ethereum (line 147) | def test_get_deploy_transaction_ethereum( function test_get_instance_no_address_cosmwasm (line 169) | def test_get_instance_no_address_cosmwasm(dummy_contract): function test_get_deploy_transaction_cosmwasm (line 179) | def test_get_deploy_transaction_cosmwasm(dummy_contract): function test_scaffold (line 193) | def test_scaffold(): FILE: tests/test_aea/test_crypto/test_helpers.py class ResponseMock (line 54) | class ResponseMock: method __init__ (line 59) | def __init__(self, status_code=200): class TestHelperFile (line 64) | class TestHelperFile: method tests_private_keys (line 67) | def tests_private_keys(self): method tests_generate_wealth_ethereum_fail_no_url (line 87) | def tests_generate_wealth_ethereum_fail_no_url(self, caplog): method tests_generate_wealth_ethereum_fail_invalid_url (line 101) | def tests_generate_wealth_ethereum_fail_invalid_url(self, caplog): method tests_generate_wealth_ethereum_fail_valid_url (line 116) | def tests_generate_wealth_ethereum_fail_valid_url(self, caplog): method test_try_generate_testnet_wealth_error_resp_ethereum (line 132) | def test_try_generate_testnet_wealth_error_resp_ethereum(self, *mocks): method test_try_validate_private_key_path_positive (line 136) | def test_try_validate_private_key_path_positive(self): method test__create_ethereum_private_key_positive (line 146) | def test__create_ethereum_private_key_positive(self, *mocks): method test__create_cosmos_private_key_positive (line 151) | def test__create_cosmos_private_key_positive(self, *mocks): function test_private_key_verify (line 156) | def test_private_key_verify(): function test_make_certificate (line 171) | def test_make_certificate(): function test_get_wallet_from_agent_config (line 182) | def test_get_wallet_from_agent_config(): FILE: tests/test_aea/test_crypto/test_ledger_apis.py function _raise_exception (line 40) | def _raise_exception(*args, **kwargs): function test_initialisation (line 44) | def test_initialisation(): class TestLedgerApis (line 57) | class TestLedgerApis: method setup_class (line 61) | def setup_class(cls): method test_get_balance (line 65) | def test_get_balance(self): method test_get_transfer_transaction (line 73) | def test_get_transfer_transaction(self): method test_send_signed_transaction (line 89) | def test_send_signed_transaction(self): method test_get_transaction_receipt (line 101) | def test_get_transaction_receipt(self): method test_get_transaction (line 113) | def test_get_transaction(self): method test_is_transaction_settled (line 125) | def test_is_transaction_settled(self): method test_is_transaction_valid (line 137) | def test_is_transaction_valid(self): method test_recover_message (line 153) | def test_recover_message(self): method test_get_hash (line 167) | def test_get_hash(self): method test_get_contract_address (line 180) | def test_get_contract_address(self): method test_generate_tx_nonce_positive (line 193) | def test_generate_tx_nonce_positive(self): function test_is_valid_address (line 201) | def test_is_valid_address(): FILE: tests/test_aea/test_crypto/test_password_end2end.py class TestKeyEncryption (line 29) | class TestKeyEncryption(AEATestCaseEmpty): method test_crypto_plugin (line 33) | def test_crypto_plugin(self, ledger_name): FILE: tests/test_aea/test_crypto/test_registries.py function test_make_crypto_cosmos_positive (line 34) | def test_make_crypto_cosmos_positive(): function test_make_ledger_api_cosmos_positive (line 40) | def test_make_ledger_api_cosmos_positive(): class Something (line 46) | class Something: method __init__ (line 51) | def __init__(self, **kwargs): function test_register_make_with_class_kwargs (line 56) | def test_register_make_with_class_kwargs(): function test_itemid (line 76) | def test_itemid(): function test_registry (line 82) | def test_registry(): FILE: tests/test_aea/test_crypto/test_registry/test_crypto_registry.py function test_make_fetchai (line 45) | def test_make_fetchai(): function test_make_ethereum (line 55) | def test_make_ethereum(): function test_make_cosmos (line 65) | def test_make_cosmos(): function test_register_custom_crypto (line 75) | def test_register_custom_crypto(): function test_cannot_register_crypto_twice (line 105) | def test_cannot_register_crypto_twice(): function test_import_error (line 120) | def test_import_error(*mocks): class TestRegisterWithMalformedId (line 133) | class TestRegisterWithMalformedId: method test_wrong_spaces (line 138) | def test_wrong_spaces(self): method test_special_characters (line 159) | def test_special_characters(self, special_character): class TestRegisterWithMalformedEntryPoint (line 167) | class TestRegisterWithMalformedEntryPoint: method test_wrong_spaces (line 172) | def test_wrong_spaces(self): method test_special_characters (line 193) | def test_special_characters(self, special_character): FILE: tests/test_aea/test_crypto/test_registry/test_ledger_api_registry.py function test_make_ledger_apis (line 48) | def test_make_ledger_apis(identifier, address, config): FILE: tests/test_aea/test_crypto/test_registry/test_misc.py function test_validation_item_id (line 47) | def test_validation_item_id(current_id, is_valid): FILE: tests/test_aea/test_crypto/test_wallet.py function test_wallet_initialisation_error (line 39) | def test_wallet_initialisation_error(): class WalletTestCase (line 45) | class WalletTestCase(TestCase): method test_wallet_init_positive (line 48) | def test_wallet_init_positive(self): method test_wallet_init_bad_id (line 57) | def test_wallet_init_bad_id(self): method test_wallet_init_bad_paths (line 63) | def test_wallet_init_bad_paths(self): method test_wallet_crypto_objects_positive (line 69) | def test_wallet_crypto_objects_positive(self): method test_wallet_public_keys_positive (line 81) | def test_wallet_public_keys_positive(self): method test_wallet_addresses_positive (line 93) | def test_wallet_addresses_positive(self): method test_wallet_private_keys_positive (line 105) | def test_wallet_private_keys_positive(self): method test_wallet_cryptos_positive (line 117) | def test_wallet_cryptos_positive(self): method test_wallet_sign_message_positive (line 132) | def test_wallet_sign_message_positive(self): method test_wallet_sign_message_negative (line 146) | def test_wallet_sign_message_negative(self): method test_wallet_sign_transaction_positive (line 156) | def test_wallet_sign_transaction_positive(self): method test_wallet_sign_transaction_negative (line 169) | def test_wallet_sign_transaction_negative(self): FILE: tests/test_aea/test_decision_maker/test_default.py class SigningDialogues (line 58) | class SigningDialogues(BaseSigningDialogues): method __init__ (line 61) | def __init__(self, self_address: Address) -> None: class BaseTestDecisionMaker (line 88) | class BaseTestDecisionMaker: method setup (line 95) | def setup(cls): method test_decision_maker_config (line 124) | def test_decision_maker_config(self): method test_decision_maker_execute_w_wrong_input (line 128) | def test_decision_maker_execute_w_wrong_input(self): method test_decision_maker_queue_access_not_permitted (line 135) | def test_decision_maker_queue_access_not_permitted(self): method test_handle_tx_signing_fetchai (line 147) | def test_handle_tx_signing_fetchai(self): method test_handle_tx_signing_ethereum (line 198) | def test_handle_tx_signing_ethereum(self): method test_handle_tx_signing_unknown (line 232) | def test_handle_tx_signing_unknown(self): method test_handle_message_signing_fetchai (line 266) | def test_handle_message_signing_fetchai(self): method test_handle_message_signing_ethereum (line 300) | def test_handle_message_signing_ethereum(self): method test_handle_message_signing_ethereum_deprecated (line 334) | def test_handle_message_signing_ethereum_deprecated(self): method test_handle_message_signing_unknown_and_two_dialogues (line 371) | def test_handle_message_signing_unknown_and_two_dialogues(self): method test_handle_messages_from_two_dialogues_same_agent (line 405) | def test_handle_messages_from_two_dialogues_same_agent(self): method teardown (line 484) | def teardown(cls): class TestDecisionMaker (line 489) | class TestDecisionMaker(BaseTestDecisionMaker): FILE: tests/test_aea/test_decision_maker/test_gop.py class SigningDialogues (line 59) | class SigningDialogues(BaseSigningDialogues): method __init__ (line 62) | def __init__(self, self_address: Address) -> None: class StateUpdateDialogues (line 89) | class StateUpdateDialogues(BaseStateUpdateDialogues): method __init__ (line 92) | def __init__(self, self_address: Address) -> None: class TestDecisionMaker (line 118) | class TestDecisionMaker: method _patch_logger (line 122) | def _patch_logger(cls): method _unpatch_logger (line 129) | def _unpatch_logger(cls): method setup (line 133) | def setup(cls): method test_properties (line 162) | def test_properties(self): method test_decision_maker_handle_state_update_initialize_and_apply (line 167) | def test_decision_maker_handle_state_update_initialize_and_apply(self): method teardown (line 234) | def teardown(cls): class TestDecisionMaker2 (line 240) | class TestDecisionMaker2(BaseTestDecisionMakerDefault): method _patch_logger (line 247) | def _patch_logger(cls): method _unpatch_logger (line 254) | def _unpatch_logger(cls): method setup (line 258) | def setup(cls): method teardown (line 264) | def teardown(cls): FILE: tests/test_aea/test_decision_maker/test_ownership_state.py function test_non_initialized_ownership_state_raises_exception (line 29) | def test_non_initialized_ownership_state_raises_exception(): function test_initialisation (line 40) | def test_initialisation(): function test_is_affordable_for_uninitialized (line 54) | def test_is_affordable_for_uninitialized(): class TestOwnershipState (line 71) | class TestOwnershipState: method setup_class (line 75) | def setup_class(cls): method test_transaction_is_affordable_agent_is_buyer (line 115) | def test_transaction_is_affordable_agent_is_buyer(self): method test_transaction_is_affordable_there_is_no_wealth (line 128) | def test_transaction_is_affordable_there_is_no_wealth(self): method test_transaction_is_affordable_neutral (line 141) | def test_transaction_is_affordable_neutral(self): method test_transaction_is_affordable_malformed (line 154) | def test_transaction_is_affordable_malformed(self): method test_transaction_is_affordable_agent_is_seller (line 167) | def test_transaction_is_affordable_agent_is_seller(self): method test_apply (line 180) | def test_apply(self): method test_transaction_update (line 196) | def test_transaction_update(self): method test_transaction_update_receive (line 213) | def test_transaction_update_receive(self): FILE: tests/test_aea/test_decision_maker/test_preferences.py function test_preferences_properties (line 31) | def test_preferences_properties(): function test_preferences_init (line 40) | def test_preferences_init(): function test_logarithmic_utility (line 63) | def test_logarithmic_utility(): function test_linear_utility (line 77) | def test_linear_utility(): function test_utility (line 91) | def test_utility(): function test_marginal_utility (line 113) | def test_marginal_utility(): function test_score_diff_from_transaction (line 139) | def test_score_diff_from_transaction(): function test_is_utility_enhancing_uninitialized (line 183) | def test_is_utility_enhancing_uninitialized(): FILE: tests/test_aea/test_decision_maker/test_scaffold.py function test_init_and_not_implemented (line 28) | def test_init_and_not_implemented(): FILE: tests/test_aea/test_error_handler/test_base.py function test_config (line 30) | def test_config(): function test_send_unsupported_protocol (line 37) | def test_send_unsupported_protocol(): function test_send_decoding_error (line 53) | def test_send_decoding_error(): function test_send_no_active_handler_1 (line 70) | def test_send_no_active_handler_1(): function test_send_no_active_handler_2 (line 88) | def test_send_no_active_handler_2(): FILE: tests/test_aea/test_error_handler/test_scaffold.py function test_scaffold_send_unsupported_protocol_raises_not_implemented_error (line 27) | def test_scaffold_send_unsupported_protocol_raises_not_implemented_error(): function test_scaffold_send_decoding_error_raises_not_implemented_error (line 33) | def test_scaffold_send_decoding_error_raises_not_implemented_error(): function test_scaffold_send_no_active_handler_raises_not_implemented_error (line 39) | def test_scaffold_send_no_active_handler_raises_not_implemented_error(): FILE: tests/test_aea/test_exceptions.py function test_enforce_no_exception (line 26) | def test_enforce_no_exception(): function test_enforce_exception (line 31) | def test_enforce_exception(): function test_stop_runtime (line 38) | def test_stop_runtime(): function test_parse_exception_i (line 45) | def test_parse_exception_i(): function test_parse_exception_ii (line 66) | def test_parse_exception_ii(): FILE: tests/test_aea/test_helpers/test_acn/test_agent_record.py function test_agent_record (line 31) | def test_agent_record(change_directory): FILE: tests/test_aea/test_helpers/test_acn/test_uri.py function test_uri (line 24) | def test_uri(): FILE: tests/test_aea/test_helpers/test_async_friendly_queue.py function test_same_thread (line 31) | def test_same_thread() -> None: function test_asyncio_loop (line 44) | async def test_asyncio_loop() -> None: function test_many_threads_with_asyncio (line 52) | def test_many_threads_with_asyncio() -> None: FILE: tests/test_aea/test_helpers/test_async_utils.py function test_enusre_list (line 39) | def test_enusre_list() -> None: function test_async_state (line 49) | async def test_async_state(): function test_async_state_transit (line 73) | async def test_async_state_transit(): function test_asyncstate_with_list_of_valid_states (line 93) | async def test_asyncstate_with_list_of_valid_states(): function test_asyncstate_callback (line 108) | async def test_asyncstate_callback(): function test_periodic_caller_start_stop (line 130) | async def test_periodic_caller_start_stop(): function test_periodic_caller_exception (line 151) | async def test_periodic_caller_exception(): function test_threaded_async_run (line 173) | async def test_threaded_async_run(): function test_threaded_async_run_cancel_task (line 186) | async def test_threaded_async_run_cancel_task(): class RunAndExit (line 211) | class RunAndExit(Runnable): method run (line 214) | async def run(self): class TestRunnable (line 219) | class TestRunnable: method test_no_loop_and_threded (line 222) | def test_no_loop_and_threded(self): method test_task_cancel_not_set (line 229) | def test_task_cancel_not_set(self): method test_runnable_async (line 241) | async def test_runnable_async(self): method test_runnable_sync (line 262) | def test_runnable_sync(self): method test_double_start (line 268) | async def test_double_start(self): method test_run_in_thread (line 285) | async def test_run_in_thread(self): method test_timeout (line 302) | async def test_timeout(self): method test_exception (line 335) | async def test_exception(self): method test_wait_async_threaded (line 362) | async def test_wait_async_threaded(self): method test_wait_async_threaded_no_exception (line 380) | async def test_wait_async_threaded_no_exception(self): method test_double_stop (line 392) | async def test_double_stop(self): method test_stop_before_run (line 405) | def test_stop_before_run(self): FILE: tests/test_aea/test_helpers/test_base.py class TestHelpersBase (line 68) | class TestHelpersBase: method test_locate (line 71) | def test_locate(self): method test_locate_class (line 85) | def test_locate_class(self): method test_locate_with_builtins (line 100) | def test_locate_with_builtins(self): method test_locate_when_path_does_not_exist (line 105) | def test_locate_when_path_does_not_exist(self): function test_regex_constrained_string_initialization (line 114) | def test_regex_constrained_string_initialization(): function test_load_module (line 124) | def test_load_module(): function test_load_env_file (line 137) | def test_load_env_file(): function test_reg_exp_not_match (line 143) | def test_reg_exp_not_match(): function test_try_decorator (line 153) | def test_try_decorator(): function test_retry_decorator (line 163) | def test_retry_decorator(): function test_log_and_reraise (line 179) | def test_log_and_reraise(): function test_send_control_c_group (line 195) | def test_send_control_c_group(): function test_send_control_c (line 208) | def test_send_control_c(): function test_send_control_c_windows (line 223) | def test_send_control_c_windows(): function test_recursive_update_no_recursion (line 238) | def test_recursive_update_no_recursion(): function test_recursive_update_with_recursion (line 250) | def test_recursive_update_with_recursion(): function test_recursive_update_negative_different_type (line 260) | def test_recursive_update_negative_different_type(): function test_recursive_update_new_fields (line 273) | def test_recursive_update_new_fields(): function test_recursive_update_negative_unknown_field (line 290) | def test_recursive_update_negative_unknown_field(): class TestTopologicalOrder (line 303) | class TestTopologicalOrder: method test_empty_graph (line 306) | def test_empty_graph(self): method test_one_node (line 311) | def test_one_node(self): method test_one_node_with_cycle (line 316) | def test_one_node_with_cycle(self): method test_two_nodes_no_edges (line 321) | def test_two_nodes_no_edges(self): method test_two_nodes_no_cycle (line 326) | def test_two_nodes_no_cycle(self): method test_two_nodes_with_cycle (line 331) | def test_two_nodes_with_cycle(self): method test_two_nodes_clique (line 336) | def test_two_nodes_clique(self): method test_chain (line 342) | def test_chain(self, chain_length): class TestReachableNodes (line 353) | class TestReachableNodes: method test_empty_graph (line 356) | def test_empty_graph(self): method test_starting_node_not_in_the_graph (line 361) | def test_starting_node_not_in_the_graph(self): method test_one_node (line 369) | def test_one_node(self): method test_one_node_loop (line 374) | def test_one_node_loop(self): method test_two_nodes (line 380) | def test_two_nodes(self): method test_two_nodes_cycle (line 389) | def test_two_nodes_cycle(self): method test_chain (line 398) | def test_chain(self): function test_ensure_dir (line 413) | def test_ensure_dir(): class BaseTestCertRequestError (line 429) | class BaseTestCertRequestError: method test_error (line 441) | def test_error(self): class TestCertRequestBadPublicKey (line 455) | class TestCertRequestBadPublicKey(BaseTestCertRequestError): class TestCertRequestBadIdentifier (line 462) | class TestCertRequestBadIdentifier(BaseTestCertRequestError): class TestCertRequestBadLedgerId (line 471) | class TestCertRequestBadLedgerId(BaseTestCertRequestError): class TestCertRequestBadNotBefore (line 480) | class TestCertRequestBadNotBefore(BaseTestCertRequestError): class TestCertRequestBadNotAfter (line 489) | class TestCertRequestBadNotAfter(BaseTestCertRequestError): class TestCertRequestInconsistentDates (line 498) | class TestCertRequestInconsistentDates(BaseTestCertRequestError): class BaseTestCertRequestInstantiation (line 506) | class BaseTestCertRequestInstantiation: method setup_class (line 514) | def setup_class(cls): method test_instantiation (line 533) | def test_instantiation(self): method test_from_to_json (line 561) | def test_from_to_json(self): class TestCertRequestInstantiationWithKeyIdentifier (line 566) | class TestCertRequestInstantiationWithKeyIdentifier(BaseTestCertRequestI... class TestCertRequestInstantiationWithKeyHex (line 574) | class TestCertRequestInstantiationWithKeyHex(BaseTestCertRequestInstanti... function test_compute_specifier_from_version (line 582) | def test_compute_specifier_from_version(): function test_dict_to_path_value (line 602) | def test_dict_to_path_value(): function test_decorator_with_optional_params (line 612) | def test_decorator_with_optional_params(): class TestDeleteDirectoryContents (line 661) | class TestDeleteDirectoryContents: method setup (line 664) | def setup(self): method test_main (line 681) | def test_main(self): method teardown (line 688) | def teardown(self): function test_prepend_if_not_absolute (line 693) | def test_prepend_if_not_absolute(): FILE: tests/test_aea/test_helpers/test_env_vars.py function test_is_env_variable (line 30) | def test_is_env_variable(): function test_apply_env_variables (line 39) | def test_apply_env_variables(): function test_replace_with_env_var (line 49) | def test_replace_with_env_var(): function test_convert_value_str_to_type (line 63) | def test_convert_value_str_to_type(): FILE: tests/test_aea/test_helpers/test_exec_timeout.py class BaseTestExecTimeout (line 44) | class BaseTestExecTimeout(TestCase): method setUpClass (line 50) | def setUpClass(cls): method test_cancel_by_timeout (line 55) | def test_cancel_by_timeout(self): method test_limit_is_0_do_not_limit_execution (line 74) | def test_limit_is_0_do_not_limit_execution(self): method test_timeout_bigger_than_execution_time (line 88) | def test_timeout_bigger_than_execution_time(self): method slow_function (line 107) | def slow_function(cls, sleep): class TestSigAlarm (line 112) | class TestSigAlarm(BaseTestExecTimeout): class TestThreadGuard (line 118) | class TestThreadGuard(BaseTestExecTimeout): method setUp (line 123) | def setUp(self): method tearDown (line 127) | def tearDown(self): method slow_function (line 132) | def slow_function(cls, sleep): method test_execution_limit_in_threads (line 139) | def test_execution_limit_in_threads(self): function test_supervisor_not_started (line 173) | def test_supervisor_not_started(): FILE: tests/test_aea/test_helpers/test_file_io.py class TestFileLock (line 33) | class TestFileLock: method test_lock_file_ok (line 36) | def test_lock_file_ok(self): method test_lock_file_error (line 42) | def test_lock_file_error(self): function test_envelope_serialization (line 51) | def test_envelope_serialization(): function test_decode_fails (line 69) | def test_decode_fails(): function test_envelope_from_bytes_bad_format (line 78) | def test_envelope_from_bytes_bad_format(): FILE: tests/test_aea/test_helpers/test_install_dependency.py class InstallDependencyTestCase (line 30) | class InstallDependencyTestCase(TestCase): method test__install_dependency_fails (line 33) | def test__install_dependency_fails(self, *mocks): method test__install_dependency_ok (line 41) | def test__install_dependency_ok(self, *mocks): method test__install_dependency_fails_real_pip_call (line 48) | def test__install_dependency_fails_real_pip_call(self): class InstallDependenciesTestCase (line 56) | class InstallDependenciesTestCase(TestCase): method test_fails (line 59) | def test_fails(self, *mocks): method test_ok (line 67) | def test_ok(self, *mocks): method test_fails_real_pip_call (line 74) | def test_fails_real_pip_call(self): FILE: tests/test_aea/test_helpers/test_io.py function test_open_file (line 30) | def test_open_file(change_directory, path_builder): function test_raise_if_binary_mode (line 44) | def test_raise_if_binary_mode(): FILE: tests/test_aea/test_helpers/test_ipfs/test_base.py function test_get_hash (line 33) | def test_get_hash(): function test_is_text_negative (line 39) | def test_is_text_negative(): function test_hash_for_big_file (line 49) | def test_hash_for_big_file(): FILE: tests/test_aea/test_helpers/test_logging.py function test_get_logger (line 26) | def test_get_logger(): function test_agent_logger_adapter (line 35) | def test_agent_logger_adapter(): function test_with_logger_default_logger_name (line 45) | def test_with_logger_default_logger_name(): function test_with_logger_custom_logger_name (line 58) | def test_with_logger_custom_logger_name(): function test_with_logger_custom_logger (line 72) | def test_with_logger_custom_logger(): function test_with_logger_setter (line 87) | def test_with_logger_setter(): FILE: tests/test_aea/test_helpers/test_multiaddr.py function test_multiaddr_consistency (line 39) | def test_multiaddr_consistency(): function test_multiaddr_correctness (line 58) | def test_multiaddr_correctness(): function test_multiaddr_from_string (line 73) | def test_multiaddr_from_string(): FILE: tests/test_aea/test_helpers/test_multiple_executor.py class Task (line 27) | class Task(AbstractExecutorTask): method start (line 30) | def start(self): method stop (line 34) | def stop(self) -> None: method create_async_task (line 38) | def create_async_task(self, loop: AbstractEventLoop) -> TaskAwaitable: function test_task_failed (line 48) | def test_task_failed(): FILE: tests/test_aea/test_helpers/test_pipe/test_pipe.py function _run_echo_service (line 38) | def _run_echo_service(client: IPCChannelClient): class TestAEAHelperMakePipe (line 57) | class TestAEAHelperMakePipe: method test_connection_communication (line 61) | async def test_connection_communication(self): class TestAEAHelperTCPSocketChannel (line 92) | class TestAEAHelperTCPSocketChannel: method test_connection_communication (line 96) | async def test_connection_communication(self): method test_connection_refused (line 126) | async def test_connection_refused(self): function make_future (line 139) | def make_future(result) -> asyncio.Future: class TestAEAHelperPosixNamedPipeChannel (line 148) | class TestAEAHelperPosixNamedPipeChannel: method test_connection_communication (line 152) | async def test_connection_communication(self): FILE: tests/test_aea/test_helpers/test_preference_representations/test_base.py function test_logarithmic_utility (line 28) | def test_logarithmic_utility(): function test_linear_utility (line 39) | def test_linear_utility(): FILE: tests/test_aea/test_helpers/test_profiling.py function test_profiling (line 26) | def test_profiling(): FILE: tests/test_aea/test_helpers/test_search/base.py function test_location_init (line 25) | def test_location_init(): FILE: tests/test_aea/test_helpers/test_search/test_generic.py function test_generic_data_model (line 27) | def test_generic_data_model(): FILE: tests/test_aea/test_helpers/test_search/test_models.py function test_location (line 45) | def test_location(): function test_attribute (line 62) | def test_attribute(): function test_data_model (line 78) | def test_data_model(): function test_generate_data_model (line 104) | def test_generate_data_model(): function test_description (line 113) | def test_description(): function test_constraint_type (line 174) | def test_constraint_type(): function test_constraints_expression (line 397) | def test_constraints_expression(): function test_constraints_and (line 465) | def test_constraints_and(): function test_constraints_or (line 483) | def test_constraints_or(): function test_constraints_not (line 501) | def test_constraints_not(): function test_constraint (line 521) | def test_constraint(): function test_query (line 583) | def test_query(): FILE: tests/test_aea/test_helpers/test_serializers.py function test_encode_decode_i (line 25) | def test_encode_decode_i(): function test_error_type_not_supported (line 65) | def test_error_type_not_supported(): function test_list_mixed_type_not_supported (line 74) | def test_list_mixed_type_not_supported(): function test_encode_dict_is_deterministic (line 81) | def test_encode_dict_is_deterministic(): FILE: tests/test_aea/test_helpers/test_storage.py class TestAsyncCollection (line 28) | class TestAsyncCollection: method test_collection (line 32) | async def test_collection(self): class TestSyncCollection (line 59) | class TestSyncCollection: method test_collection (line 62) | def test_collection(self): class TestMisc (line 90) | class TestMisc: method test_invalid_col_name (line 93) | def test_invalid_col_name(self): method test_unsupoported_backend (line 104) | def test_unsupoported_backend(self): FILE: tests/test_aea/test_helpers/test_sym_link.py function test_create_symlink (line 29) | def test_create_symlink(): FILE: tests/test_aea/test_helpers/test_transaction/test_base.py function test_init_terms (line 38) | def test_init_terms(): function test_init_terms_w_fee (line 94) | def test_init_terms_w_fee(): function test_init_terms_w_fee_counterparty (line 128) | def test_init_terms_w_fee_counterparty(): function test_init_terms_strict_positive (line 164) | def test_init_terms_strict_positive(): function test_init_terms_strict_negative (line 185) | def test_init_terms_strict_negative(): function test_init_terms_multiple_goods (line 207) | def test_init_terms_multiple_goods(): function test_init_terms_no_amount_and_quantity (line 230) | def test_init_terms_no_amount_and_quantity(): function test_terms_encode_decode (line 256) | def test_terms_encode_decode(): function test_init_raw_transaction (line 284) | def test_init_raw_transaction(): function test_raw_transaction_encode_decode (line 295) | def test_raw_transaction_encode_decode(): function test_init_raw_message (line 309) | def test_init_raw_message(): function test_raw_message_encode_decode (line 324) | def test_raw_message_encode_decode(): function test_init_signed_transaction (line 338) | def test_init_signed_transaction(): function test_signed_transaction_encode_decode (line 349) | def test_signed_transaction_encode_decode(): function test_init_signed_message (line 363) | def test_init_signed_message(): function test_signed_message_encode_decode (line 378) | def test_signed_message_encode_decode(): function test_init_transaction_receipt (line 392) | def test_init_transaction_receipt(): function test_transaction_receipt_encode_decode (line 408) | def test_transaction_receipt_encode_decode(): function test_init_state (line 423) | def test_init_state(): function test_state_encode_decode (line 434) | def test_state_encode_decode(): function test_init_transaction_digest (line 448) | def test_init_transaction_digest(): function test_transaction_digest_encode_decode (line 459) | def test_transaction_digest_encode_decode(): FILE: tests/test_aea/test_helpers/test_yaml_utils.py function test_yaml_dump_load (line 34) | def test_yaml_dump_load(): function test_yaml_dump_all_load_all (line 44) | def test_yaml_dump_all_load_all(): function test_instantiate_loader_twice (line 54) | def test_instantiate_loader_twice(): function _generate_random_string (line 62) | def _generate_random_string(n: int = 100): FILE: tests/test_aea/test_identity/test_base.py function test_init_identity_positive (line 30) | def test_init_identity_positive(): function test_init_identity_negative (line 64) | def test_init_identity_negative(): function test_accessors (line 124) | def test_accessors(): FILE: tests/test_aea/test_launcher.py class TestThreadLauncherMode (line 38) | class TestThreadLauncherMode(AEATestCaseMany): method setup_class (line 47) | def setup_class(cls): method set_runtime_mode_to_async (line 71) | def set_runtime_mode_to_async(cls, agent_name: str) -> None: method test_start_stop (line 80) | def test_start_stop(self, capfd, caplog) -> None: method test_one_fails (line 111) | def test_one_fails(self) -> None: method test_run_agent_in_thread (line 124) | def test_run_agent_in_thread(self): class TestAsyncLauncherMode (line 134) | class TestAsyncLauncherMode(TestThreadLauncherMode): class TestProcessLauncherMode (line 140) | class TestProcessLauncherMode(TestThreadLauncherMode): function test_task_stop (line 146) | def test_task_stop(): FILE: tests/test_aea/test_mail/test_base.py function test_uri (line 39) | def test_uri(): function test_uri_eq (line 56) | def test_uri_eq(): function test_envelope_initialisation (line 63) | def test_envelope_initialisation(): function test_inbox_empty (line 92) | def test_inbox_empty(): function test_inbox_nowait (line 99) | def test_inbox_nowait(): function test_inbox_get (line 120) | def test_inbox_get(): function test_inbox_get_raises_exception_when_empty (line 142) | def test_inbox_get_raises_exception_when_empty(): function test_inbox_get_nowait_returns_none (line 152) | def test_inbox_get_nowait_returns_none(): function test_outbox_put (line 160) | def test_outbox_put(): function test_outbox_put_message (line 193) | def test_outbox_put_message(): function test_outbox_empty (line 221) | def test_outbox_empty(): function test_multiplexer (line 231) | def test_multiplexer(): function test_envelope_fails_on_message_empty_protocol_specification_id (line 245) | def test_envelope_fails_on_message_empty_protocol_specification_id(): function test_protobuf_envelope_serializer (line 257) | def test_protobuf_envelope_serializer(): function test_envelope_serialization (line 275) | def test_envelope_serialization(): function test_envelope_message_bytes (line 289) | def test_envelope_message_bytes(): function test_envelope_context_connection_id (line 303) | def test_envelope_context_connection_id(): function test_envelope_context_is_None_for_c2c (line 311) | def test_envelope_context_is_None_for_c2c(): function test_envelope_to_as_public_id (line 330) | def test_envelope_to_as_public_id(): function test_envelope_constructor (line 341) | def test_envelope_constructor(): function test_envelope_context_repr (line 367) | def test_envelope_context_repr(): function test_envelope_specification_id_translated (line 372) | def test_envelope_specification_id_translated(): FILE: tests/test_aea/test_multiplexer.py function test_receiving_loop_terminated (line 75) | async def test_receiving_loop_terminated(): function test_connect_twice (line 88) | def test_connect_twice(): function test_disconnect_twice (line 101) | def test_disconnect_twice(): function test_connect_twice_with_loop (line 112) | def test_connect_twice_with_loop(): function test_connect_twice_a_single_connection (line 139) | async def test_connect_twice_a_single_connection(): function test_run_bad_conneect (line 155) | async def test_run_bad_conneect(): function test_multiplexer_connect_all_raises_error (line 166) | def test_multiplexer_connect_all_raises_error(): function test_multiplexer_connect_one_raises_error_many_connections (line 178) | def test_multiplexer_connect_one_raises_error_many_connections(): function test_disconnect_twice_a_single_connection (line 215) | async def test_disconnect_twice_a_single_connection(): function test_multiplexer_disconnect_all_raises_error (line 228) | def test_multiplexer_disconnect_all_raises_error(): function test_multiplexer_disconnect_one_raises_error_many_connections (line 250) | async def test_multiplexer_disconnect_one_raises_error_many_connections(): function test_sending_loop_does_not_start_if_multiplexer_not_connected (line 297) | async def test_sending_loop_does_not_start_if_multiplexer_not_connected(): function test_sending_loop_cancelled (line 309) | async def test_sending_loop_cancelled(): function test_receiving_loop_raises_exception (line 321) | async def test_receiving_loop_raises_exception(): function test_send_envelope_with_non_registered_connection (line 340) | async def test_send_envelope_with_non_registered_connection(): function test_send_envelope_when_no_connection (line 366) | async def test_send_envelope_when_no_connection(): function test_send_envelope_error_is_logged_by_send_loop (line 389) | def test_send_envelope_error_is_logged_by_send_loop(): function test_get_from_multiplexer_when_empty (line 414) | def test_get_from_multiplexer_when_empty(): function test_send_message_no_supported_protocol (line 423) | def test_send_message_no_supported_protocol(): function test_protocol_not_resolved (line 477) | def test_protocol_not_resolved(): function test_autoset_default_connection (line 491) | def test_autoset_default_connection(): function test__get_connection (line 503) | def test__get_connection(): function test_disconnect_when_not_connected (line 513) | async def test_disconnect_when_not_connected(): function test_exit_on_none_envelope (line 525) | async def test_exit_on_none_envelope(): function test_inbox_outbox (line 542) | async def test_inbox_outbox(): function test_threaded_mode (line 583) | async def test_threaded_mode(): function test_outbox_negative (line 621) | async def test_outbox_negative(): function test_default_route_applied (line 681) | async def test_default_route_applied(caplog): function test_connection_id_in_to_field_detected (line 717) | async def test_connection_id_in_to_field_detected(caplog): function test_routing_helper_applied (line 749) | async def test_routing_helper_applied(caplog): function test_multiplexer_setup (line 784) | def test_multiplexer_setup(): class TestExceptionHandlingOnConnectionSend (line 805) | class TestExceptionHandlingOnConnectionSend: method setup (line 808) | def setup(self): method teardown (line 825) | def teardown(self): method test_log_policy (line 829) | def test_log_policy(self): method test_propagate_policy (line 837) | def test_propagate_policy(self): method test_stop_policy (line 849) | def test_stop_policy(self): method test_disconnect_order (line 859) | def test_disconnect_order(self): class TestMultiplexerDisconnectsOnTermination (line 886) | class TestMultiplexerDisconnectsOnTermination: # pylint: disable=attrib... method setup (line 889) | def setup(self): method test_multiplexer_disconnected_on_early_interruption (line 921) | def test_multiplexer_disconnected_on_early_interruption(self): method test_multiplexer_disconnected_on_termination_after_connected_no_connection (line 975) | def test_multiplexer_disconnected_on_termination_after_connected_no_co... method test_multiplexer_disconnected_on_termination_after_connected_one_connection (line 997) | def test_multiplexer_disconnected_on_termination_after_connected_one_c... method teardown (line 1026) | def teardown(self): function test_multiplexer_setup_replaces_connections (line 1037) | def test_multiplexer_setup_replaces_connections(): function test_connect_after_disconnect_sync (line 1048) | def test_connect_after_disconnect_sync(): function test_connect_after_disconnect_async (line 1065) | async def test_connect_after_disconnect_async(): function test_connection_timeouts (line 1082) | async def test_connection_timeouts(): function test_stops_on_connectionerror_during_connect (line 1128) | async def test_stops_on_connectionerror_during_connect(): FILE: tests/test_aea/test_package_loading.py function test_loading (line 31) | def test_loading(): FILE: tests/test_aea/test_protocols/test_base.py function role_from_first_message_dd (line 58) | def role_from_first_message_dd( function role_from_first_message_sd (line 65) | def role_from_first_message_sd( function role_from_first_message_sud (line 72) | def role_from_first_message_sud( class TMessage (line 101) | class TMessage(Message): class _SlotsCls (line 104) | class _SlotsCls: class TestMessageProperties (line 117) | class TestMessageProperties: method setup_class (line 121) | def setup_class(cls): method test_message_properties (line 127) | def test_message_properties(self): class ExampleProtobufSerializer (line 151) | class ExampleProtobufSerializer(Serializer): method encode (line 159) | def encode(msg: Message) -> bytes: method decode (line 198) | def decode(obj: bytes) -> Message: class TestBaseSerializations (line 235) | class TestBaseSerializations: method setup_class (line 239) | def setup_class(cls): method test_default_protobuf_serialization (line 250) | def test_default_protobuf_serialization(self): method test_default_protobuf_serialization_with_dialogue_info (line 269) | def test_default_protobuf_serialization_with_dialogue_info(self): method test_set (line 288) | def test_set(self): method test_body_setter (line 296) | def test_body_setter(self): class TestMessageEncode (line 303) | class TestMessageEncode: method test_encode (line 306) | def test_encode(self): class TestProtocolFromDir (line 318) | class TestProtocolFromDir: method setup_class (line 322) | def setup_class(cls): method test_protocol_load_positive (line 329) | def test_protocol_load_positive(self): method teardown_class (line 343) | def teardown_class(cls): class TestMessageAttributes (line 352) | class TestMessageAttributes: method test_performative (line 355) | def test_performative(self): method test_to (line 365) | def test_to(self): method test_dialogue_reference (line 377) | def test_dialogue_reference(self): method test_message_id (line 382) | def test_message_id(self): method test_target (line 387) | def test_target(self): function test_dialogue (line 394) | def test_dialogue(dialogue_classes): function test_dialogues (line 403) | def test_dialogues(dialogues_classes): function test_protocol_repr (line 409) | def test_protocol_repr(): FILE: tests/test_aea/test_protocols/test_dialogue/test_base.py class Dialogue (line 53) | class Dialogue(BaseDialogue): class Role (line 65) | class Role(BaseDialogue.Role): class EndState (line 71) | class EndState(BaseDialogue.EndState): method __init__ (line 77) | def __init__( class Dialogues (line 101) | class Dialogues(BaseDialogues): method __init__ (line 108) | def __init__( function test_dialogue_message_python_3_7 (line 148) | def test_dialogue_message_python_3_7(): function test_dialogue_message_python_3_6 (line 163) | def test_dialogue_message_python_3_6(): class TestDialogueLabel (line 177) | class TestDialogueLabel: method setup (line 181) | def setup(cls): method test_all_methods (line 191) | def test_all_methods(self): class TestDialogueBase (line 229) | class TestDialogueBase: method setup (line 233) | def setup(cls): method test_inner_classes (line 285) | def test_inner_classes(self): method test_dialogue_properties (line 292) | def test_dialogue_properties(self): method test_counterparty_from_message (line 332) | def test_counterparty_from_message(self): method test_is_message_by_self (line 343) | def test_is_message_by_self(self): method test_is_message_by_other (line 348) | def test_is_message_by_other(self): method test_try_get_message (line 353) | def test_try_get_message(self): method test_has_message_id (line 375) | def test_has_message_id(self): method test_update_positive (line 384) | def test_update_positive(self): method test_update_positive_multiple_messages_by_self (line 389) | def test_update_positive_multiple_messages_by_self(self): method test_terminal_state_callback (line 407) | def test_terminal_state_callback(self): method test_update_negative_is_valid_next_message_fails (line 428) | def test_update_negative_is_valid_next_message_fails(self): method test_update_dialogue_negative_message_does_not_belong_to_dialogue (line 448) | def test_update_dialogue_negative_message_does_not_belong_to_dialogue(... method test_is_belonging_to_dialogue (line 469) | def test_is_belonging_to_dialogue(self): method test_reply_positive (line 482) | def test_reply_positive(self): method test_reply_negative_empty_dialogue (line 494) | def test_reply_negative_empty_dialogue(self): method test_reply_negative_target_does_not_exist (line 505) | def test_reply_negative_target_does_not_exist(self): method test_reply_negative_target_message_target_mismatch (line 516) | def test_reply_negative_target_message_target_mismatch(self): method test_reply_negative_invalid_target (line 531) | def test_reply_negative_invalid_target(self): method test_is_valid_next_message_positive (line 555) | def test_is_valid_next_message_positive(self): method test_is_valid_next_message_negative_basic_validation_fails (line 564) | def test_is_valid_next_message_negative_basic_validation_fails(self): method test_is_valid_next_message_negative_additional_validation_fails (line 580) | def test_is_valid_next_message_negative_additional_validation_fails(se... method test_is_valid_next_message_negative_is_valid_fails (line 599) | def test_is_valid_next_message_negative_is_valid_fails(self): method test_basic_validation_positive (line 615) | def test_basic_validation_positive(self): method test_basic_validation_negative_initial_message_invalid (line 627) | def test_basic_validation_negative_initial_message_invalid(self): method test_basic_validation_negative_non_initial_message_invalid (line 645) | def test_basic_validation_negative_non_initial_message_invalid(self, *... method test_basic_validation_initial_message_positive (line 663) | def test_basic_validation_initial_message_positive(self): method test_basic_validation_initial_message_negative_invalid_dialogue_reference (line 671) | def test_basic_validation_initial_message_negative_invalid_dialogue_re... method test_basic_validation_initial_message_negative_invalid_message_id (line 687) | def test_basic_validation_initial_message_negative_invalid_message_id(... method test_basic_validation_initial_message_negative_invalid_target (line 705) | def test_basic_validation_initial_message_negative_invalid_target(self): method test_basic_validation_initial_message_negative_invalid_performative (line 723) | def test_basic_validation_initial_message_negative_invalid_performativ... method test_basic_validation_non_initial_message_positive (line 746) | def test_basic_validation_non_initial_message_positive(self): method test_basic_validation_non_initial_message_negative_invalid_dialogue_reference (line 756) | def test_basic_validation_non_initial_message_negative_invalid_dialogu... method test_basic_validation_non_initial_message_negative_invalid_message_id (line 778) | def test_basic_validation_non_initial_message_negative_invalid_message... method test_basic_validation_non_initial_message_negative_invalid_target_1 (line 799) | def test_basic_validation_non_initial_message_negative_invalid_target_1( method test_basic_validation_non_initial_message_negative_invalid_target_2 (line 821) | def test_basic_validation_non_initial_message_negative_invalid_target_... method test_basic_validation_non_initial_message_negative_invalid_performative (line 842) | def test_basic_validation_non_initial_message_negative_invalid_perform... method test_update_dialogue_label_positive (line 870) | def test_update_dialogue_label_positive(self): method test_update_dialogue_label_negative_invalid_existing_label (line 881) | def test_update_dialogue_label_negative_invalid_existing_label(self): method test_update_dialogue_label_negative_invalid_input_label (line 901) | def test_update_dialogue_label_negative_invalid_input_label(self): method test___str__1 (line 913) | def test___str__1(self): method test___str__2 (line 924) | def test___str__2(self): class TestDialogueStats (line 965) | class TestDialogueStats: method setup (line 969) | def setup(cls): method test_properties (line 984) | def test_properties(self): method test_add_dialogue_endstate (line 996) | def test_add_dialogue_endstate(self): class TestDialoguesBase (line 1028) | class TestDialoguesBase: method setup (line 1031) | def setup(self): method test_dialogues_properties (line 1063) | def test_dialogues_properties(self): method test_counterparty_from_message (line 1078) | def test_counterparty_from_message(self): method test_is_message_by_self (line 1089) | def test_is_message_by_self(self): method test_is_message_by_other (line 1094) | def test_is_message_by_other(self): method test_new_self_initiated_dialogue_reference (line 1099) | def test_new_self_initiated_dialogue_reference(self): method test_create_positive (line 1113) | def test_create_positive(self): method test_create_negative_incorrect_performative_content_combination (line 1125) | def test_create_negative_incorrect_performative_content_combination(se... method test_update_positive_new_dialogue_by_other (line 1142) | def test_update_positive_new_dialogue_by_other(self): method test_update_positive_existing_dialogue (line 1168) | def test_update_positive_existing_dialogue(self): method test_update_positive_existing_dialogue_2 (line 1204) | def test_update_positive_existing_dialogue_2(self): method test_update_negative_invalid_label (line 1221) | def test_update_negative_invalid_label(self): method test_update_negative_new_dialogue_by_self (line 1235) | def test_update_negative_new_dialogue_by_self(self): method test_update_negative_no_to (line 1252) | def test_update_negative_no_to(self): method test_update_negative_no_sender (line 1275) | def test_update_negative_no_sender(self): method test_update_negative_no_matching_to (line 1299) | def test_update_negative_no_matching_to(self): method test_update_negative_invalid_message (line 1324) | def test_update_negative_invalid_message(self): method test_update_negative_existing_dialogue_non_nonexistent (line 1348) | def test_update_negative_existing_dialogue_non_nonexistent(self): method test_complete_dialogue_reference_positive (line 1399) | def test_complete_dialogue_reference_positive( method test_complete_dialogue_reference_negative_incorrect_reference (line 1429) | def test_complete_dialogue_reference_negative_incorrect_reference( method test_get_dialogue_positive_1 (line 1461) | def test_get_dialogue_positive_1(self): method test_get_dialogue_positive_2 (line 1493) | def test_get_dialogue_positive_2(self): method test_get_dialogue_negative_invalid_reference (line 1521) | def test_get_dialogue_negative_invalid_reference(self, *mocks): method test_get_latest_label (line 1557) | def test_get_latest_label(self): method test_get_dialogue_from_label_positive (line 1561) | def test_get_dialogue_from_label_positive(self): method test_get_dialogue_from_label_negative_incorrect_input_label (line 1572) | def test_get_dialogue_from_label_negative_incorrect_input_label(self): method test_create_self_initiated_positive (line 1585) | def test_create_self_initiated_positive(self): method test_create_self_initiated_negative_invalid_dialogue_reference (line 1598) | def test_create_self_initiated_negative_invalid_dialogue_reference(self): method test_create_opponent_initiated_positive (line 1602) | def test_create_opponent_initiated_positive(self): method test_create_opponent_initiated_negative_invalid_input_dialogue_reference (line 1615) | def test_create_opponent_initiated_negative_invalid_input_dialogue_ref... method test_create_with_message (line 1634) | def test_create_with_message(self): method test__create_positive (line 1643) | def test__create_positive(self): method test__create_negative_incomplete_dialogue_label_present (line 1647) | def test__create_negative_incomplete_dialogue_label_present(self): method test__create_negative_dialogue_label_present (line 1651) | def test__create_negative_dialogue_label_present(self): method test_generate_dialogue_nonce (line 1655) | def test_generate_dialogue_nonce(self): method test_get_dialogues_with_counterparty (line 1666) | def test_get_dialogues_with_counterparty(self): method test_setup (line 1679) | def test_setup(self): method test_teardown (line 1683) | def test_teardown(self): class TestPersistDialoguesStorage (line 1688) | class TestPersistDialoguesStorage: method setup (line 1691) | def setup(self): method teardown (line 1713) | def teardown(self): method test_dialogue_serialize_deserialize (line 1718) | def test_dialogue_serialize_deserialize(self): method test_dump_restore (line 1730) | def test_dump_restore(self): class TestPersistDialoguesStorageOffloading (line 1808) | class TestPersistDialoguesStorageOffloading: method setup (line 1811) | def setup(self): method teardown (line 1832) | def teardown(self): method test_dump_restore (line 1837) | def test_dump_restore(self): class TestBaseDialoguesStorage (line 1931) | class TestBaseDialoguesStorage: method setup (line 1935) | def setup(cls): method test_dialogues_in_terminal_state_kept (line 1969) | def test_dialogues_in_terminal_state_kept(self): method test_dialogues_in_terminal_state_removed (line 1991) | def test_dialogues_in_terminal_state_removed(self): method teardown (line 2010) | def teardown(self): function test_find_caller_object (line 2014) | def test_find_caller_object(): function test_dialogues_keep_terminal_state_dialogues (line 2043) | def test_dialogues_keep_terminal_state_dialogues(): FILE: tests/test_aea/test_protocols/test_dialogue/test_msg_resolve.py function role_participant (line 33) | def role_participant( # pylint: disable=unused-argument function role_controller (line 45) | def role_controller( # pylint: disable=unused-argument function test_dialogues_message_resolved_properly (line 57) | def test_dialogues_message_resolved_properly(): FILE: tests/test_aea/test_protocols/test_generator/common.py function black_is_not_installed (line 41) | def black_is_not_installed(*args, **kwargs): FILE: tests/test_aea/test_protocols/test_generator/test_common.py function isort_is_not_installed_side_effect (line 60) | def isort_is_not_installed_side_effect(*args, **kwargs): function protolint_is_not_installed_side_effect (line 65) | def protolint_is_not_installed_side_effect(*args, **kwargs): function black_is_not_installed_side_effect (line 70) | def black_is_not_installed_side_effect(*args, **kwargs): function protoc_is_not_installed_side_effect (line 75) | def protoc_is_not_installed_side_effect(*args, **kwargs): class TestCommon (line 80) | class TestCommon(TestCase): method setup_class (line 84) | def setup_class(cls): method test_to_camel_case (line 90) | def test_to_camel_case(self): method test_camel_case_to_snake_case (line 102) | def test_camel_case_to_snake_case(self): method test_match_brackets (line 109) | def test_match_brackets( method test_has_matched_brackets (line 150) | def test_has_matched_brackets( method test_get_sub_types_of_compositional_types_positive (line 175) | def test_get_sub_types_of_compositional_types_positive( method test_get_sub_types_of_compositional_types_negative (line 254) | def test_get_sub_types_of_compositional_types_negative( method test_union_sub_type_to_protobuf_variable_name (line 282) | def test_union_sub_type_to_protobuf_variable_name( method test_python_pt_or_ct_type_to_proto_type (line 318) | def test_python_pt_or_ct_type_to_proto_type( method test_includes_custom_type (line 340) | def test_includes_custom_type( method test_is_installed_positive (line 365) | def test_is_installed_positive(self, mocked_shutil_which): method test_is_installed_negative (line 370) | def test_is_installed_negative(self, mocked_shutil_which): method test_base_protolint_command (line 374) | def test_base_protolint_command(self): method test_check_prerequisites_positive (line 382) | def test_check_prerequisites_positive(self, mocked_is_installed): method test_check_prerequisites_negative_black_is_not_installed (line 393) | def test_check_prerequisites_negative_black_is_not_installed( method test_check_prerequisites_negative_isort_is_not_installed (line 404) | def test_check_prerequisites_negative_isort_is_not_installed( method test_check_prerequisites_negative_protolint_is_not_installed (line 415) | def test_check_prerequisites_negative_protolint_is_not_installed( method test_check_prerequisites_negative_protoc_is_not_installed (line 426) | def test_check_prerequisites_negative_protoc_is_not_installed( method test_load_protocol_specification (line 433) | def test_load_protocol_specification( method test_create_protocol_file (line 447) | def test_create_protocol_file( method test_try_run_black_formatting (line 461) | def test_try_run_black_formatting(self, mocked_subprocess): method test_try_run_isort_formatting (line 467) | def test_try_run_isort_formatting(self, mocked_subprocess): method test_try_run_protoc (line 473) | def test_try_run_protoc(self, mocked_subprocess): method test_try_run_protolint (line 479) | def test_try_run_protolint(self, mocked_subprocess): method test_check_protobuf_using_protoc_positive (line 485) | def test_check_protobuf_using_protoc_positive(self, mocked_try_run_pro... method test_check_protobuf_using_protoc_nagative (line 504) | def test_check_protobuf_using_protoc_nagative(self, mocked_subprocess): method test_compile_protobuf_using_protoc_positive (line 511) | def test_compile_protobuf_using_protoc_positive(self, mocked_try_run_p... method test_compile_protobuf_using_protoc_nagative (line 527) | def test_compile_protobuf_using_protoc_nagative(self, mocked_subprocess): method test_apply_protolint_positive (line 535) | def test_apply_protolint_positive(self, mocked_try_run_protoc): method test_apply_protolint_nagative (line 553) | def test_apply_protolint_nagative(self, mocked_subprocess): method teardown_class (line 561) | def teardown_class(cls): FILE: tests/test_aea/test_protocols/test_generator/test_end_to_end.py class TestEndToEndGenerator (line 55) | class TestEndToEndGenerator(UseOef): method setup_class (line 64) | def setup_class(cls): method test_generated_protocol_end_to_end (line 75) | def test_generated_protocol_end_to_end(self): method teardown_class (line 305) | def teardown_class(cls): class Agent1Handler (line 314) | class Agent1Handler(Handler): method __init__ (line 319) | def __init__(self, dialogues: TProtocolDialogues, **kwargs): method setup (line 326) | def setup(self) -> None: method handle (line 330) | def handle(self, message: Message) -> None: method teardown (line 341) | def teardown(self) -> None: class Agent2Handler (line 349) | class Agent2Handler(Handler): method __init__ (line 354) | def __init__( method setup (line 365) | def setup(self) -> None: method handle (line 369) | def handle(self, message: Message) -> None: method teardown (line 395) | def teardown(self) -> None: FILE: tests/test_aea/test_protocols/test_generator/test_extract_specification.py class TestExtractSpecification (line 49) | class TestExtractSpecification(TestCase): method setup_class (line 53) | def setup_class(cls): method test_ct_specification_type_to_python_type (line 59) | def test_ct_specification_type_to_python_type(self): method test_pt_specification_type_to_python_type (line 69) | def test_pt_specification_type_to_python_type(self): method test_pct_specification_type_to_python_type (line 91) | def test_pct_specification_type_to_python_type(self): method test_pmt_specification_type_to_python_type (line 153) | def test_pmt_specification_type_to_python_type(self): method test_mt_specification_type_to_python_type (line 245) | def test_mt_specification_type_to_python_type(self): method test_optional_specification_type_to_python_type (line 265) | def test_optional_specification_type_to_python_type(self): method test_specification_type_to_python_type (line 294) | def test_specification_type_to_python_type(self): method test_pythonic_protocol_specification_class (line 353) | def test_pythonic_protocol_specification_class(self): method test_extract_positive (line 376) | def test_extract_positive(self): method teardown_class (line 527) | def teardown_class(cls): FILE: tests/test_aea/test_protocols/test_generator/test_generator.py class TestCompareLatestGeneratorOutputWithTestProtocol (line 58) | class TestCompareLatestGeneratorOutputWithTestProtocol: method setup_class (line 62) | def setup_class(cls): method test_compare_latest_generator_output_with_test_protocol (line 68) | def test_compare_latest_generator_output_with_test_protocol(self): method teardown_class (line 157) | def teardown_class(cls): class TestCompareLatestGeneratorOutputWithTestProtocolWithNoCustomTypes (line 166) | class TestCompareLatestGeneratorOutputWithTestProtocolWithNoCustomTypes: method setup_class (line 170) | def setup_class(cls): method test_compare_latest_generator_output_with_test_protocol (line 176) | def test_compare_latest_generator_output_with_test_protocol(self): method teardown_class (line 266) | def teardown_class(cls): class TestSerialisations (line 275) | class TestSerialisations: method test_generated_protocol_serialisation_ct (line 283) | def test_generated_protocol_serialisation_ct(self): method test_generated_protocol_serialisation_pt (line 318) | def test_generated_protocol_serialisation_pt(self): method test_generated_protocol_serialisation_pct (line 350) | def test_generated_protocol_serialisation_pct(self): method test_generated_protocol_serialisation_pmt (line 392) | def test_generated_protocol_serialisation_pmt(self): method test_generated_protocol_serialisation_mt (line 454) | def test_generated_protocol_serialisation_mt(self): method test_generated_protocol_serialisation_o (line 752) | def test_generated_protocol_serialisation_o(self): class ProtocolGeneratorTestCase (line 1122) | class ProtocolGeneratorTestCase(TestCase): method setup_class (line 1126) | def setup_class(cls): method _mock_config (line 1132) | def _mock_config(self): method test_init_negative_no_prerequisits (line 1146) | def test_init_negative_no_prerequisits(self, mocked_check_prerequisites): method test_init_negative_loading_specification_fails (line 1157) | def test_init_negative_loading_specification_fails(self, mocked_load): method test_init_negative_extracting_specification_fails (line 1169) | def test_init_negative_extracting_specification_fails(self, mocked_ext... method test_extract_negative_invalid_specification (line 1194) | def test_extract_negative_invalid_specification(self, mocked_validate): method test_change_indent_negative_set_indent_to_negative_value (line 1211) | def test_change_indent_negative_set_indent_to_negative_value(self): method test_change_indent_negative_decreasing_more_spaces_than_available (line 1236) | def test_change_indent_negative_decreasing_more_spaces_than_available(... method test_import_from_custom_types_module_no_custom_types (line 1262) | def test_import_from_custom_types_module_no_custom_types(self): method test_protocol_buffer_schema_str (line 1285) | def test_protocol_buffer_schema_str(self): method test_generate_protobuf_only_mode_positive_python (line 1329) | def test_generate_protobuf_only_mode_positive_python(self): method test_generate_protobuf_only_mode_positive_cpp (line 1342) | def test_generate_protobuf_only_mode_positive_cpp(self): method test_generate_protobuf_only_mode_positive_java (line 1359) | def test_generate_protobuf_only_mode_positive_java(self): method test_generate_protobuf_only_mode_positive_csharp (line 1377) | def test_generate_protobuf_only_mode_positive_csharp(self): method test_generate_protobuf_only_mode_positive_ruby (line 1390) | def test_generate_protobuf_only_mode_positive_ruby(self): method test_generate_protobuf_only_mode_positive_objc (line 1403) | def test_generate_protobuf_only_mode_positive_objc(self): method test_generate_protobuf_only_mode_positive_js (line 1420) | def test_generate_protobuf_only_mode_positive_js(self): method test_generate_protobuf_only_mode_negative_incorrect_language (line 1433) | def test_generate_protobuf_only_mode_negative_incorrect_language(self): method test_generate_protobuf_only_mode_negative_compile_fails (line 1446) | def test_generate_protobuf_only_mode_negative_compile_fails( method test_generate_protobuf_only_mode_protolint_error (line 1468) | def test_generate_protobuf_only_mode_protolint_error(self, mocked_appl... method test_generate_full_mode_negative_incorrect_language (line 1475) | def test_generate_full_mode_negative_incorrect_language(self): method test_generate_full_mode_protolint_error (line 1488) | def test_generate_full_mode_protolint_error(self, mocked_apply_protoli... method test_generate_1 (line 1506) | def test_generate_1(self, mocked_full_mode, mocked_protobuf_mode): method test_generate_2 (line 1517) | def test_generate_2(self, mocked_full_mode, mocked_protobuf_mode): method teardown_class (line 1525) | def teardown_class(cls): FILE: tests/test_aea/test_protocols/test_generator/test_validate.py class TestValidate (line 61) | class TestValidate(TestCase): method test_is_reserved_name (line 64) | def test_is_reserved_name(self): method test_is_valid_regex (line 90) | def test_is_valid_regex(self): method test_has_brackets (line 103) | def test_has_brackets(self): method test_is_valid_ct (line 151) | def test_is_valid_ct(self): method test_is_valid_pt (line 185) | def test_is_valid_pt(self): method test_is_valid_set (line 219) | def test_is_valid_set(self): method test_is_valid_list (line 271) | def test_is_valid_list(self): method test_is_valid_dict (line 323) | def test_is_valid_dict(self): method test_is_valid_union (line 378) | def test_is_valid_union(self): method test_is_valid_optional (line 444) | def test_is_valid_optional(self): method test_is_valid_content_type_format (line 518) | def test_is_valid_content_type_format(self): method test_validate_performatives (line 568) | def test_validate_performatives(self): method test_validate_content_name (line 676) | def test_validate_content_name(self): method test_validate_content_type (line 804) | def test_validate_content_type(self): method test_validate_speech_acts_section (line 993) | def test_validate_speech_acts_section(self, mocked_spec): method test_validate_protocol_buffer_schema_code_snippets (line 1156) | def test_validate_protocol_buffer_schema_code_snippets(self, mocked_sp... method test_validate_field_existence (line 1221) | def test_validate_field_existence(self): method test_validate_initiation (line 1279) | def test_validate_initiation(self): method test_validate_reply (line 1321) | def test_validate_reply(self): method test_validate_termination (line 1449) | def test_validate_termination(self): method test_validate_roles (line 1541) | def test_validate_roles(self): method test_validate_end_states (line 1589) | def test_validate_end_states(self): method test_validate_keep_terminal (line 1631) | def test_validate_keep_terminal(self): method test_validate_dialogue_section (line 1662) | def test_validate_dialogue_section(self, mocked_spec): method test_validate_positive (line 1832) | def test_validate_positive( method test_validate_negative_invalid_speech_acts (line 1852) | def test_validate_negative_invalid_speech_acts( method test_validate_negative_invalid_protobuf_snippets (line 1872) | def test_validate_negative_invalid_protobuf_snippets( method test_validate_negative_invalid_dialogue_section (line 1896) | def test_validate_negative_invalid_dialogue_section( FILE: tests/test_aea/test_protocols/test_scaffold.py function test_scaffold_message (line 27) | def test_scaffold_message(): FILE: tests/test_aea/test_registries/test_base.py class TestContractRegistry (line 61) | class TestContractRegistry: method setup_class (line 65) | def setup_class(cls): method test_fetch_all (line 85) | def test_fetch_all(self): method test_fetch (line 91) | def test_fetch(self): method test_unregister (line 98) | def test_unregister(self): method teardown_class (line 118) | def teardown_class(cls): class TestProtocolRegistry (line 128) | class TestProtocolRegistry: method setup_class (line 132) | def setup_class(cls): method test_fetch_all (line 160) | def test_fetch_all(self): method test_unregister (line 166) | def test_unregister(self): method teardown_class (line 186) | def teardown_class(cls): class TestResources (line 196) | class TestResources: method _patch_logger (line 200) | def _patch_logger(cls): method _unpatch_logger (line 211) | def _unpatch_logger(cls): method setup_class (line 216) | def setup_class(cls): method test_unregister_handler (line 263) | def test_unregister_handler(self): method test_add_and_remove_protocol (line 307) | def test_add_and_remove_protocol(self): method test_get_all_protocols (line 330) | def test_get_all_protocols(self): method test_add_remove_contract (line 343) | def test_add_remove_contract(self): method test_get_all_contracts (line 354) | def test_get_all_contracts(self): method test_add_remove_connection (line 365) | def test_add_remove_connection(self): method test_get_all_connections (line 378) | def test_get_all_connections(self): method test_add_remove_skill (line 393) | def test_add_remove_skill(self): method test_get_handler (line 401) | def test_get_handler(self): method test_get_handlers (line 408) | def test_get_handlers(self): method test_get_behaviours (line 413) | def test_get_behaviours(self): method test_add_component_raises_error (line 418) | def test_add_component_raises_error(self): method test_register_behaviour_with_already_existing_skill_id (line 425) | def test_register_behaviour_with_already_existing_skill_id(self): method test_behaviour_registry (line 438) | def test_behaviour_registry(self): method test_skill_loading (line 456) | def test_skill_loading(self): method test_handler_configuration_loading (line 476) | def test_handler_configuration_loading(self): method test_behaviour_configuration_loading (line 487) | def test_behaviour_configuration_loading(self): method test_model_configuration_loading (line 494) | def test_model_configuration_loading(self): method teardown_class (line 507) | def teardown_class(cls): class TestFilter (line 517) | class TestFilter: method setup_class (line 521) | def setup_class(cls): method test_handle_internal_messages (line 553) | def test_handle_internal_messages(self): method teardown_class (line 570) | def teardown_class(cls): class TestAgentComponentRegistry (line 579) | class TestAgentComponentRegistry: method setup_class (line 582) | def setup_class(self): method test_ids (line 586) | def test_ids(self): method test_register_when_component_is_already_registered (line 590) | def test_register_when_component_is_already_registered(self): method test_register_when_component_id_mismatch (line 603) | def test_register_when_component_id_mismatch(self): method test_unregister_when_no_item_registered (line 618) | def test_unregister_when_no_item_registered(self): method test_fetch_all (line 631) | def test_fetch_all(self): class TestComponentRegistry (line 647) | class TestComponentRegistry: method setup_class (line 650) | def setup_class(self): method test_ids (line 654) | def test_ids(self): method test_ids_non_empty (line 658) | def test_ids_non_empty(self): method test_unregister_when_item_not_registered (line 672) | def test_unregister_when_item_not_registered(self): method test_unregister_by_skill_when_item_not_registered (line 679) | def test_unregister_by_skill_when_item_not_registered(self): method test_setup_with_inactive_skill (line 686) | def test_setup_with_inactive_skill(self): method test_fetch_with_latest_version (line 702) | def test_fetch_with_latest_version(self): class TestHandlerRegistry (line 723) | class TestHandlerRegistry: method setup_class (line 727) | def setup_class(cls): method test_fetch_skill_id_not_present (line 731) | def test_fetch_skill_id_not_present(self): method test_register_and_unregister_dynamically (line 748) | def test_register_and_unregister_dynamically(self): method test_register_and_teardown_dynamically (line 762) | def test_register_and_teardown_dynamically(self): method test_register_when_protocol_id_is_none (line 774) | def test_register_when_protocol_id_is_none(self): method test_register_when_skill_protocol_id_exist (line 784) | def test_register_when_skill_protocol_id_exist(self): method test_unregister_when_no_item_is_registered (line 800) | def test_unregister_when_no_item_is_registered(self): method test_unregister_by_skill (line 808) | def test_unregister_by_skill(self): class TestPublicIdRegistry (line 817) | class TestPublicIdRegistry: method setup_class (line 821) | def setup_class(cls): method test_register_fails_when_version_latest (line 825) | def test_register_fails_when_version_latest(self): method test_register_fails_when_already_registered (line 834) | def test_register_fails_when_already_registered(self): method test_unregister_fails_when_item_not_registered (line 844) | def test_unregister_fails_when_item_not_registered(self): method test_fetch_none (line 852) | def test_fetch_none(self): FILE: tests/test_aea/test_registries/test_filter.py class TestFilter (line 37) | class TestFilter: method setup_class (line 41) | def setup_class(cls): method test_get_internal_message (line 48) | async def test_get_internal_message(self): method test_get_active_handlers_skill_id_none (line 55) | def test_get_active_handlers_skill_id_none(self): method test_get_active_handlers_skill_id_not_none (line 61) | def test_get_active_handlers_skill_id_not_none(self): method test_get_active_behaviours (line 70) | def test_get_active_behaviours(self): method test_handle_internal_message_when_none (line 75) | def test_handle_internal_message_when_none(self): method test_handle_internal_message_when_no_handler (line 85) | def test_handle_internal_message_when_no_handler(self): method test_handle_internal_message_when_invalid_to (line 98) | def test_handle_internal_message_when_invalid_to(self): method test_handle_internal_message_new_behaviours (line 111) | def test_handle_internal_message_new_behaviours(self): method test_handle_internal_message_new_behaviours_with_error (line 130) | def test_handle_internal_message_new_behaviours_with_error(self): method test_handle_internal_message_new_handlers (line 157) | def test_handle_internal_message_new_handlers(self): method test_handle_internal_message_new_handlers_with_error (line 176) | def test_handle_internal_message_new_handlers_with_error(self): method test_handle_signing_message (line 203) | def test_handle_signing_message(self): FILE: tests/test_aea/test_runner.py class TestThreadedRunner (line 37) | class TestThreadedRunner: method _builder (line 42) | def _builder(self, agent_name="agent1", act_func=None) -> AEABuilder: method setup (line 63) | def setup(self): method raise_exception (line 72) | def raise_exception(self, *args, **kwargs): method test_start_stop (line 76) | def test_start_stop(self): method test_one_fails_propagate_policy (line 85) | def test_one_fails_propagate_policy(self) -> None: method test_one_fails_log_only_policy (line 97) | def test_one_fails_log_only_policy(self) -> None: method test_one_fails_stop_policy (line 113) | def test_one_fails_stop_policy(self) -> None: class TestAsyncRunner (line 130) | class TestAsyncRunner(TestThreadedRunner): FILE: tests/test_aea/test_runtime.py class TestAsyncRuntime (line 38) | class TestAsyncRuntime: method setup (line 43) | def setup(self): method teardown (line 63) | def teardown(self): method test_start_stop (line 68) | def test_start_stop(self): method test_stop_with_stopped_exception (line 77) | async def test_stop_with_stopped_exception(self): method test_double_start (line 87) | def test_double_start(self): method test_set_loop (line 93) | def test_set_loop(self): method test_double_stop (line 99) | def test_double_stop(self): method test_error_state (line 111) | def test_error_state(self): class TestThreadedRuntime (line 124) | class TestThreadedRuntime(TestAsyncRuntime): method test_error_state (line 129) | def test_error_state(self): FILE: tests/test_aea/test_skills/test_base.py class BaseTestSkillContext (line 69) | class BaseTestSkillContext: method setup_class (line 73) | def setup_class(cls, decision_maker_handler_class=None): method test_agent_name (line 102) | def test_agent_name(self): method test_agent_addresses (line 106) | def test_agent_addresses(self): method test_agent_public_keys (line 110) | def test_agent_public_keys(self): method test_agent_address (line 114) | def test_agent_address(self): method test_agent_public_key (line 118) | def test_agent_public_key(self): method test_connection_status (line 122) | def test_connection_status(self): method test_decision_maker_message_queue (line 126) | def test_decision_maker_message_queue(self): method test_decision_maker_handler_context (line 130) | def test_decision_maker_handler_context(self): method test_storage (line 137) | def test_storage(self): method test_message_in_queue (line 141) | def test_message_in_queue(self): method test_logger_setter (line 145) | def test_logger_setter(self): method test_agent_context_setter (line 152) | def test_agent_context_setter(self): method test_is_active_property (line 160) | def test_is_active_property(self): method test_new_behaviours_queue (line 164) | def test_new_behaviours_queue(self): method test_new_handlers_queue (line 168) | def test_new_handlers_queue(self): method test_search_service_address (line 172) | def test_search_service_address(self): method test_decision_maker_address (line 179) | def test_decision_maker_address(self): method test_default_ledger_id (line 186) | def test_default_ledger_id(self): method test_currency_denominations (line 193) | def test_currency_denominations(self): method test_namespace (line 200) | def test_namespace(self): method test_send_to_skill (line 204) | def test_send_to_skill(self): method teardown_class (line 212) | def teardown_class(cls): class TestSkillContextDefault (line 217) | class TestSkillContextDefault(BaseTestSkillContext): class TestSkillContextGOP (line 221) | class TestSkillContextGOP(BaseTestSkillContext): method setup_class (line 225) | def setup_class(cls, decision_maker_handler_class=GOPDecisionMakerHand... method test_agent_ownership_state (line 229) | def test_agent_ownership_state(self): method test_agent_preferences (line 236) | def test_agent_preferences(self): method test_agent_is_ready_to_pursuit_goals (line 242) | def test_agent_is_ready_to_pursuit_goals(self): class SkillContextTestCase (line 250) | class SkillContextTestCase(TestCase): method test_shared_state_positive (line 253) | def test_shared_state_positive(self): method test_skill_id_positive (line 260) | def test_skill_id_positive(self): method test_is_active_positive (line 270) | def test_is_active_positive(self, skill_id_mock, debug_mock): method test_task_manager_positive (line 276) | def test_task_manager_positive(self): method test_handlers_positive (line 287) | def test_handlers_positive(self, *mocks): method test_behaviours_positive (line 297) | def test_behaviours_positive(self, *mocks): method test_logger_positive (line 306) | def test_logger_positive(self): class SkillComponentTestCase (line 314) | class SkillComponentTestCase(TestCase): method setUp (line 317) | def setUp(self): method test_init_no_ctx (line 337) | def test_init_no_ctx(self): method test_skill_id_positive (line 345) | def test_skill_id_positive(self): method test_config_positive (line 354) | def test_config_positive(self): method test_kwargs_not_empty (line 361) | def test_kwargs_not_empty(self): function test_load_skill (line 373) | def test_load_skill(): function test_behaviour (line 382) | def test_behaviour(): function test_behaviour_parse_module_without_configs (line 403) | def test_behaviour_parse_module_without_configs(): function test_behaviour_parse_module_missing_class (line 408) | def test_behaviour_parse_module_missing_class(): function test_handler_parse_module_without_configs (line 433) | def test_handler_parse_module_without_configs(): function test_handler_parse_module_missing_class (line 438) | def test_handler_parse_module_missing_class(): function test_model_parse_module_without_configs (line 461) | def test_model_parse_module_without_configs(): function test_model_parse_module_missing_class (line 466) | def test_model_parse_module_missing_class(): function test_print_warning_message_for_non_declared_skill_components (line 487) | def test_print_warning_message_for_non_declared_skill_components(): class TestSkill (line 507) | class TestSkill: method setup_class (line 511) | def setup_class(cls): method test_logger (line 518) | def test_logger(self): method test_logger_setter_raises_error (line 522) | def test_logger_setter_raises_error(self): method test_skill_context (line 528) | def test_skill_context(self): class TestSkillProgrammatic (line 534) | class TestSkillProgrammatic: method setup_class (line 538) | def setup_class(cls): method test_behaviours (line 581) | def test_behaviours(self): method test_handlers (line 588) | def test_handlers(self): method test_models (line 595) | def test_models(self): class TestHandlerHandleExceptions (line 600) | class TestHandlerHandleExceptions: method setup_class (line 604) | def setup_class(cls): method test_handler_standard_exception (line 619) | def test_handler_standard_exception(self): method test_handler_stop_exception (line 625) | def test_handler_stop_exception(self): class DefaultDialogues (line 632) | class DefaultDialogues(Model, Dialogues): method __init__ (line 635) | def __init__(self, **kwargs) -> None: function test_model_dialogues_keep_terminal_dialogues_option (line 664) | def test_model_dialogues_keep_terminal_dialogues_option(): function test_setup_teardown_methods (line 691) | def test_setup_teardown_methods(): class TestSkillLoadingWarningMessages (line 726) | class TestSkillLoadingWarningMessages(BaseAEATestCase): method setup_class (line 774) | def setup_class(cls): method test_warning_message_when_component_not_declared_and_flag_is_false (line 798) | def test_warning_message_when_component_not_declared_and_flag_is_false... method test_no_warning_message_when_component_not_declared_but_flag_is_true (line 808) | def test_no_warning_message_when_component_not_declared_but_flag_is_tr... FILE: tests/test_aea/test_skills/test_behaviours.py function test_sequence_behaviour (line 37) | def test_sequence_behaviour(): function test_act_parameter (line 85) | def test_act_parameter(): class SimpleFSMBehaviour (line 101) | class SimpleFSMBehaviour(FSMBehaviour): method setup (line 104) | def setup(self) -> None: method teardown (line 108) | def teardown(self) -> None: class SimpleStateBehaviour (line 113) | class SimpleStateBehaviour(State): method __init__ (line 116) | def __init__(self, shared_list, event_to_trigger=None, **kwargs): method setup (line 123) | def setup(self) -> None: method teardown (line 127) | def teardown(self) -> None: method act (line 131) | def act(self) -> None: method is_done (line 137) | def is_done(self) -> bool: function test_fms_behaviour (line 142) | def test_fms_behaviour(): class TestFSMBehaviourCreation (line 169) | class TestFSMBehaviourCreation: method setup_class (line 173) | def setup_class(cls): method test_initial_state_is_none (line 181) | def test_initial_state_is_none(self): method test_states_is_empty (line 185) | def test_states_is_empty(self): method test_final_states_is_empty (line 189) | def test_final_states_is_empty(self): method test_add_and_remove_state (line 193) | def test_add_and_remove_state(self): method test_add_and_remove_initial_state (line 201) | def test_add_and_remove_initial_state(self): method test_add_and_remove_final_state (line 213) | def test_add_and_remove_final_state(self): method test_register_initial_state_twice (line 225) | def test_register_initial_state_twice(self): method test_register_twice_same_state (line 236) | def test_register_twice_same_state(self): method test_register_transition (line 243) | def test_register_transition(self): method test_register_same_transition_twice (line 254) | def test_register_same_transition_twice(self): class CyclicBehaviourTestCase (line 267) | class CyclicBehaviourTestCase(TestCase): method setUp (line 270) | def setUp(self): method test_init_positive (line 286) | def test_init_positive(self): method test_act_wrapper_positive (line 290) | def test_act_wrapper_positive(self): method test_act_wrapper_negative_standard_exception (line 299) | def test_act_wrapper_negative_standard_exception(self): method test_act_wrapper_negative_stop_runtime (line 315) | def test_act_wrapper_negative_stop_runtime(self): class TickerBehaviourTestCase (line 328) | class TickerBehaviourTestCase(TestCase): method setUp (line 331) | def setUp(self): method test_init_positive (line 347) | def test_init_positive(self): method test_tick_interval_positive (line 351) | def test_tick_interval_positive(self): method test_start_at_positive (line 356) | def test_start_at_positive(self): method test_last_act_time_positive (line 361) | def test_last_act_time_positive(self): method test_act_wrapper_positive (line 366) | def test_act_wrapper_positive(self): method test_is_time_to_act_positive (line 375) | def test_is_time_to_act_positive(self): class FSMBehaviourTestCase (line 381) | class FSMBehaviourTestCase(TestCase): method setUp (line 384) | def setUp(self): method test_is_started_positive (line 400) | def test_is_started_positive(self): method test_register_final_state_already_exists (line 405) | def test_register_final_state_already_exists(self): method test_unregister_state_not_exists (line 412) | def test_unregister_state_not_exists(self): method test_initial_state_not_state (line 419) | def test_initial_state_not_state(self): method test_initial_state_positive (line 426) | def test_initial_state_positive(self): method test_act_no_current (line 432) | def test_act_no_current(self): method test_act_no_current_got (line 438) | def test_act_no_current_got(self): method test_act_current_in_final_states (line 446) | def test_act_current_in_final_states(self): method test_unregister_transition_value_error (line 462) | def test_unregister_transition_value_error(self): FILE: tests/test_aea/test_skills/test_error.py class InboxWithHistory (line 49) | class InboxWithHistory(InBox): method __init__ (line 52) | def __init__(self, multiplexer: Multiplexer): method get (line 57) | def get(self, *args, **kwargs) -> Envelope: method async_get (line 63) | async def async_get(self, *args, **kwargs) -> Envelope: class TestSkillError (line 70) | class TestSkillError: method setup (line 73) | def setup(self): method test_error_handler_handle (line 113) | def test_error_handler_handle(self): method test_error_skill_unsupported_protocol (line 124) | def test_error_skill_unsupported_protocol(self): method test_error_decoding_error (line 148) | def test_error_decoding_error(self): method test_error_unsupported_skill (line 172) | def test_error_unsupported_skill(self): method test_error_unsupported_skill_when_skill_id_is_none (line 197) | def test_error_unsupported_skill_when_skill_id_is_none(self): method teardown (line 215) | def teardown(self): FILE: tests/test_aea/test_skills/test_scaffold.py class TestScaffoldHandler (line 31) | class TestScaffoldHandler: method setup_class (line 35) | def setup_class(cls): method test_supported_protocol (line 39) | def test_supported_protocol(self): method test_setup (line 43) | def test_setup(self): method test_handle (line 48) | def test_handle(self): method test_teardown (line 53) | def test_teardown(self): class TestScaffoldBehaviour (line 59) | class TestScaffoldBehaviour: method setup_class (line 63) | def setup_class(cls): method test_setup (line 67) | def test_setup(self): method test_handle (line 72) | def test_handle(self): method test_teardown (line 77) | def test_teardown(self): function test_model_initialization (line 83) | def test_model_initialization(): FILE: tests/test_aea/test_skills/test_task_subprocess.py class TestTaskTestSkill (line 23) | class TestTaskTestSkill(AEATestCaseEmpty): method setup_class (line 29) | def setup_class(cls) -> None: method test_task_run_in_a_subprocess (line 37) | def test_task_run_in_a_subprocess(self): FILE: tests/test_aea/test_skills/test_tasks.py function _raise_exception (line 28) | def _raise_exception(self, *args, **kwargs): class TaskTestCase (line 32) | class TaskTestCase(TestCase): method test_call_positive (line 35) | def test_call_positive(self): method test_call_already_executed (line 43) | def test_call_already_executed(self): method test_call_exception_while_executing (line 50) | def test_call_exception_while_executing(self): method test_is_executed_positive (line 60) | def test_is_executed_positive(self): method test_result_positive (line 65) | def test_result_positive(self): method test_result_not_executed (line 71) | def test_result_not_executed(self): class InitWorkerTestCase (line 78) | class InitWorkerTestCase(TestCase): method test_init_worker_positive (line 82) | def test_init_worker_positive(self, init_worker_mock): class TaskManagerTestCase (line 92) | class TaskManagerTestCase(TestCase): method test_nb_workers_positive (line 95) | def test_nb_workers_positive(self): method test_stop_already_stopped (line 100) | def test_stop_already_stopped(self): method test_start_already_started (line 107) | def test_start_already_started(self): method test_start_lazy_pool_start (line 116) | def test_start_lazy_pool_start(self): method test_enqueue_task_stopped (line 126) | def test_enqueue_task_stopped(self): method test_enqueue_task_positive (line 134) | def test_enqueue_task_positive(self): method test_get_task_result_id_not_present (line 144) | def test_get_task_result_id_not_present(self): method test_get_task_result_positive (line 150) | def test_get_task_result_positive(self): class TestTaskPoolManagementManager (line 157) | class TestTaskPoolManagementManager(TestCase): method tearDown (line 160) | def tearDown(self): method test_start_stop_reflected_by_is_started (line 164) | def test_start_stop_reflected_by_is_started(self) -> None: method test_lazy_pool_not_started (line 174) | def test_lazy_pool_not_started(self) -> None: method test_not_lazy_pool_is_started (line 180) | def test_not_lazy_pool_is_started(self) -> None: method test_lazy_pool_start_on_enqueue (line 187) | def test_lazy_pool_start_on_enqueue(self, apply_async_mock: Mock) -> N... FILE: tests/test_aea/test_task.py class MyTask (line 27) | class MyTask(Task): method __init__ (line 30) | def __init__(self, return_value): method setup (line 40) | def setup(self) -> None: method execute (line 44) | def execute(self, *args, **kwargs) -> None: method teardown (line 51) | def teardown(self) -> None: class TestTaskManager (line 56) | class TestTaskManager: method _return_a_constant (line 61) | def _return_a_constant(self, a: int, b: int = 10): method setup_class (line 65) | def setup_class(cls): method test_task_manager_function_with_default_arguments (line 70) | def test_task_manager_function_with_default_arguments(self): method test_task_manager_function_with_keyword_arguments (line 78) | def test_task_manager_function_with_keyword_arguments(self): method test_task_manager_function_with_wrong_argument_number (line 88) | def test_task_manager_function_with_wrong_argument_number(self): method test_task_manager_task_object (line 98) | def test_task_manager_task_object(self): method test_task_manager_task_object_fails_when_not_pickable (line 114) | def test_task_manager_task_object_fails_when_not_pickable(self): method teardown_class (line 126) | def teardown_class(cls): FILE: tests/test_aea/test_test_tools/test_click_testing.py function test_invoke (line 28) | def test_invoke(): function test_invoke_error (line 43) | def test_invoke_error(): function test_catch_exception (line 56) | def test_catch_exception(): function test_mix_std_err_False (line 72) | def test_mix_std_err_False(): function test_mix_std_err_True (line 82) | def test_mix_std_err_True(): FILE: tests/test_aea/test_test_tools/test_test_cases.py class TestConfigCases (line 62) | class TestConfigCases(AEATestCaseEmpty): method setup_class (line 66) | def setup_class(cls): method test_agent_nested_set_agent_crudcollection (line 72) | def test_agent_nested_set_agent_crudcollection(self): method test_agent_nested_set_agent_crudcollection_all (line 79) | def test_agent_nested_set_agent_crudcollection_all(self): method test_agent_nested_set_agent_simple (line 88) | def test_agent_nested_set_agent_simple(self): method test_agent_nested_set_skill_simple (line 95) | def test_agent_nested_set_skill_simple(self): method test_agent_nested_set_skill_simple_nested (line 102) | def test_agent_nested_set_skill_simple_nested(self): method test_agent_nested_set_skill_all (line 107) | def test_agent_nested_set_skill_all(self): method test_agent_nested_set_skill_all_nested (line 116) | def test_agent_nested_set_skill_all_nested(self): method test_agent_nested_set_connection_simple (line 123) | def test_agent_nested_set_connection_simple(self): method test_agent_nested_set_connection_dependency (line 130) | def test_agent_nested_set_connection_dependency(self): method test_agent_set (line 135) | def test_agent_set(self): method test_agent_get_exception (line 143) | def test_agent_get_exception(self): class TestRunAgent (line 149) | class TestRunAgent(AEATestCaseEmpty): method test_run_agent (line 152) | def test_run_agent(self): class TestGenericCases (line 160) | class TestGenericCases(AEATestCaseEmpty): method test_disable_aea_logging (line 163) | def test_disable_aea_logging(self): method test_start_subprocess (line 167) | def test_start_subprocess(self): method test_start_thread (line 174) | def test_start_thread(self): method test_fetch_and_delete (line 186) | def test_fetch_and_delete(self): method test_diff (line 194) | def test_diff(self): method test_no_diff (line 209) | def test_no_diff(self): method test_diff_different_overrides (line 216) | def test_diff_different_overrides(self): method test_terminate_subprocesses (line 232) | def test_terminate_subprocesses(self): method test_miss_from_output (line 239) | def test_miss_from_output(self): method test_replace_file_content (line 245) | def test_replace_file_content(self): class TestDifferenceToFetchedAgent (line 262) | class TestDifferenceToFetchedAgent(BaseAEATestCase): method setup_class (line 270) | def setup_class(cls) -> None: method _safe_load_all_side_effect (line 287) | def _safe_load_all_side_effect(cls, file): method test_difference_to_fetched_agent (line 296) | def test_difference_to_fetched_agent(self, *_mocks): class TestLoadAgentConfig (line 307) | class TestLoadAgentConfig(AEATestCaseEmpty): method test_load_agent_config (line 310) | def test_load_agent_config(self): method test_load_agent_config_when_agent_name_not_exists (line 315) | def test_load_agent_config_when_agent_name_not_exists(self): class TestAddAndEjectComponent (line 325) | class TestAddAndEjectComponent(AEATestCaseEmpty): method test_add_and_eject (line 328) | def test_add_and_eject(self): class TestAddAndRemoveComponent (line 337) | class TestAddAndRemoveComponent(AEATestCaseEmpty): method test_add_and_eject (line 340) | def test_add_and_eject(self): class TestGenerateAndAddKey (line 349) | class TestGenerateAndAddKey(AEATestCaseEmpty): method test_generate_and_add_key (line 352) | def test_generate_and_add_key(self): class TestGetWealth (line 367) | class TestGetWealth(AEATestCaseEmpty): method test_get_wealth (line 371) | def test_get_wealth(self): class TestGetAddress (line 379) | class TestGetAddress(AEATestCaseEmpty): method test_get_address (line 382) | def test_get_address(self): class TestAEA (line 392) | class TestAEA(AEATestCase): method test_scaffold_and_fingerprint (line 397) | def test_scaffold_and_fingerprint(self): method test_scaffold_and_fingerprint_protocol (line 405) | def test_scaffold_and_fingerprint_protocol(self): class TestSendReceiveEnvelopesSkill (line 414) | class TestSendReceiveEnvelopesSkill(AEATestCaseEmpty): method test_send_receive_envelope (line 417) | def test_send_receive_envelope(self): class TestInvoke (line 458) | class TestInvoke(AEATestCaseEmpty): method test_invoke (line 461) | def test_invoke(self): class TestFlakyMany (line 468) | class TestFlakyMany(AEATestCaseManyFlaky): method test_fail_on_first_run (line 472) | def test_fail_on_first_run(self): class TestFlakyEmpty (line 482) | class TestFlakyEmpty(AEATestCaseEmptyFlaky): method test_fail_on_first_run (line 486) | def test_fail_on_first_run(self): FILE: tests/test_aea/test_test_tools/test_test_contract.py class TestContractTestCase (line 40) | class TestContractTestCase(BaseContractTestCase): method setup (line 46) | def setup(cls): method finish_contract_deployment (line 70) | def finish_contract_deployment(cls): method test_setup (line 74) | def test_setup(self): method test_contract_property (line 94) | def test_contract_property(self): method test_refill_from_faucet (line 104) | def test_refill_from_faucet(self, get_wealth_mock): method test__deploy_contract (line 119) | def test__deploy_contract( method test__deploy_contract_tx_not_found (line 145) | def test__deploy_contract_tx_not_found( method test_sign_send_confirm_receipt_multisig_transaction (line 170) | def test_sign_send_confirm_receipt_multisig_transaction( method test_sign_send_confirm_receipt_multisig_transaction_digest_not_found (line 193) | def test_sign_send_confirm_receipt_multisig_transaction_digest_not_found( method test_sign_send_confirm_receipt_multisig_transaction_receipt_not_found (line 217) | def test_sign_send_confirm_receipt_multisig_transaction_receipt_not_fo... method test_sign_send_confirm_receipt_multisig_transaction_receipt_not_valid (line 242) | def test_sign_send_confirm_receipt_multisig_transaction_receipt_not_va... method test_sign_send_confirm_receipt_transaction_positive (line 267) | def test_sign_send_confirm_receipt_transaction_positive( FILE: tests/test_aea/test_test_tools/test_test_skill.py class TestSkillTestCase (line 42) | class TestSkillTestCase(BaseSkillTestCase): method setup (line 48) | def setup(cls): method test_setup (line 79) | def test_setup(self): method test_properties (line 127) | def test_properties(self): method test_get_quantity_in_outbox (line 132) | def test_get_quantity_in_outbox(self): method test_get_message_from_outbox (line 145) | def test_get_message_from_outbox(self): method test_drop_messages_from_outbox (line 166) | def test_drop_messages_from_outbox(self): method test_get_quantity_in_decision_maker_inbox (line 200) | def test_get_quantity_in_decision_maker_inbox(self): method test_get_message_from_decision_maker_inbox (line 213) | def test_get_message_from_decision_maker_inbox(self): method test_drop_messages_from_decision_maker_inbox (line 234) | def test_drop_messages_from_decision_maker_inbox(self): method test_assert_quantity_in_outbox (line 262) | def test_assert_quantity_in_outbox(self): method test_assert_quantity_in_decision_making_queue (line 279) | def test_assert_quantity_in_decision_making_queue(self): method test_positive_message_has_attributes_valid_type (line 296) | def test_positive_message_has_attributes_valid_type(self): method test_negative_message_has_attributes_invalid_message_id (line 324) | def test_negative_message_has_attributes_invalid_message_id(self): method test_negative_message_has_attributes_invalid_type (line 352) | def test_negative_message_has_attributes_invalid_type(self): method test_build_incoming_message (line 396) | def test_build_incoming_message(self): method test_positive_build_incoming_message_for_skill_dialogue (line 421) | def test_positive_build_incoming_message_for_skill_dialogue(self): method test_negative_build_incoming_message_for_skill_dialogue_dialogue_is_none (line 453) | def test_negative_build_incoming_message_for_skill_dialogue_dialogue_i... method test_negative_build_incoming_message_for_skill_dialogue_dialogue_is_empty (line 465) | def test_negative_build_incoming_message_for_skill_dialogue_dialogue_i... method test_provide_unspecified_fields (line 486) | def test_provide_unspecified_fields(self): method test_non_initial_incoming_message_dialogue_reference (line 508) | def test_non_initial_incoming_message_dialogue_reference(self): method test_extract_message_fields (line 530) | def test_extract_message_fields(self): method test_prepare_skill_dialogue_valid_self_initiated (line 559) | def test_prepare_skill_dialogue_valid_self_initiated(self): method test_prepare_skill_dialogue_valid_opponent_initiated (line 603) | def test_prepare_skill_dialogue_valid_opponent_initiated(self): method test_negative_prepare_skill_dialogue_invalid_opponent_initiated (line 649) | def test_negative_prepare_skill_dialogue_invalid_opponent_initiated(se... method test_negative_prepare_skill_dialogue_empty_messages (line 688) | def test_negative_prepare_skill_dialogue_empty_messages(self): method test_negative_prepare_skill_dialogue_invalid (line 704) | def test_negative_prepare_skill_dialogue_invalid(self): class FipaDialogues (line 728) | class FipaDialogues(BaseFipaDialogues): method __init__ (line 731) | def __init__(self, self_address: Address, **kwargs) -> None: FILE: tests/test_aea_core_packages/test_connections/test_http_client/test_http_client.py class _MockRequest (line 47) | class _MockRequest: method __init__ (line 50) | def __init__(self, response: Mock) -> None: method __aenter__ (line 54) | async def __aenter__(self) -> Any: method __aexit__ (line 58) | async def __aexit__(self, *args, **kwargs) -> None: class HttpDialogues (line 63) | class HttpDialogues(BaseHttpDialogues): method __init__ (line 66) | def __init__(self, self_address: Address, **kwargs) -> None: class TestHTTPClientConnect (line 92) | class TestHTTPClientConnect: method setup (line 95) | def setup(self): method test_initialization (line 117) | async def test_initialization(self): method test_connection (line 122) | async def test_connection(self): method test_disconnect (line 128) | async def test_disconnect(self): method test_http_send_error (line 137) | async def test_http_send_error(self): method test_http_client_send_not_connected_error (line 170) | async def test_http_client_send_not_connected_error(self): method test_http_channel_send_not_connected_error (line 176) | async def test_http_channel_send_not_connected_error(self): method test_send_empty_envelope_skip (line 182) | async def test_send_empty_envelope_skip(self): method test_channel_get_message_not_connected (line 192) | async def test_channel_get_message_not_connected(self): method test_channel_cancel_tasks_on_disconnect (line 198) | async def test_channel_cancel_tasks_on_disconnect(self): method test_http_send_ok (line 245) | async def test_http_send_ok(self): method test_http_dialogue_construct_fail (line 293) | async def test_http_dialogue_construct_fail(self): method test_http_send_exception (line 325) | async def test_http_send_exception(self): FILE: tests/test_aea_core_packages/test_connections/test_http_server/test_http_server.py class HttpDialogues (line 54) | class HttpDialogues(BaseHttpDialogues): method __init__ (line 57) | def __init__(self, self_address: Address, **kwargs) -> None: class TestHTTPServer (line 83) | class TestHTTPServer: method request (line 86) | async def request(self, method: str, path: str, **kwargs) -> ClientRes... method setup (line 105) | def setup(self): method test_http_connection_disconnect_channel (line 138) | async def test_http_connection_disconnect_channel(self): method _get_message_and_dialogue (line 143) | def _get_message_and_dialogue( method test_get_200 (line 152) | async def test_get_200(self): method test_header_content_type (line 186) | async def test_header_content_type(self): method test_bad_performative_get_timeout_error (line 222) | async def test_bad_performative_get_timeout_error(self): method test_late_message_get_timeout_error (line 265) | async def test_late_message_get_timeout_error(self): method test_post_201 (line 305) | async def test_post_201(self): method test_get_404 (line 344) | async def test_get_404(self): method test_post_404 (line 355) | async def test_post_404(self): method test_get_408 (line 366) | async def test_get_408(self): method test_post_408 (line 385) | async def test_post_408(self): method test_send_connection_drop (line 397) | async def test_send_connection_drop(self): method test_get_message_channel_not_connected (line 420) | async def test_get_message_channel_not_connected(self): method test_fail_connect (line 427) | async def test_fail_connect(self): method test_server_error_on_send_response (line 440) | async def test_server_error_on_send_response(self): method teardown (line 476) | def teardown(self): function test_bad_api_spec (line 482) | def test_bad_api_spec(): function test_apispec_verify_if_no_validator_set (line 488) | def test_apispec_verify_if_no_validator_set(): class TestHTTPSServer (line 494) | class TestHTTPSServer: method request (line 497) | async def request(self, method: str, path: str, **kwargs) -> ClientRes... method setup (line 519) | def setup(self): method test_get_200 (line 555) | async def test_get_200(self): method _get_message_and_dialogue (line 588) | def _get_message_and_dialogue( FILE: tests/test_aea_core_packages/test_connections/test_http_server/test_http_server_and_client.py class TestClientServer (line 51) | class TestClientServer: method setup_server (line 54) | def setup_server(self): method setup_client (line 100) | def setup_client(self): method setup (line 138) | def setup(self): method _make_request (line 143) | def _make_request( method _make_response (line 167) | def _make_response( method test_post_with_payload (line 192) | async def test_post_with_payload(self): method test_get_with_query (line 211) | async def test_get_with_query(self): method test_headers (line 236) | async def test_headers(self): method teardown (line 266) | def teardown(self): FILE: tests/test_aea_core_packages/test_connections/test_ledger/test_contract_api.py class ContractApiDialogues (line 52) | class ContractApiDialogues(BaseContractApiDialogues): method __init__ (line 55) | def __init__(self, self_address: str) -> None: function test_erc1155_get_deploy_transaction (line 84) | async def test_erc1155_get_deploy_transaction(erc1155_contract, ledger_a... function test_erc1155_get_raw_transaction (line 122) | async def test_erc1155_get_raw_transaction( function test_erc1155_get_raw_message (line 173) | async def test_erc1155_get_raw_message(erc1155_contract, ledger_apis_con... function test_erc1155_get_state (line 222) | async def test_erc1155_get_state(erc1155_contract, ledger_apis_connection): function test_run_async (line 264) | async def test_run_async(): function test_get_handler (line 293) | async def test_get_handler(): function test_callable_wrong_number_of_arguments_api_and_contract_address (line 304) | async def test_callable_wrong_number_of_arguments_api_and_contract_address( function test_callable_wrong_number_of_arguments_apis (line 356) | async def test_callable_wrong_number_of_arguments_apis( function test_callable_wrong_number_of_arguments_apis_method_call (line 408) | async def test_callable_wrong_number_of_arguments_apis_method_call( function test_callable_generic_error (line 451) | async def test_callable_generic_error(erc1155_contract, ledger_apis_conn... function test_callable_cannot_find (line 494) | async def test_callable_cannot_find(erc1155_contract, ledger_apis_connec... function test_build_response_fails_on_bad_data_type (line 522) | def test_build_response_fails_on_bad_data_type(): FILE: tests/test_aea_core_packages/test_connections/test_ledger/test_ledger_api.py class LedgerApiDialogues (line 83) | class LedgerApiDialogues(BaseLedgerApiDialogues): method __init__ (line 86) | def __init__(self, self_address: Address, **kwargs) -> None: function test_get_balance (line 115) | async def test_get_balance( function test_get_state (line 163) | async def test_get_state( function test_send_signed_transaction_ethereum (line 225) | async def test_send_signed_transaction_ethereum( function test_unsupported_protocol (line 360) | async def test_unsupported_protocol(ledger_apis_connection: LedgerConnec... function test_new_message_wait_flag (line 373) | async def test_new_message_wait_flag(ledger_apis_connection: LedgerConne... function test_no_balance (line 382) | async def test_no_balance(): function test_no_raw_tx (line 403) | async def test_no_raw_tx(): function test_attempts_get_transaction_receipt (line 433) | async def test_attempts_get_transaction_receipt(): FILE: tests/test_aea_core_packages/test_contracts/test_erc1155/test_contract.py class TestERC1155ContractEthereum (line 54) | class TestERC1155ContractEthereum(BaseContractTestCase, UseGanache): method setup (line 61) | def setup(cls): method finish_contract_deployment (line 85) | def finish_contract_deployment(cls) -> str: method test_generate_token_ids (line 100) | def test_generate_token_ids(self): method test_generate_id (line 116) | def test_generate_id(self): method test_get_create_batch_transaction (line 129) | def test_get_create_batch_transaction(self): method test_get_create_single_transaction (line 149) | def test_get_create_single_transaction(self): method test_get_mint_batch_transaction (line 169) | def test_get_mint_batch_transaction(self): method test_validate_mint_quantities (line 191) | def test_validate_mint_quantities(self): method test_decode_id (line 235) | def test_decode_id(self): method test_get_mint_single_transaction (line 249) | def test_get_mint_single_transaction(self): method test_get_balance (line 271) | def test_get_balance(self): method test_get_balances (line 285) | def test_get_balances(self): method test_get_hash_single (line 299) | def test_get_hash_single(self): method test_get_hash_batch (line 317) | def test_get_hash_batch(self): method test_generate_trade_nonce (line 335) | def test_generate_trade_nonce(self): method test_helper_methods_and_get_transactions (line 349) | def test_helper_methods_and_get_transactions(self): method test_get_single_atomic_swap (line 448) | def test_get_single_atomic_swap(self): method test_get_batch_atomic_swap (line 501) | def test_get_batch_atomic_swap(self): method test_full (line 554) | def test_full(self): class TestCosmWasmContract (line 642) | class TestCosmWasmContract(BaseContractTestCase): method _deploy_contract (line 651) | def _deploy_contract( method setup (line 685) | def setup(cls): method finish_contract_deployment (line 705) | def finish_contract_deployment(cls) -> str: method test_create_and_mint_and_balances (line 746) | def test_create_and_mint_and_balances(self): method test_cosmwasm_single_atomic_swap (line 827) | def test_cosmwasm_single_atomic_swap(self): method test_cosmwasm_batch_atomic_swap (line 956) | def test_cosmwasm_batch_atomic_swap(self): class TestContractCommon (line 1058) | class TestContractCommon: method setup (line 1062) | def setup(cls): method test_get_create_batch_transaction_wrong_identifier (line 1093) | def test_get_create_batch_transaction_wrong_identifier(self): method test_get_create_single_transaction_wrong_identifier (line 1106) | def test_get_create_single_transaction_wrong_identifier(self): method test_get_mint_batch_transaction_wrong_identifier (line 1119) | def test_get_mint_batch_transaction_wrong_identifier(self): method test_get_mint_single_transaction_wrong_identifier (line 1134) | def test_get_mint_single_transaction_wrong_identifier(self): method test_get_balance_wrong_identifier (line 1149) | def test_get_balance_wrong_identifier(self): method test_get_balance_wrong_query_res (line 1162) | def test_get_balance_wrong_query_res(self): method test_get_balances_wrong_query_res (line 1179) | def test_get_balances_wrong_query_res(self): method test_get_hash_batch_not_same (line 1196) | def test_get_hash_batch_not_same(self): method test_generate_trade_nonce_if_exist (line 1217) | def test_generate_trade_nonce_if_exist(self): method test_get_atomic_swap_single_transaction_eth_no_signature (line 1251) | def test_get_atomic_swap_single_transaction_eth_no_signature(self): method test_get_atomic_swap_single_transaction_eth_pubkeys (line 1271) | def test_get_atomic_swap_single_transaction_eth_pubkeys(self): method test_get_atomic_swap_single_transaction_cosmos_signature (line 1294) | def test_get_atomic_swap_single_transaction_cosmos_signature(self): method test_get_atomic_swap_single_transaction_cosmos_one_pubkey_valid (line 1317) | def test_get_atomic_swap_single_transaction_cosmos_one_pubkey_valid(se... method test_get_atomic_swap_single_transaction_cosmos_one_pubkey_invalid (line 1338) | def test_get_atomic_swap_single_transaction_cosmos_one_pubkey_invalid(... method test_get_atomic_swap_single_transaction_cosmos_to_pubkey_missing (line 1359) | def test_get_atomic_swap_single_transaction_cosmos_to_pubkey_missing(s... method test_get_atomic_swap_batch_transaction_eth_pubkeys (line 1380) | def test_get_atomic_swap_batch_transaction_eth_pubkeys(self): method test_get_atomic_swap_batch_transaction_cosmos_signature (line 1402) | def test_get_atomic_swap_batch_transaction_cosmos_signature(self): method test_get_atomic_swap_batch_transaction_cosmos_one_pubkey_valid (line 1425) | def test_get_atomic_swap_batch_transaction_cosmos_one_pubkey_valid(self): method test_get_atomic_swap_batch_transaction_cosmos_one_pubkey_invalid (line 1446) | def test_get_atomic_swap_batch_transaction_cosmos_one_pubkey_invalid(s... method test_get_atomic_swap_ba_transaction_eth_no_signature (line 1467) | def test_get_atomic_swap_ba_transaction_eth_no_signature(self): method test_get_atomic_swap_batch_transaction_cosmos_to_pubkey_missing (line 1487) | def test_get_atomic_swap_batch_transaction_cosmos_to_pubkey_missing(se... method test_get_atomic_swap_batch_transaction_cosmos_to_pubkey_missing_no_from_pubkey_required (line 1508) | def test_get_atomic_swap_batch_transaction_cosmos_to_pubkey_missing_no... method test_get_atomic_swap_batch_transaction_cosmos_from_pubkey_missing_no_to_pubkey_required (line 1530) | def test_get_atomic_swap_batch_transaction_cosmos_from_pubkey_missing_... method test_get_atomic_swap_batch_transaction_cosmos_from_pubkey_only (line 1552) | def test_get_atomic_swap_batch_transaction_cosmos_from_pubkey_only(self): method test_get_atomic_swap_single_transaction_amounts_missing (line 1573) | def test_get_atomic_swap_single_transaction_amounts_missing(self): method test_get_atomic_swap_batch_transaction_amounts_missing (line 1594) | def test_get_atomic_swap_batch_transaction_amounts_missing(self): method test_get_atomic_swap_single_transaction_cosmos_to_pubkey_missing_no_from_pubkey_required (line 1615) | def test_get_atomic_swap_single_transaction_cosmos_to_pubkey_missing_n... method test_get_atomic_swap_single_transaction_cosmos_from_pubkey_missing_no_to_pubkey_required (line 1637) | def test_get_atomic_swap_single_transaction_cosmos_from_pubkey_missing... method test_get_atomic_swap_single_transaction_cosmos_from_pubkey_only (line 1659) | def test_get_atomic_swap_single_transaction_cosmos_from_pubkey_only(se... FILE: tests/test_aea_core_packages/test_skills_integration/test_echo.py class DefaultDialogues (line 36) | class DefaultDialogues(BaseDefaultDialogues): method __init__ (line 39) | def __init__(self, self_address: Address) -> None: class TestEchoSkill (line 64) | class TestEchoSkill(AEATestCaseEmpty): method test_echo (line 69) | def test_echo(self): FILE: tests/test_aea_core_packages/test_skills_integration/test_generic.py class TestGenericSkills (line 41) | class TestGenericSkills(AEATestCaseManyFlaky): method test_generic (line 49) | def test_generic(self, pytestconfig): class TestGenericSkillsFetchaiLedger (line 230) | class TestGenericSkillsFetchaiLedger(AEATestCaseManyFlaky): method test_generic (line 238) | def test_generic(self, pytestconfig): FILE: tests/test_aea_core_packages/test_skills_integration/test_hello_world.py class TestHelloWorldSkill (line 24) | class TestHelloWorldSkill(AEATestCaseEmpty): method test_hello_world (line 29) | def test_hello_world(self): FILE: tests/test_aea_core_packages/test_skills_integration/test_http_echo.py class TestHttpEchoSkill (line 33) | class TestHttpEchoSkill(AEATestCaseEmpty): method test_echo (line 38) | def test_echo(self): FILE: tests/test_aea_extra/test_manager/test_manager.py class BaseCase (line 57) | class BaseCase(TestCase): method setUp (line 65) | def setUp(self): method tearDown (line 80) | def tearDown(self): class TestMultiAgentManagerDependencies (line 111) | class TestMultiAgentManagerDependencies(BaseCase): method test_plugin_dependencies (line 114) | def test_plugin_dependencies(self, *args): class BaseTestMultiAgentManager (line 147) | class BaseTestMultiAgentManager(BaseCase): method test_workdir_created_removed (line 150) | def test_workdir_created_removed(self, *args): method test_projects_property (line 159) | def test_projects_property(self, *args): method test_data_dir_presents (line 163) | def test_data_dir_presents(self, *args): method test_MultiAgentManager_is_running (line 174) | def test_MultiAgentManager_is_running(self, *args): method test_add_remove_project (line 182) | def test_add_remove_project(self, *args): method log_file (line 204) | def log_file(self, agent_name: str) -> str: method test_add_agent (line 208) | def test_add_agent(self, *args): method test_set_overrides (line 266) | def test_set_overrides(self, *args): method test_remove_agent (line 291) | def test_remove_agent(self, *args): method test_remove_project_with_alias (line 301) | def test_remove_project_with_alias(self, *args): method test_add_agent_for_non_exist_project (line 310) | def test_add_agent_for_non_exist_project(self, *args): method test_agent_actually_running (line 315) | def test_agent_actually_running(self, *args): method test_exception_handling (line 330) | def test_exception_handling(self, *args): method add_agent (line 344) | def add_agent(self, agent_name: str, project_id: PublicId) -> None: method test_default_exception_handling (line 358) | def test_default_exception_handling(self, *args): method test_stop_from_exception_handling (line 373) | def test_stop_from_exception_handling(self, *args): method test_start_all (line 385) | def test_start_all(self, *args): method test_stop_agent (line 418) | def test_stop_agent(self, *args): method test_do_no_allow_override_some_fields (line 452) | def test_do_no_allow_override_some_fields(self, *args): method test_invalid_mode (line 477) | def test_invalid_mode(*args): method test_double_start (line 482) | def test_double_start(self, *args): method test_double_stop (line 489) | def test_double_stop(self, *args): method test_remove_running_agent (line 498) | def test_remove_running_agent(self, *args): method test_save_load_positive (line 523) | def test_save_load_positive(self, *args): method test_list_agents_info_positive (line 536) | def test_list_agents_info_positive(self, *args): method test_add_same_project_versions (line 555) | def test_add_same_project_versions(self, *args): method test_get_overridables (line 567) | def test_get_overridables(self, *args): method test_issue_certificates (line 583) | def test_issue_certificates(self, *args): method test_get_addresses (line 630) | def test_get_addresses(self, *args) -> None: method test_addresses_autoadded (line 656) | def test_addresses_autoadded(self, *args) -> None: class TestMultiAgentManagerAsyncMode (line 665) | class TestMultiAgentManagerAsyncMode( class TestMultiAgentManagerThreadedMode (line 674) | class TestMultiAgentManagerThreadedMode(BaseTestMultiAgentManager): class TestMultiAgentManagerMultiprocessMode (line 681) | class TestMultiAgentManagerMultiprocessMode(BaseTestMultiAgentManager): method test_plugin_dependencies (line 686) | def test_plugin_dependencies(self, *args): class TestMultiAgentManagerPackageConsistencyError (line 691) | class TestMultiAgentManagerPackageConsistencyError: method setup (line 720) | def setup(self): method test_run (line 731) | def test_run(self, *args): method teardown (line 750) | def teardown(self): class TestMultiAgentManagerWithPotentiallyConflictingPackages (line 760) | class TestMultiAgentManagerWithPotentiallyConflictingPackages: method setup (line 774) | def setup(self): method test_run (line 785) | def test_run(self): method teardown (line 800) | def teardown(self): function test_project_auto_added_removed (line 810) | def test_project_auto_added_removed(): function test_dump (line 837) | def test_dump(): function test_handle_error_on_load_state (line 870) | def test_handle_error_on_load_state(): FILE: tests/test_aea_extra/test_manager/test_utils.py function _process_long (line 34) | def _process_long(): function _process_exception (line 38) | def _process_exception(): function _process_return_value (line 42) | def _process_return_value(value_to_return): function test_process_run_in_venv_timeout_error (line 46) | def test_process_run_in_venv_timeout_error(): function test_process_run_in_venv_raise_custom_exception (line 53) | def test_process_run_in_venv_raise_custom_exception(): function test_process_run_in_venv_return_value (line 60) | def test_process_run_in_venv_return_value(): FILE: tests/test_docs/helper.py function block_code_filter (line 34) | def block_code_filter(b: Dict) -> bool: function type_filter (line 39) | def type_filter(type_: Optional[str], b: Dict) -> bool: function extract_dicts (line 55) | def extract_dicts(dictionary: Dict, collection_dict: List[Dict]) -> List... function flatten_blocks (line 68) | def flatten_blocks(blocks: List[Dict]) -> List[Dict]: function correct_spacing (line 78) | def correct_spacing(string: str) -> str: function extract_inner_code_blocks (line 99) | def extract_inner_code_blocks(block: Dict, code_blocks: List[Dict]) -> N... function extract_code_blocks (line 120) | def extract_code_blocks(filepath, filter_=None): function extract_python_code (line 144) | def extract_python_code(filepath): function compile_and_exec (line 155) | def compile_and_exec(code: str, locals_dict: Dict = None) -> Dict: function compare_enum_classes (line 176) | def compare_enum_classes(expected_enum_class, actual_enum_class): class BaseTestMarkdownDocs (line 193) | class BaseTestMarkdownDocs: method setup_class (line 202) | def setup_class(cls): method _python_selector (line 213) | def _python_selector(cls, block: Dict) -> bool: class BasePythonMarkdownDocs (line 219) | class BasePythonMarkdownDocs(BaseTestMarkdownDocs): method setup_class (line 223) | def setup_class(cls): method _assert (line 233) | def _assert(self, locals_, *mocks): method test_python_blocks (line 236) | def test_python_blocks(self, *mocks): FILE: tests/test_docs/test_agent_vs_aea/agent_code_block.py class MyAgent (line 42) | class MyAgent(Agent): method __init__ (line 45) | def __init__(self, identity: Identity, connections: List[Connection]): method setup (line 49) | def setup(self): method act (line 52) | def act(self): method handle_envelope (line 56) | def handle_envelope(self, envelope: Envelope) -> None: method teardown (line 83) | def teardown(self): function run (line 87) | def run(): FILE: tests/test_docs/test_agent_vs_aea/test_agent_vs_aea.py class TestFiles (line 37) | class TestFiles: method setup_class (line 41) | def setup_class(cls): method test_read_md_file (line 48) | def test_read_md_file(self): method test_code_blocks_exist (line 54) | def test_code_blocks_exist(self): class TestAgentVsAEA (line 62) | class TestAgentVsAEA(AEATestCaseManyFlaky): method test_run_agent (line 68) | def test_run_agent(self): FILE: tests/test_docs/test_bash_yaml/test_demo_docs.py class TestDemoDocs (line 33) | class TestDemoDocs: method _test_blocks (line 38) | def _test_blocks(self, filename: str, filter_: str): method test_code_blocks_exist (line 52) | def test_code_blocks_exist(self): FILE: tests/test_docs/test_build_aea_programmatically/programmatic_aea.py function run (line 41) | def run(): FILE: tests/test_docs/test_build_aea_programmatically/test_programmatic_aea.py class TestProgrammaticAEA (line 37) | class TestProgrammaticAEA(BaseAEATestCase): method setup_class (line 41) | def setup_class(cls): method test_read_md_file (line 49) | def test_read_md_file(self): method test_run_agent (line 55) | def test_run_agent(self): method test_code_blocks_exist (line 69) | def test_code_blocks_exist(self): FILE: tests/test_docs/test_cli_commands.py class TestCliCommands (line 34) | class TestCliCommands(BaseTestMarkdownDocs): method test_cli_commands (line 39) | def test_cli_commands(self): FILE: tests/test_docs/test_cli_vs_programmatic_aeas/programmatic_aea.py function run (line 69) | def run(): FILE: tests/test_docs/test_cli_vs_programmatic_aeas/test_cli_vs_programmatic_aea.py function test_read_md_file (line 51) | def test_read_md_file(): class TestCliVsProgrammaticAEA (line 60) | class TestCliVsProgrammaticAEA(AEATestCaseManyFlaky): method test_cli_programmatic_communication (line 67) | def test_cli_programmatic_communication(self): method _inject_location (line 184) | def _inject_location(self, location, dst_file_path): FILE: tests/test_docs/test_data_models.py class TestDataModel (line 29) | class TestDataModel(BasePythonMarkdownDocs): method _assert (line 34) | def _assert(self, locals_, *_mocks): FILE: tests/test_docs/test_decision_maker_transaction/decision_maker_transaction.py function run (line 56) | def run(): class SigningDialogues (line 159) | class SigningDialogues(Model, BaseSigningDialogues): method __init__ (line 162) | def __init__(self, self_address: Address, **kwargs) -> None: class SigningHandler (line 188) | class SigningHandler(Handler): method setup (line 193) | def setup(self) -> None: method handle (line 196) | def handle(self, message: Message) -> None: method teardown (line 222) | def teardown(self) -> None: method _handle_unidentified_dialogue (line 229) | def _handle_unidentified_dialogue(self, signing_msg: SigningMessage) -... method _handle_signed_transaction (line 241) | def _handle_signed_transaction( method _handle_error (line 254) | def _handle_error( method _handle_invalid (line 270) | def _handle_invalid( FILE: tests/test_docs/test_decision_maker_transaction/test_decision_maker_transaction.py class TestDecisionMakerTransaction (line 39) | class TestDecisionMakerTransaction(BaseAEATestCase): method _patch_logger (line 43) | def _patch_logger(cls): method _unpatch_logger (line 48) | def _unpatch_logger(cls): method setup_class (line 52) | def setup_class(cls): method test_read_md_file (line 61) | def test_read_md_file(self): method test_code_blocks_exist (line 67) | def test_code_blocks_exist(self): method test_run_end_to_end (line 75) | def test_run_end_to_end(self): method teardown_class (line 83) | def teardown_class(cls): FILE: tests/test_docs/test_docs_http_connection_and_skill.py class TestHttpConnectionAndSkill (line 35) | class TestHttpConnectionAndSkill(BaseTestMarkdownDocs): method setup_class (line 42) | def setup_class(cls): method test_handlers_code_snippet (line 54) | def test_handlers_code_snippet(self): method test_dialogues_code_snippet (line 69) | def test_dialogues_code_snippet(self): method test_requests_code_snippet (line 77) | def test_requests_code_snippet(self, *_mocks): FILE: tests/test_docs/test_docs_protocol.py class TestProtocolDocs (line 35) | class TestProtocolDocs: method setup_class (line 39) | def setup_class(cls): method test_custom_protocol (line 48) | def test_custom_protocol(self): method test_oef_search_protocol (line 70) | def test_oef_search_protocol(self): method test_fipa_protocol (line 107) | def test_fipa_protocol(self): FILE: tests/test_docs/test_docs_skill.py class TestSkillDocs (line 32) | class TestSkillDocs: method setup_class (line 36) | def setup_class(cls): method test_context (line 45) | def test_context(self): method test_hello_world_behaviour (line 54) | def test_hello_world_behaviour(self): method test_task (line 87) | def test_task(self): FILE: tests/test_docs/test_generic_step_by_step_guide/test_generic_step_by_step_guide.py class TestDemoDocs (line 33) | class TestDemoDocs: method setup_class (line 37) | def setup_class(cls): method test_generic_seller_skill_behaviour (line 44) | def test_generic_seller_skill_behaviour(self): method test_generic_seller_skill_handler (line 53) | def test_generic_seller_skill_handler(self): method test_generic_seller_skill_strategy (line 64) | def test_generic_seller_skill_strategy(self): method test_generic_seller_skill_dialogues (line 75) | def test_generic_seller_skill_dialogues(self): method test_generic_buyer_skill_behaviour (line 84) | def test_generic_buyer_skill_behaviour(self): method test_generic_buyer_skill_handler (line 98) | def test_generic_buyer_skill_handler(self): method test_generic_buyer_skill_strategy (line 114) | def test_generic_buyer_skill_strategy(self): method test_generic_buyer_skill_dialogues (line 130) | def test_generic_buyer_skill_dialogues(self): FILE: tests/test_docs/test_generic_storage.py class TestGenericStorage (line 32) | class TestGenericStorage(BaseTestMarkdownDocs): method setup_class (line 38) | def setup_class(cls): method test_storage_abstract_methods (line 50) | def test_storage_abstract_methods(self): method test_test_behaviour (line 60) | def test_test_behaviour(self): FILE: tests/test_docs/test_language_agnostic_definition.py class TestLanguageAgnosticDocs (line 37) | class TestLanguageAgnosticDocs(BaseTestMarkdownDocs): method _proto_snippet_selector (line 43) | def _proto_snippet_selector(cls, block: Dict) -> bool: method setup_class (line 47) | def setup_class(cls): method test_envelope_code_snippet (line 54) | def test_envelope_code_snippet(self): method test_dialogue_message_code_snippet (line 71) | def test_dialogue_message_code_snippet(self): method test_public_id_regular_expression (line 83) | def test_public_id_regular_expression(self): method test_default_message_code_snippet (line 88) | def test_default_message_code_snippet(self): FILE: tests/test_docs/test_ledger_integration.py function _import_module_mock (line 36) | def _import_module_mock(arg): class TestLedgerIntegration (line 51) | class TestLedgerIntegration(BasePythonMarkdownDocs): method _assert_isinstance (line 56) | def _assert_isinstance(self, locals_key, cls_or_str, locals_): method _assert (line 66) | def _assert(self, locals_, *mocks): method teardown_class (line 76) | def teardown_class(cls): FILE: tests/test_docs/test_multiagent_manager.py function _import_module_mock (line 34) | def _import_module_mock(arg): class TestMultiAgentManager (line 47) | class TestMultiAgentManager(BasePythonMarkdownDocs): method setup_class (line 53) | def setup_class(cls): method teardown_class (line 62) | def teardown_class(cls): FILE: tests/test_docs/test_multiplexer_standalone/multiplexer_standalone.py function run (line 42) | def run(): FILE: tests/test_docs/test_multiplexer_standalone/test_multiplexer_standalone.py class TestMultiplexerStandAlone (line 35) | class TestMultiplexerStandAlone(BaseAEATestCase): method setup_class (line 39) | def setup_class(cls): method test_read_md_file (line 47) | def test_read_md_file(self): method test_run_agent (line 53) | def test_run_agent(self): method test_code_blocks_exist (line 68) | def test_code_blocks_exist(self): FILE: tests/test_docs/test_orm_integration/orm_seller_strategy.py class Strategy (line 32) | class Strategy(GenericStrategy): method __init__ (line 35) | def __init__(self, **kwargs) -> None: method collect_from_data_source (line 49) | def collect_from_data_source(self) -> Dict[str, str]: method create_database_and_table (line 57) | def create_database_and_table(self): method insert_data (line 70) | def insert_data(self): FILE: tests/test_docs/test_orm_integration/test_orm_integration.py class TestOrmIntegrationDocs (line 119) | class TestOrmIntegrationDocs(AEATestCaseManyFlaky): method test_orm_integration_docs_example (line 123) | def test_orm_integration_docs_example(self): function test_strategy_consistency (line 328) | def test_strategy_consistency(): FILE: tests/test_docs/test_query_language.py class TestQueryLanguage (line 30) | class TestQueryLanguage(BasePythonMarkdownDocs): method setup_class (line 36) | def setup_class(cls): FILE: tests/test_docs/test_quickstart.py class TestQuickstartTest (line 31) | class TestQuickstartTest(BasePythonMarkdownDocs): function test_correct_echo_string (line 38) | def test_correct_echo_string(): FILE: tests/test_docs/test_simple_oef_usage.py class TestSimpleOefUsage (line 31) | class TestSimpleOefUsage(BasePythonMarkdownDocs): method _assert (line 36) | def _assert(self, locals_, *mocks): FILE: tests/test_docs/test_skill_guide/test_skill_guide.py class TestBuildSkill (line 53) | class TestBuildSkill(AEATestCaseManyFlaky): method setup_class (line 59) | def setup_class(cls): method test_update_skill_and_run (line 66) | def test_update_skill_and_run(self): FILE: tests/test_docs/test_skill_testing.py class TestSkillTesting (line 30) | class TestSkillTesting(BasePythonMarkdownDocs): method setup_class (line 36) | def setup_class(cls): FILE: tests/test_docs/test_standalone_transaction/standalone_transaction.py function run (line 38) | def run(): FILE: tests/test_docs/test_standalone_transaction/test_standalone_transaction.py class TestStandaloneTransaction (line 44) | class TestStandaloneTransaction(BaseAEATestCase): method _patch_logger (line 48) | def _patch_logger(cls): method _unpatch_logger (line 54) | def _unpatch_logger(cls): method setup_class (line 58) | def setup_class(cls): method test_read_md_file (line 67) | def test_read_md_file(self): method test_run_end_to_end (line 74) | def test_run_end_to_end(self): method test_code_blocks_exist (line 82) | def test_code_blocks_exist(self): FILE: tests/test_examples/test_gym_ex.py class TestGymExt (line 34) | class TestGymExt: method setup_class (line 38) | def setup_class(cls): method test_gym_ex (line 49) | def test_gym_ex(self): method teardown_class (line 77) | def teardown_class(cls): FILE: tests/test_examples/test_http_client_connection_to_aries_cloud_agent.py class TestAEAToACA (line 59) | class TestAEAToACA: method setup_class (line 63) | def setup_class(cls): method test_connecting_to_aca (line 104) | async def test_connecting_to_aca(self): method test_end_to_end_aea_aca (line 171) | async def test_end_to_end_aea_aca(self): method teardown_class (line 275) | def teardown_class(cls): class AEAHandler (line 281) | class AEAHandler(Handler): method __init__ (line 286) | def __init__(self, **kwargs): method setup (line 292) | def setup(self) -> None: method handle (line 296) | def handle(self, message: Message) -> None: method teardown (line 305) | def teardown(self) -> None: FILE: tests/test_packages/test_connections/test_p2p_libp2p/test_aea_cli.py class TestP2PLibp2pConnectionAEARunningDefaultConfigNode (line 44) | class TestP2PLibp2pConnectionAEARunningDefaultConfigNode(AEATestCaseEmpty): method setup_class (line 48) | def setup_class(cls): method test_agent (line 55) | def test_agent(self): method teardown_class (line 90) | def teardown_class(cls): class TestP2PLibp2pConnectionAEARunningEthereumConfigNode (line 97) | class TestP2PLibp2pConnectionAEARunningEthereumConfigNode(AEATestCaseEmp... method setup_class (line 101) | def setup_class(cls): method test_agent (line 108) | def test_agent(self): method teardown_class (line 166) | def teardown_class(cls): class TestP2PLibp2pConnectionAEARunningFullNode (line 173) | class TestP2PLibp2pConnectionAEARunningFullNode(AEATestCaseEmpty): method setup_class (line 179) | def setup_class(cls): method test_agent (line 186) | def test_agent(self): method teardown_class (line 233) | def teardown_class(cls): FILE: tests/test_packages/test_connections/test_p2p_libp2p/test_build.py function test_check_versions (line 40) | def test_check_versions(): function test_check_versions_negative_binary_not_found (line 49) | def test_check_versions_negative_binary_not_found(): function test_check_versions_negative_version_too_low (line 59) | def test_check_versions_negative_version_too_low(): function test_check_versions_negative_cannot_parse_version (line 73) | def test_check_versions_negative_cannot_parse_version(): function test_build_node (line 88) | def test_build_node(): FILE: tests/test_packages/test_connections/test_p2p_libp2p/test_communication.py class TestP2PLibp2pConnectionConnectDisconnect (line 57) | class TestP2PLibp2pConnectionConnectDisconnect: method setup (line 60) | def setup(self): method test_p2plibp2pconnection_connect_disconnect_default (line 67) | async def test_p2plibp2pconnection_connect_disconnect_default(self): method test_p2plibp2pconnection_connect_disconnect_ethereum (line 85) | async def test_p2plibp2pconnection_connect_disconnect_ethereum(self): method teardown (line 103) | def teardown(self): class TestP2PLibp2pConnectionEchoEnvelope (line 113) | class TestP2PLibp2pConnectionEchoEnvelope: method setup_class (line 118) | def setup_class(cls): method test_connection_is_established (line 163) | def test_connection_is_established(self): method test_envelope_routed (line 168) | def test_envelope_routed(self): method test_envelope_echoed_back (line 201) | def test_envelope_echoed_back(self): method teardown_class (line 240) | def teardown_class(cls): class TestP2PLibp2pConnectionRouting (line 252) | class TestP2PLibp2pConnectionRouting: method setup_class (line 257) | def setup_class(cls): method test_connection_is_established (line 303) | def test_connection_is_established(self): method test_star_routing_connectivity (line 309) | def test_star_routing_connectivity(self): method teardown_class (line 349) | def teardown_class(cls): class TestP2PLibp2pConnectionEchoEnvelopeRelayOneDHTNode (line 361) | class TestP2PLibp2pConnectionEchoEnvelopeRelayOneDHTNode: method setup_class (line 366) | def setup_class(cls): method test_connection_is_established (line 418) | def test_connection_is_established(self): method test_envelope_routed (line 424) | def test_envelope_routed(self): method test_envelope_echoed_back (line 458) | def test_envelope_echoed_back(self): method teardown_class (line 497) | def teardown_class(cls): class TestP2PLibp2pConnectionRoutingRelayTwoDHTNodes (line 509) | class TestP2PLibp2pConnectionRoutingRelayTwoDHTNodes: method setup_class (line 514) | def setup_class(cls): method test_connection_is_established (line 593) | def test_connection_is_established(self): method test_star_routing_connectivity (line 600) | def test_star_routing_connectivity(self): method teardown_class (line 640) | def teardown_class(cls): function test_libp2pconnection_uri (line 651) | def test_libp2pconnection_uri(): class TestP2PLibp2pNodeRestart (line 659) | class TestP2PLibp2pNodeRestart: method setup (line 662) | def setup(self): method test_node_restart (line 669) | async def test_node_restart(self): method teardown (line 685) | def teardown(self): class BaseTestP2PLibp2p (line 695) | class BaseTestP2PLibp2p: method _make_envelope (line 698) | def _make_envelope( method setup_class (line 723) | def setup_class(cls): method teardown_class (line 769) | def teardown_class(cls): class TestP2PLibp2PSendEnvelope (line 781) | class TestP2PLibp2PSendEnvelope(BaseTestP2PLibp2p): method test_connection_is_established (line 784) | def test_connection_is_established(self): method test_envelope_routed (line 789) | def test_envelope_routed(self): class TestP2PLibp2PReceiveEnvelope (line 835) | class TestP2PLibp2PReceiveEnvelope(BaseTestP2PLibp2p): method test_envelope_routed (line 838) | def test_envelope_routed(self): class TestLibp2pEnvelopeOrder (line 887) | class TestLibp2pEnvelopeOrder(BaseTestP2PLibp2p): method test_burst_order (line 897) | def test_burst_order(self): function test_nodeclient_pipe_connect (line 929) | async def test_nodeclient_pipe_connect(): FILE: tests/test_packages/test_connections/test_p2p_libp2p/test_errors.py class TestP2PLibp2pConnectionFailureGolangRun (line 54) | class TestP2PLibp2pConnectionFailureGolangRun: method setup_class (line 58) | def setup_class(cls): method test_wrong_path (line 69) | def test_wrong_path(self): method test_timeout (line 77) | def test_timeout(self): method teardown_class (line 86) | def teardown_class(cls): class TestP2PLibp2pConnectionFailureNodeDisconnect (line 96) | class TestP2PLibp2pConnectionFailureNodeDisconnect: method setup_class (line 100) | def setup_class(cls): method test_node_disconnect (line 110) | def test_node_disconnect(self): method teardown_class (line 119) | def teardown_class(cls): class TestP2PLibp2pConnectionFailureSetupNewConnection (line 128) | class TestP2PLibp2pConnectionFailureSetupNewConnection: method setup_class (line 132) | def setup_class(cls): method test_entry_peers_when_no_public_uri_provided (line 147) | def test_entry_peers_when_no_public_uri_provided(self): method test_local_uri_provided_when_public_uri_provided (line 163) | def test_local_uri_provided_when_public_uri_provided(self): method teardown_class (line 179) | def teardown_class(cls): function test_libp2pconnection_mixed_ip_address (line 188) | def test_libp2pconnection_mixed_ip_address(): function test_libp2pconnection_node_config_registration_delay (line 199) | def test_libp2pconnection_node_config_registration_delay(): function test_build_dir_not_set (line 219) | def test_build_dir_not_set(): function test_reconnect_on_write_failed (line 240) | async def test_reconnect_on_write_failed(): function test_reconnect_on_write_failed_reconnect_pipe (line 274) | async def test_reconnect_on_write_failed_reconnect_pipe(): function test_reconnect_on_read_failed (line 314) | async def test_reconnect_on_read_failed(): function test_max_restarts (line 345) | async def test_max_restarts(): function test_node_stopped_callback (line 353) | async def test_node_stopped_callback(): function test_send_acn_confirm_failed (line 389) | async def test_send_acn_confirm_failed(): function test_send_acn_confirm_timeout (line 414) | async def test_send_acn_confirm_timeout(): function test_acn_decode_error_on_read (line 434) | async def test_acn_decode_error_on_read(): function test_write_acn_error (line 456) | async def test_write_acn_error(): FILE: tests/test_packages/test_connections/test_p2p_libp2p/test_fault_tolerance.py class BaseTestLibp2pRelay (line 49) | class BaseTestLibp2pRelay: method setup (line 53) | def setup(self): method change_state_and_wait (line 62) | def change_state_and_wait( method teardown (line 80) | def teardown(self): class TestLibp2pConnectionRelayNodeRestartIncomingEnvelopes (line 92) | class TestLibp2pConnectionRelayNodeRestartIncomingEnvelopes(BaseTestLibp... method setup (line 96) | def setup(self): method test_connection_is_established (line 162) | def test_connection_is_established(self): method test_envelope_routed_from_peer_after_relay_restart (line 168) | def test_envelope_routed_from_peer_after_relay_restart(self): method test_envelope_routed_from_client_after_relay_restart (line 236) | def test_envelope_routed_from_client_after_relay_restart(self): class TestLibp2pConnectionRelayNodeRestartOutgoingEnvelopes (line 306) | class TestLibp2pConnectionRelayNodeRestartOutgoingEnvelopes(BaseTestLibp... method setup (line 310) | def setup(self): method test_connection_is_established (line 362) | def test_connection_is_established(self): method test_envelope_routed_after_relay_restart (line 367) | def test_envelope_routed_after_relay_restart(self): class TestLibp2pConnectionAgentMobility (line 437) | class TestLibp2pConnectionAgentMobility(BaseTestLibp2pRelay): method setup (line 441) | def setup(self): method test_connection_is_established (line 481) | def test_connection_is_established(self): method test_envelope_routed_after_peer_changed (line 486) | def test_envelope_routed_after_peer_changed(self): FILE: tests/test_packages/test_connections/test_p2p_libp2p/test_integration.py class TestP2PLibp2pConnectionIntegrationTest (line 53) | class TestP2PLibp2pConnectionIntegrationTest: method get_port (line 59) | def get_port(cls) -> int: method make_connection (line 65) | def make_connection(cls, name, **kwargs): method make_client_connection (line 83) | def make_client_connection(cls, name, **kwargs): method make_mailbox_connection (line 100) | def make_mailbox_connection(cls, name, **kwargs): method setup_class (line 118) | def setup_class(cls): method get_delegate_host_port (line 197) | def get_delegate_host_port(cls, delegate_uri: Uri) -> dict: method test_connection_is_established (line 201) | def test_connection_is_established(self): method send_message (line 206) | def send_message(self, from_name: str, to_name: str) -> None: method test_send_and_receive (line 244) | def test_send_and_receive(self): method teardown_class (line 260) | def teardown_class(cls): FILE: tests/test_packages/test_connections/test_p2p_libp2p/test_public_dht.py function maddrs (line 82) | def maddrs(request): function delegate_uris_public_keys (line 88) | def delegate_uris_public_keys(request): class TestLibp2pConnectionPublicDHTRelay (line 95) | class TestLibp2pConnectionPublicDHTRelay: method setup (line 98) | def setup(self): method test_connectivity (line 109) | def test_connectivity(self, maddrs): method test_communication_direct (line 136) | def test_communication_direct(self, maddrs): method test_communication_indirect (line 207) | def test_communication_indirect(self, maddrs): method teardown (line 283) | def teardown(self): class TestLibp2pConnectionPublicDHTDelegate (line 293) | class TestLibp2pConnectionPublicDHTDelegate: method setup (line 296) | def setup(self): method test_connectivity (line 310) | def test_connectivity(self, delegate_uris_public_keys): method test_communication_direct (line 341) | def test_communication_direct(self, delegate_uris_public_keys): method test_communication_indirect (line 412) | def test_communication_indirect(self, delegate_uris_public_keys): method teardown (line 485) | def teardown(self): class TestLibp2pConnectionPublicDHTRelayAEACli (line 495) | class TestLibp2pConnectionPublicDHTRelayAEACli(AEATestCaseMany): method test_connectivity (line 502) | def test_connectivity(self, maddrs): method teardown (line 553) | def teardown(self): class TestLibp2pConnectionPublicDHTDelegateAEACli (line 560) | class TestLibp2pConnectionPublicDHTDelegateAEACli(AEATestCaseMany): method test_connectivity (line 571) | def test_connectivity(self, delegate_uris_public_keys): method teardown (line 622) | def teardown(self): FILE: tests/test_packages/test_connections/test_p2p_libp2p/test_slow_queue.py class TestSlowQueue (line 50) | class TestSlowQueue: method setup_class (line 55) | def setup_class(cls): method test_slow_queue (line 115) | async def test_slow_queue(self): method teardown_class (line 154) | def teardown_class(cls): FILE: tests/test_packages/test_connections/test_prometheus/test_prometheus.py class PrometheusDialogues (line 44) | class PrometheusDialogues(BasePrometheusDialogues): method __init__ (line 47) | def __init__(self, self_address: Address, **kwargs) -> None: class TestPrometheusConnection (line 72) | class TestPrometheusConnection: method setup (line 75) | def setup(self): method send_add_metric (line 96) | async def send_add_metric(self, title: str, metric_type: str) -> None: method send_update_metric (line 115) | async def send_update_metric(self, title: str, update_func: str) -> None: method teardown (line 135) | def teardown(self): method test_connection (line 140) | async def test_connection(self): method test_disconnect (line 256) | async def test_disconnect(self): FILE: tests/test_packages/test_connections/test_webhook/test_webhook.py class HttpDialogues (line 51) | class HttpDialogues(BaseHttpDialogues): method __init__ (line 54) | def __init__(self, self_address: Address, **kwargs) -> None: class TestWebhookConnection (line 80) | class TestWebhookConnection: method setup (line 83) | def setup(self): method test_initialization (line 108) | async def test_initialization(self): method test_connection (line 113) | async def test_connection(self): method test_disconnect (line 119) | async def test_disconnect(self): method teardown (line 127) | def teardown(self): method test_receive_post_ok (line 136) | async def test_receive_post_ok(self): method test_send (line 154) | async def test_send(self): method call_webhook (line 184) | async def call_webhook(self, topic: str, **kwargs) -> ClientResponse: FILE: tests/test_packages/test_protocols/test_aggregation.py function test_observation_serialization (line 51) | def test_observation_serialization(): function test_aggregation_serialization (line 88) | def test_aggregation_serialization(): function test_performative_string_value (line 125) | def test_performative_string_value(): function test_encoding_unknown_performative (line 135) | def test_encoding_unknown_performative(): function test_decoding_unknown_performative (line 155) | def test_decoding_unknown_performative(): function test_incorrect_message (line 181) | def test_incorrect_message(mocked_enforce): class TestDialogues (line 194) | class TestDialogues: method setup_class (line 198) | def setup_class(cls): method test_create_self_initiated (line 205) | def test_create_self_initiated(self): method test_create_opponent_initiated (line 215) | def test_create_opponent_initiated(self): class AgentDialogue (line 226) | class AgentDialogue(AggregationDialogue): method __init__ (line 229) | def __init__( class AgentDialogues (line 254) | class AgentDialogues(AggregationDialogues): method __init__ (line 257) | def __init__(self, self_address: Address) -> None: class PeerDialogue (line 283) | class PeerDialogue(AggregationDialogue): method __init__ (line 286) | def __init__( class PeerDialogues (line 311) | class PeerDialogues(AggregationDialogues): method __init__ (line 314) | def __init__(self, self_address: Address) -> None: FILE: tests/test_packages/test_protocols/test_ml_trade.py function test_cfp_serialization (line 54) | def test_cfp_serialization(): function test_terms_serialization (line 85) | def test_terms_serialization(): function test_accept_serialization (line 118) | def test_accept_serialization(): function test_data_serialization (line 150) | def test_data_serialization(): function test_performative_string_value (line 182) | def test_performative_string_value(): function test_encoding_unknown_performative (line 194) | def test_encoding_unknown_performative(): function test_decoding_unknown_performative (line 208) | def test_decoding_unknown_performative(): function test_fipa_incorrect_message (line 228) | def test_fipa_incorrect_message(mocked_enforce): class TestDialogues (line 239) | class TestDialogues: method setup_class (line 243) | def setup_class(cls): method test_create_self_initiated (line 250) | def test_create_self_initiated(self): method test_create_opponent_initiated (line 260) | def test_create_opponent_initiated(self): class BuyerDialogue (line 271) | class BuyerDialogue(MlTradeDialogue): method __init__ (line 274) | def __init__( class BuyerDialogues (line 299) | class BuyerDialogues(MlTradeDialogues): method __init__ (line 302) | def __init__(self, self_address: Address) -> None: class SellerDialogue (line 328) | class SellerDialogue(MlTradeDialogue): method __init__ (line 331) | def __init__( class SellerDialogues (line 356) | class SellerDialogues(MlTradeDialogues): method __init__ (line 359) | def __init__(self, self_address: Address) -> None: FILE: tests/test_packages/test_protocols/test_prometheus.py function test_add_metric_serialization (line 51) | def test_add_metric_serialization(): function test_update_metric_serialization (line 88) | def test_update_metric_serialization(): function test_response_serialization (line 125) | def test_response_serialization(): function test_performative_string_value (line 160) | def test_performative_string_value(): function test_encoding_unknown_performative (line 173) | def test_encoding_unknown_performative(): function test_decoding_unknown_performative (line 191) | def test_decoding_unknown_performative(): function test_incorrect_message (line 215) | def test_incorrect_message(mocked_enforce): class TestDialogues (line 230) | class TestDialogues: method setup_class (line 234) | def setup_class(cls): method test_create_self_initiated (line 241) | def test_create_self_initiated(self): method test_create_opponent_initiated (line 251) | def test_create_opponent_initiated(self): class AgentDialogue (line 262) | class AgentDialogue(PrometheusDialogue): method __init__ (line 265) | def __init__( class AgentDialogues (line 290) | class AgentDialogues(PrometheusDialogues): method __init__ (line 293) | def __init__(self, self_address: Address) -> None: class ServerDialogue (line 319) | class ServerDialogue(PrometheusDialogue): method __init__ (line 322) | def __init__( class ServerDialogues (line 347) | class ServerDialogues(PrometheusDialogues): method __init__ (line 350) | def __init__(self, self_address: Address) -> None: FILE: tests/test_packages/test_skills/test_advanced_data_request/test_behaviours.py class TestSkillBehaviour (line 38) | class TestSkillBehaviour(BaseSkillTestCase): method setup (line 46) | def setup(cls, **kwargs): method test_send_http_request_message (line 59) | def test_send_http_request_message(self): method test_add_prometheus_metric (line 72) | def test_add_prometheus_metric(self): method test_update_prometheus_metric (line 90) | def test_update_prometheus_metric(self): method test_setup (line 108) | def test_setup(self): method test_act (line 133) | def test_act(self): method test_teardown (line 148) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_advanced_data_request/test_handlers.py class TestHttpHandler (line 49) | class TestHttpHandler(BaseSkillTestCase): method setup (line 58) | def setup(cls, **kwargs): method test_setup (line 92) | def test_setup(self): method test_setup_with_http_server (line 97) | def test_setup_with_http_server(self): method test_handle_response (line 105) | def test_handle_response(self): method test_handle__handle_unidentified_dialogue (line 140) | def test_handle__handle_unidentified_dialogue(self): method test_handle_response_invalid_body (line 167) | def test_handle_response_invalid_body(self): method test_handle_response_missing_output (line 196) | def test_handle_response_missing_output(self): method test_handle_response_bad_response_code (line 229) | def test_handle_response_bad_response_code(self): method test_handle_request_get (line 258) | def test_handle_request_get(self): method test_handle_request_post (line 286) | def test_handle_request_post(self): method test_handle_request_no_http_server (line 312) | def test_handle_request_no_http_server(self): method test_teardown (line 342) | def test_teardown(self): class TestPrometheusHandler (line 348) | class TestPrometheusHandler(BaseSkillTestCase): method setup (line 357) | def setup(cls, **kwargs): method test_setup (line 386) | def test_setup(self): method test_handle_response (line 391) | def test_handle_response(self): method test_handle_unidentified_dialogue (line 414) | def test_handle_unidentified_dialogue(self): method test_teardown (line 434) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_aries_alice/intermediate_class.py class AriesAliceTestCase (line 55) | class AriesAliceTestCase(BaseSkillTestCase): method setup (line 61) | def setup(cls): FILE: tests/test_packages/test_skills/test_aries_alice/test_behaviours.py class TestAliceBehaviour (line 34) | class TestAliceBehaviour(AriesAliceTestCase): method test_init (line 37) | def test_init(self): method test_send_http_request_message (line 42) | def test_send_http_request_message(self): method test_perform_agents_search (line 67) | def test_perform_agents_search(self) -> None: method test_setup (line 75) | def test_setup(self): method test_act_i (line 108) | def test_act_i(self): method test_act_ii (line 136) | def test_act_ii(self): method test_register_service (line 149) | def test_register_service(self): method test_register_genus (line 177) | def test_register_genus(self): method test_register_classification (line 205) | def test_register_classification(self): method test_teardown (line 233) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_aries_alice/test_dialogues.py class TestDialogues (line 37) | class TestDialogues(AriesAliceTestCase): method test_default_dialogues (line 40) | def test_default_dialogues(self): method test_http_dialogues (line 50) | def test_http_dialogues(self): method test_oef_search_dialogues (line 64) | def test_oef_search_dialogues(self): FILE: tests/test_packages/test_skills/test_aries_alice/test_handlers.py class TestDefaultHandler (line 41) | class TestDefaultHandler(AriesAliceTestCase): method test_setup (line 44) | def test_setup(self): method test_handle_i (line 49) | def test_handle_i(self): method test_handle_ii (line 84) | def test_handle_ii(self): method test_teardown (line 113) | def test_teardown(self): class TestHttpHandler (line 119) | class TestHttpHandler(AriesAliceTestCase): method test_setup (line 124) | def test_setup(self): method test_handle_unidentified_dialogue (line 129) | def test_handle_unidentified_dialogue(self): method test_handle_request_connection_invitation (line 157) | def test_handle_request_connection_invitation(self): method test_handle_request_credentials_proof_request (line 203) | def test_handle_request_credentials_proof_request(self): method test_handle_request_get_credentials_proof (line 243) | def test_handle_request_get_credentials_proof(self): method test_handle_request_get_credentials_issued (line 282) | def test_handle_request_get_credentials_issued(self): method test_handle_response_i (line 323) | def test_handle_response_i(self): method test_handle_response_ii (line 359) | def test_handle_response_ii(self): method test_teardown (line 403) | def test_teardown(self): class TestOefSearchHandler (line 409) | class TestOefSearchHandler(AriesAliceTestCase): method test_setup (line 414) | def test_setup(self): method test_handle_unidentified_dialogue (line 419) | def test_handle_unidentified_dialogue(self): method test_handle_error (line 443) | def test_handle_error(self): method test_handle_success_i (line 472) | def test_handle_success_i(self): method test_handle_success_ii (line 500) | def test_handle_success_ii(self): method test_handle_success_iii (line 528) | def test_handle_success_iii(self): method test_handle_success_iv (line 556) | def test_handle_success_iv(self): method test_handle_success_v (line 584) | def test_handle_success_v(self): method test_handle_invalid (line 611) | def test_handle_invalid(self): method test_teardown (line 633) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_aries_alice/test_strategy.py class TestStrategy (line 34) | class TestStrategy(AriesAliceTestCase): method test_properties (line 37) | def test_properties(self): method test_get_location_description (line 43) | def test_get_location_description(self): method test_get_register_service_description (line 53) | def test_get_register_service_description(self): method test_get_register_personality_description (line 62) | def test_get_register_personality_description(self): method test_get_register_classification_description (line 71) | def test_get_register_classification_description(self): method test_get_unregister_service_description (line 80) | def test_get_unregister_service_description(self): FILE: tests/test_packages/test_skills/test_aries_faber/intermediate_class.py class AriesFaberTestCase (line 50) | class AriesFaberTestCase(BaseSkillTestCase): method setup (line 56) | def setup(cls): FILE: tests/test_packages/test_skills/test_aries_faber/test_behaviours.py class TestFaberBehaviour (line 34) | class TestFaberBehaviour(AriesFaberTestCase): method test_send_http_request_message (line 37) | def test_send_http_request_message(self): method test_setup (line 62) | def test_setup(self): method test_act_is_searching (line 71) | def test_act_is_searching(self): method test_teardown (line 102) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_aries_faber/test_dialogues.py class TestDialogues (line 37) | class TestDialogues(AriesFaberTestCase): method test_default_dialogues (line 40) | def test_default_dialogues(self): method test_http_dialogues (line 50) | def test_http_dialogues(self): method test_oef_search_dialogues (line 64) | def test_oef_search_dialogues(self): FILE: tests/test_packages/test_skills/test_aries_faber/test_handlers.py class TestHttpHandler (line 50) | class TestHttpHandler(AriesFaberTestCase): method test__init__i (line 55) | def test__init__i(self): method test_setup (line 68) | def test_setup(self): method test_properties (line 73) | def test_properties(self): method test_handle_unidentified_dialogue (line 81) | def test_handle_unidentified_dialogue(self): method test_handle_request (line 109) | def test_handle_request(self): method test_handle_response_1 (line 154) | def test_handle_response_1(self): method test_handle_response_2 (line 204) | def test_handle_response_2(self): method test_handle_response_3 (line 252) | def test_handle_response_3(self): method test_handle_response_4 (line 303) | def test_handle_response_4(self): method test_handle_response_5 (line 351) | def test_handle_response_5(self): method test_handle_response_6 (line 394) | def test_handle_response_6(self): method test_handle_response_7 (line 454) | def test_handle_response_7(self): method test_teardown (line 513) | def test_teardown(self): class TestOefSearchHandler (line 519) | class TestOefSearchHandler(AriesFaberTestCase): method test_setup (line 524) | def test_setup(self): method test_handle_unidentified_dialogue (line 529) | def test_handle_unidentified_dialogue(self): method test_handle_error (line 553) | def test_handle_error(self): method test_handle_search_i (line 582) | def test_handle_search_i(self): method test_handle_search_ii (line 628) | def test_handle_search_ii(self): method test_handle_invalid (line 659) | def test_handle_invalid(self): method test_teardown (line 681) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_aries_faber/test_strategy.py class TestStrategy (line 31) | class TestStrategy(AriesFaberTestCase): method test_properties (line 34) | def test_properties(self): method test_get_location_and_service_query (line 49) | def test_get_location_and_service_query(self): FILE: tests/test_packages/test_skills/test_carpark_detection/test_database.py class TestDetectionDatabase (line 32) | class TestDetectionDatabase(BaseSkillTestCase): method setup (line 38) | def setup(cls): method test__init__i (line 50) | def test__init__i(self): method test_is_db_exits_i (line 58) | def test_is_db_exits_i(self): method test_is_db_exits_ii (line 73) | def test_is_db_exits_ii(self): method test_is_db_exits_iii (line 83) | def test_is_db_exits_iii(self): method test_initialise_backend_i (line 98) | def test_initialise_backend_i(self): method test_initialise_backend_ii (line 117) | def test_initialise_backend_ii(self): method test_get_lat_lon_i (line 136) | def test_get_lat_lon_i(self): method test_get_lat_lon_ii (line 155) | def test_get_lat_lon_ii(self): method test_set_system_status (line 173) | def test_set_system_status(self): method test_get_system_status_i (line 189) | def test_get_system_status_i(self): method test_get_system_status_ii (line 212) | def test_get_system_status_ii(self): method test_execute_single_sql_i (line 234) | def test_execute_single_sql_i(self): method test_execute_single_sql_ii (line 273) | def test_execute_single_sql_ii(self): method test_get_latest_detection_data_i (line 323) | def test_get_latest_detection_data_i(self): method test_get_latest_detection_data_ii (line 355) | def test_get_latest_detection_data_ii(self): method test_ensure_dirs_exist (line 375) | def test_ensure_dirs_exist(self): FILE: tests/test_packages/test_skills/test_carpark_detection/test_strategy.py class TestStrategy (line 38) | class TestStrategy(BaseSkillTestCase): method setup (line 44) | def setup(cls): method test__init__i (line 57) | def test__init__i(self): method test__init__ii (line 69) | def test__init__ii(self): method test_update_service_data (line 83) | def test_update_service_data(self): method test_collect_from_data_source_i (line 109) | def test_collect_from_data_source_i(self): method test_collect_from_data_source_ii (line 157) | def test_collect_from_data_source_ii(self): FILE: tests/test_packages/test_skills/test_confirmation_aw1/test_behaviours.py class TestTransactionBehaviour (line 52) | class TestTransactionBehaviour(BaseSkillTestCase): method setup (line 59) | def setup(cls): method _check_start_processing_effects (line 83) | def _check_start_processing_effects(self_, register_dialogue, mock_log... method _setup_register_ledger_api_dialogues (line 116) | def _setup_register_ledger_api_dialogues( method test_setup (line 155) | def test_setup(self): method test_act_i (line 160) | def test_act_i(self): method test_act_ii (line 186) | def test_act_ii(self): method test_act_iii (line 204) | def test_act_iii(self): method test_timeout_processing (line 235) | def test_timeout_processing(self): method test_act_iv (line 246) | def test_act_iv(self): method test_failed_processing (line 258) | def test_failed_processing(self): method test_finish_processing_i (line 286) | def test_finish_processing_i(self): method test_finish_processing_ii (line 302) | def test_finish_processing_ii(self): method test_teardown (line 320) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_confirmation_aw1/test_dialogues.py class TestDialogues (line 53) | class TestDialogues(BaseSkillTestCase): method setup (line 59) | def setup(cls): method test_default_dialogues (line 78) | def test_default_dialogues(self): method test_register_dialogue (line 88) | def test_register_dialogue(self): method test_register_dialogues (line 116) | def test_register_dialogues(self): method test_contract_api_dialogue (line 126) | def test_contract_api_dialogue(self): method test_contract_api_dialogues (line 174) | def test_contract_api_dialogues(self): method test_ledger_api_dialogue (line 187) | def test_ledger_api_dialogue(self): method test_ledger_api_dialogues (line 216) | def test_ledger_api_dialogues(self): method test_signing_dialogue (line 227) | def test_signing_dialogue(self): method test_signing_dialogues (line 256) | def test_signing_dialogues(self): FILE: tests/test_packages/test_skills/test_confirmation_aw1/test_handlers.py class TestAW1RegistrationHandler (line 68) | class TestAW1RegistrationHandler(BaseSkillTestCase): method setup (line 74) | def setup(cls): method test_setup (line 110) | def test_setup(self): method test_handle_unidentified_dialogue (line 115) | def test_handle_unidentified_dialogue(self): method test_handle_register_is_valid_i (line 136) | def test_handle_register_is_valid_i(self): method test_handle_register_is_valid_ii (line 203) | def test_handle_register_is_valid_ii(self): method test_handle_register_is_not_valid (line 254) | def test_handle_register_is_not_valid(self): method test_handle_invalid (line 301) | def test_handle_invalid(self): method test_teardown (line 330) | def test_teardown(self): class TestContractApiHandler (line 336) | class TestContractApiHandler(BaseSkillTestCase): method setup (line 343) | def setup(cls): method test_setup (line 401) | def test_setup(self): method test_handle_unidentified_dialogue (line 406) | def test_handle_unidentified_dialogue(self): method test_handle_state_staked (line 427) | def test_handle_state_staked( method test_handle_state_not_staked (line 480) | def test_handle_state_not_staked( method test_handle_state_register_msg_is_none (line 542) | def test_handle_state_register_msg_is_none( method test_handle_error_i (line 583) | def test_handle_error_i(self): method test_handle_error_ii (line 627) | def test_handle_error_ii(self): method test_handle_invalid (line 670) | def test_handle_invalid(self): method test_teardown (line 694) | def test_teardown(self): class TestSigningHandler (line 700) | class TestSigningHandler(BaseSkillTestCase): method setup (line 707) | def setup(cls): method test_setup (line 765) | def test_setup(self): method test_handle_unidentified_dialogue (line 770) | def test_handle_unidentified_dialogue(self): method test_handle_signed_transaction_last_ledger_api_message_is_none (line 792) | def test_handle_signed_transaction_last_ledger_api_message_is_none( method test_handle_signed_transaction_last_ledger_api_message_is_not_none (line 831) | def test_handle_signed_transaction_last_ledger_api_message_is_not_none( method test_handle_error (line 884) | def test_handle_error(self): method test_handle_invalid (line 942) | def test_handle_invalid(self): method test_teardown (line 967) | def test_teardown(self): class TestGenericLedgerApiHandler (line 973) | class TestGenericLedgerApiHandler(BaseSkillTestCase): method setup (line 980) | def setup(cls): method _check_send_confirmation_details_to_awx_aeas (line 1060) | def _check_send_confirmation_details_to_awx_aeas(self, aea, mock_logger): method test_setup (line 1077) | def test_setup(self): method test_handle_unidentified_dialogue (line 1109) | def test_handle_unidentified_dialogue(self): method test_handle_raw_transaction (line 1130) | def test_handle_raw_transaction(self): method test_handle_transaction_digest (line 1195) | def test_handle_transaction_digest(self): method test_handle_transaction_receipt_i (line 1241) | def test_handle_transaction_receipt_i(self): method test_handle_transaction_receipt_ii (line 1321) | def test_handle_transaction_receipt_ii(self): method test_handle_transaction_receipt_iii (line 1370) | def test_handle_transaction_receipt_iii(self): method test_handle_error (line 1425) | def test_handle_error(self): method test_handle_invalid (line 1456) | def test_handle_invalid(self): method test_teardown (line 1479) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_confirmation_aw1/test_registration_db.py class TestStrategy (line 31) | class TestStrategy(BaseSkillTestCase): method setup (line 37) | def setup(cls): method test__initialise_backend (line 44) | def test__initialise_backend(self): method test_set_registered (line 59) | def test_set_registered(self): method test_set_registered_developer_only (line 92) | def test_set_registered_developer_only(self): method test_is_registered_i (line 113) | def test_is_registered_i(self): method test_is_registered_ii (line 130) | def test_is_registered_ii(self): method test_get_developer_handle_i (line 147) | def test_get_developer_handle_i(self): method test_get_developer_handle_ii (line 166) | def test_get_developer_handle_ii(self): method test_get_all_registered (line 189) | def test_get_all_registered(self): FILE: tests/test_packages/test_skills/test_confirmation_aw1/test_strategy.py class TestStrategy (line 41) | class TestStrategy(BaseSkillTestCase): method setup (line 47) | def setup(cls): method test__init__ (line 78) | def test__init__(self): method test_properties (line 91) | def test_properties(self): method test_lock_registration_temporarily (line 100) | def test_lock_registration_temporarily(self): method test_finalize_registration_i (line 111) | def test_finalize_registration_i(self): method test_finalize_registration_ii (line 139) | def test_finalize_registration_ii(self): method test_unlock_registration (line 163) | def test_unlock_registration(self): method test_get_developer_handle (line 183) | def test_get_developer_handle(self): method test_valid_registration_succeeds (line 192) | def test_valid_registration_succeeds(self): method test_valid_registration_fails_i (line 220) | def test_valid_registration_fails_i(self): method test_valid_registration_fails_ii (line 240) | def test_valid_registration_fails_ii(self): method test_valid_registration_fails_iii (line 262) | def test_valid_registration_fails_iii(self): method test_valid_registration_fails_iv (line 288) | def test_valid_registration_fails_iv(self): method test_valid_registration_fails_v (line 314) | def test_valid_registration_fails_v(self): method test_valid_registration_fails_vi (line 335) | def test_valid_registration_fails_vi(self): method test_valid_registration_fails_vii (line 357) | def test_valid_registration_fails_vii(self): method test_valid_registration_fails_developer_only_mode_i (line 381) | def test_valid_registration_fails_developer_only_mode_i(self): method test_valid_registration_fails_developer_only_mode_ii (line 402) | def test_valid_registration_fails_developer_only_mode_ii(self): method test__valid_signature_i (line 422) | def test__valid_signature_i(self): method test__valid_signature_ii (line 442) | def test__valid_signature_ii(self): method test__valid_signature_iii (line 462) | def test__valid_signature_iii(self): method test_get_terms (line 489) | def test_get_terms(self): method test_get_kwargs (line 512) | def test_get_kwargs(self): method test_has_staked_i (line 523) | def test_has_staked_i(self): method test_has_staked_ii (line 534) | def test_has_staked_ii(self): method test_has_staked_iii (line 545) | def test_has_staked_iii(self): FILE: tests/test_packages/test_skills/test_confirmation_aw2/intermediate_class.py class ConfirmationAW2TestCase (line 27) | class ConfirmationAW2TestCase(BaseSkillTestCase): method setup (line 33) | def setup(cls): FILE: tests/test_packages/test_skills/test_confirmation_aw2/test_handlers.py class TestDefaultHandler (line 42) | class TestDefaultHandler(ConfirmationAW2TestCase): method setup (line 48) | def setup(cls): method test_setup (line 70) | def test_setup(self): method test_handle_unidentified_dialogue (line 75) | def test_handle_unidentified_dialogue(self): method test_handle_bytes_i (line 96) | def test_handle_bytes_i(self): method test_handle_bytes_ii (line 125) | def test_handle_bytes_ii(self): method test_handle_bytes_iii (line 155) | def test_handle_bytes_iii(self): method test_handle_bytes_iv (line 188) | def test_handle_bytes_iv(self): method test_handle_invalid (line 218) | def test_handle_invalid(self): method test_teardown (line 249) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_confirmation_aw2/test_registration_db.py class TestStrategy (line 34) | class TestStrategy(ConfirmationAW2TestCase): method setup (line 40) | def setup(cls): method test__initialise_backend (line 62) | def test__initialise_backend(self): method test_set_trade_i (line 79) | def test_set_trade_i(self): method test_set_trade_ii (line 99) | def test_set_trade_ii(self): method test_set_trade_iii (line 135) | def test_set_trade_iii(self): method test_get_trade_table (line 162) | def test_get_trade_table(self): method test_set_registered_i (line 180) | def test_set_registered_i(self): method test_set_registered_ii (line 199) | def test_set_registered_ii(self): method test_is_registered_i (line 215) | def test_is_registered_i(self): method test_is_registered_ii (line 232) | def test_is_registered_ii(self): method test_is_allowed_to_trade_i (line 249) | def test_is_allowed_to_trade_i(self): method test_is_allowed_to_trade_ii (line 269) | def test_is_allowed_to_trade_ii(self): method test_is_allowed_to_trade_iii (line 287) | def test_is_allowed_to_trade_iii(self): method test_is_allowed_to_trade_iv (line 318) | def test_is_allowed_to_trade_iv(self): method test_is_allowed_to_trade_v (line 354) | def test_is_allowed_to_trade_v(self): method test_has_completed_two_trades_i (line 389) | def test_has_completed_two_trades_i(self): method test_has_completed_two_trades_ii (line 410) | def test_has_completed_two_trades_ii(self): method test_has_completed_two_trades_iii (line 425) | def test_has_completed_two_trades_iii(self): method test_has_completed_two_trades_iv (line 446) | def test_has_completed_two_trades_iv(self): method test_has_completed_two_trades_v (line 467) | def test_has_completed_two_trades_v(self): method test_completed_two_trades (line 482) | def test_completed_two_trades(self): FILE: tests/test_packages/test_skills/test_confirmation_aw2/test_strategy.py class TestStrategy (line 38) | class TestStrategy(ConfirmationAW2TestCase): method setup (line 44) | def setup(cls): method test__init__i (line 71) | def test__init__i(self): method test__init__ii (line 80) | def test__init__ii(self): method test_get_acceptable_counterparties (line 91) | def test_get_acceptable_counterparties(self): method test_is_enough_time_since_last_attempt_i (line 108) | def test_is_enough_time_since_last_attempt_i(self): method test_is_enough_time_since_last_attempt_ii (line 132) | def test_is_enough_time_since_last_attempt_ii(self): method test_is_enough_time_since_last_attempt_iii (line 156) | def test_is_enough_time_since_last_attempt_iii(self): method test_is_valid_counterparty_i (line 169) | def test_is_valid_counterparty_i(self): method test_is_valid_counterparty_ii (line 183) | def test_is_valid_counterparty_ii(self): method test_is_valid_counterparty_iii (line 200) | def test_is_valid_counterparty_iii(self): method test_is_valid_counterparty_iv (line 213) | def test_is_valid_counterparty_iv(self): method test_successful_trade_with_counterparty (line 226) | def test_successful_trade_with_counterparty(self): method test_register_counterparty (line 252) | def test_register_counterparty(self): FILE: tests/test_packages/test_skills/test_confirmation_aw3/intermediate_class.py class ConfirmationAW3TestCase (line 27) | class ConfirmationAW3TestCase(BaseSkillTestCase): method setup (line 33) | def setup(cls): FILE: tests/test_packages/test_skills/test_confirmation_aw3/test_behaviours.py class TestSearchBehaviour (line 43) | class TestSearchBehaviour(ConfirmationAW3TestCase): method setup (line 49) | def setup(cls): method test_act (line 58) | def test_act(self): FILE: tests/test_packages/test_skills/test_confirmation_aw3/test_dialogues.py class TestDialogues (line 38) | class TestDialogues(ConfirmationAW3TestCase): method setup (line 44) | def setup(cls): method test_http_dialogues (line 52) | def test_http_dialogues(self): FILE: tests/test_packages/test_skills/test_confirmation_aw3/test_handlers.py class TestDefaultHandler (line 49) | class TestDefaultHandler(ConfirmationAW3TestCase): method setup (line 55) | def setup(cls): method test_setup (line 77) | def test_setup(self): method test_handle_unidentified_dialogue (line 82) | def test_handle_unidentified_dialogue(self): method test_handle_bytes_i (line 103) | def test_handle_bytes_i(self): method test_handle_bytes_ii (line 132) | def test_handle_bytes_ii(self): method test_handle_bytes_iii (line 162) | def test_handle_bytes_iii(self): method test_handle_bytes_iv (line 195) | def test_handle_bytes_iv(self): method test_handle_invalid (line 225) | def test_handle_invalid(self): method test_teardown (line 256) | def test_teardown(self): class TestHttpHandler (line 262) | class TestHttpHandler(ConfirmationAW3TestCase): method setup (line 269) | def setup(cls): method test_setup (line 304) | def test_setup(self): method test_handle_unidentified_dialogue (line 309) | def test_handle_unidentified_dialogue(self): method test__handle_response (line 334) | def test__handle_response(self): method test_handle_invalid (line 373) | def test_handle_invalid(self): method test_teardown (line 402) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_confirmation_aw3/test_registration_db.py class TestStrategy (line 35) | class TestStrategy(ConfirmationAW3TestCase): method setup (line 41) | def setup(cls): method test_set_trade (line 56) | def test_set_trade(self): method test_get_trade_count (line 72) | def test_get_trade_count(self): method test_get_developer_handle_i (line 92) | def test_get_developer_handle_i(self): method test_get_developer_handle_ii (line 112) | def test_get_developer_handle_ii(self): method test_get_addresses_i (line 133) | def test_get_addresses_i(self): method test_get_addresses_ii (line 153) | def test_get_addresses_ii(self): method test_get_handle_and_trades (line 176) | def test_get_handle_and_trades(self): method test_get_all_addresses_and_handles (line 203) | def test_get_all_addresses_and_handles(self): method test_get_leaderboard_i (line 220) | def test_get_leaderboard_i(self): method test_get_leaderboard_ii (line 248) | def test_get_leaderboard_ii(self): method test_set_registered_i (line 276) | def test_set_registered_i(self): method test_set_registered_ii (line 292) | def test_set_registered_ii(self): method test_is_registered_i (line 305) | def test_is_registered_i(self): method test_is_registered_ii (line 323) | def test_is_registered_ii(self): FILE: tests/test_packages/test_skills/test_confirmation_aw3/test_strategy.py class TestStrategy (line 43) | class TestStrategy(ConfirmationAW3TestCase): method setup (line 49) | def setup(cls): method test__init__i (line 91) | def test__init__i(self): method test__init__ii (line 99) | def test__init__ii(self): method test__init__iii (line 112) | def test__init__iii(self): method test__init__iv (line 125) | def test__init__iv(self): method test__init__v (line 140) | def test__init__v(self): method test__init__vi (line 153) | def test__init__vi(self): method test_get_acceptable_counterparties (line 166) | def test_get_acceptable_counterparties(self): method test_is_valid_counterparty_i (line 183) | def test_is_valid_counterparty_i(self): method test_is_valid_counterparty_ii (line 200) | def test_is_valid_counterparty_ii(self): method test_successful_trade_with_counterparty (line 212) | def test_successful_trade_with_counterparty(self): method test_register_counterparty (line 273) | def test_register_counterparty(self): method test_update_search_query_params (line 285) | def test_update_search_query_params(self): FILE: tests/test_packages/test_skills/test_erc1155_deploy/intermediate_class.py class ERC1155DeployTestCase (line 73) | class ERC1155DeployTestCase(BaseSkillTestCase): method setup (line 79) | def setup(cls): FILE: tests/test_packages/test_skills/test_erc1155_deploy/test_behaviours.py class TestServiceRegistrationBehaviour (line 36) | class TestServiceRegistrationBehaviour(ERC1155DeployTestCase): method test_init (line 39) | def test_init(self): method test_setup (line 46) | def test_setup(self): method test_act_i (line 101) | def test_act_i(self): method test_act_ii (line 129) | def test_act_ii(self): method test_act_iii (line 142) | def test_act_iii(self): method test_act_iv (line 153) | def test_act_iv(self): method test_act_v (line 200) | def test_act_v(self): method test_act_vi (line 250) | def test_act_vi(self): method test_register_service (line 290) | def test_register_service(self): method test_register_genus (line 318) | def test_register_genus(self): method test_register_classification (line 346) | def test_register_classification(self): method test_teardown (line 374) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_erc1155_deploy/test_dialogues.py class TestDialogues (line 47) | class TestDialogues(ERC1155DeployTestCase): method test_contract_api_dialogue (line 50) | def test_contract_api_dialogue(self): method test_contract_api_dialogues (line 70) | def test_contract_api_dialogues(self): method test_default_dialogues (line 83) | def test_default_dialogues(self): method test_fipa_dialogue (line 93) | def test_fipa_dialogue(self): method test_fipa_dialogues (line 113) | def test_fipa_dialogues(self): method test_ledger_api_dialogue (line 123) | def test_ledger_api_dialogue(self): method test_ledger_api_dialogues (line 154) | def test_ledger_api_dialogues(self): method test_oef_search_dialogues (line 165) | def test_oef_search_dialogues(self): method test_signing_dialogue (line 175) | def test_signing_dialogue(self): method test_signing_dialogues (line 210) | def test_signing_dialogues(self): FILE: tests/test_packages/test_skills/test_erc1155_deploy/test_handlers.py class TestFipaHandler (line 50) | class TestFipaHandler(ERC1155DeployTestCase): method test_setup (line 53) | def test_setup(self): method test_handle_unidentified_dialogue (line 58) | def test_handle_unidentified_dialogue(self): method test_handle_cfp_i (line 94) | def test_handle_cfp_i(self): method test_handle_cfp_ii (line 140) | def test_handle_cfp_ii(self): method test_handle_accept_w_inform_i (line 171) | def test_handle_accept_w_inform_i(self): method test_handle_accept_w_inform_ii (line 244) | def test_handle_accept_w_inform_ii(self): method test_handle_invalid (line 275) | def test_handle_invalid(self): method test_teardown (line 303) | def test_teardown(self): class TestLedgerApiHandler (line 309) | class TestLedgerApiHandler(ERC1155DeployTestCase): method test_setup (line 314) | def test_setup(self): method test_handle_unidentified_dialogue (line 319) | def test_handle_unidentified_dialogue(self): method test_handle_balance (line 344) | def test_handle_balance(self): method test_handle_transaction_digest (line 376) | def test_handle_transaction_digest(self): method test_handle_transaction_receipt_i (line 422) | def test_handle_transaction_receipt_i(self): method test_handle_transaction_receipt_ii (line 453) | def test_handle_transaction_receipt_ii(self): method test_handle_transaction_receipt_iii (line 490) | def test_handle_transaction_receipt_iii(self): method test_handle_transaction_receipt_iv (line 527) | def test_handle_transaction_receipt_iv(self): method test_handle_transaction_receipt_v (line 565) | def test_handle_transaction_receipt_v(self): method test_handle_error (line 603) | def test_handle_error(self): method test_handle_invalid (line 632) | def test_handle_invalid(self): method test_teardown (line 658) | def test_teardown(self): class TestContractApiHandler (line 664) | class TestContractApiHandler(ERC1155DeployTestCase): method test_setup (line 669) | def test_setup(self): method test_handle_unidentified_dialogue (line 674) | def test_handle_unidentified_dialogue(self): method test_handle_raw_transaction (line 698) | def test_handle_raw_transaction(self): method test_handle_error (line 752) | def test_handle_error(self): method test_handle_invalid (line 781) | def test_handle_invalid(self): method test_teardown (line 808) | def test_teardown(self): class TestSigningHandler (line 814) | class TestSigningHandler(ERC1155DeployTestCase): method test_setup (line 819) | def test_setup(self): method test_handle_unidentified_dialogue (line 824) | def test_handle_unidentified_dialogue(self): method test_handle_signed_transaction (line 849) | def test_handle_signed_transaction( method test_handle_error (line 897) | def test_handle_error(self): method test_handle_invalid (line 925) | def test_handle_invalid(self): method test_teardown (line 950) | def test_teardown(self): class TestOefSearchHandler (line 956) | class TestOefSearchHandler(ERC1155DeployTestCase): method test_setup (line 961) | def test_setup(self): method test_handle_unidentified_dialogue (line 966) | def test_handle_unidentified_dialogue(self): method test_handle_error (line 990) | def test_handle_error(self): method test_handle_success_i (line 1019) | def test_handle_success_i(self): method test_handle_success_ii (line 1047) | def test_handle_success_ii(self): method test_handle_success_iii (line 1075) | def test_handle_success_iii(self): method test_handle_success_iv (line 1103) | def test_handle_success_iv(self): method test_handle_success_v (line 1134) | def test_handle_success_v(self): method test_handle_invalid (line 1161) | def test_handle_invalid(self): method test_teardown (line 1183) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_erc1155_deploy/test_strategy.py class TestStrategy (line 44) | class TestStrategy(ERC1155DeployTestCase): method test__init__ (line 47) | def test__init__(self): method test_properties (line 63) | def test_properties(self): method test_get_location_description (line 101) | def test_get_location_description(self): method test_get_register_service_description (line 111) | def test_get_register_service_description(self): method test_get_register_personality_description (line 120) | def test_get_register_personality_description(self): method test_get_register_classification_description (line 129) | def test_get_register_classification_description(self): method test_get_service_description (line 138) | def test_get_service_description(self): method test_get_unregister_service_description (line 148) | def test_get_unregister_service_description(self): method test_get_deploy_terms (line 156) | def test_get_deploy_terms(self): method test_get_create_token_terms (line 167) | def test_get_create_token_terms(self): method test_get_mint_token_terms (line 178) | def test_get_mint_token_terms(self): method test_get_proposal (line 189) | def test_get_proposal(self): method test_get_single_swap_terms (line 219) | def test_get_single_swap_terms(self): FILE: tests/test_packages/test_skills/test_fetch_block/test_behaviours.py class TestSkillBehaviour (line 36) | class TestSkillBehaviour(BaseSkillTestCase): method setup (line 42) | def setup(cls, **kwargs): method test__get_block (line 50) | def test__get_block(self): method test_setup (line 68) | def test_setup(self): method test_act (line 73) | def test_act(self): method test_teardown (line 89) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_fetch_block/test_handlers.py class TestLedgerApiHandler (line 41) | class TestLedgerApiHandler(BaseSkillTestCase): method setup (line 48) | def setup(cls, **kwargs): method test_setup (line 79) | def test_setup(self): method test_handle__handle_unidentified_dialogue (line 84) | def test_handle__handle_unidentified_dialogue(self): method test__handle_state (line 110) | def test__handle_state(self): method test__handle_invalid (line 147) | def test__handle_invalid(self): method test_teardown (line 172) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_hello_world/test_behaviours.py class TestHelloWorld (line 33) | class TestHelloWorld(BaseSkillTestCase): method setup_method (line 39) | def setup_method(self): method test_act (line 52) | def test_act(self): FILE: tests/test_packages/test_skills/test_http_echo/test_dialogues.py class TestDialogues (line 38) | class TestDialogues(BaseSkillTestCase): method setup (line 44) | def setup(cls): method test_default_dialogues (line 54) | def test_default_dialogues(self): method test_http_dialogues (line 64) | def test_http_dialogues(self): FILE: tests/test_packages/test_skills/test_http_echo/test_handlers.py class TestHttpHandler (line 38) | class TestHttpHandler(BaseSkillTestCase): method setup (line 44) | def setup(cls): method test_setup (line 82) | def test_setup(self): method test_handle_unidentified_dialogue (line 87) | def test_handle_unidentified_dialogue(self): method test_handle_request_get (line 128) | def test_handle_request_get(self): method test_handle_request_post (line 181) | def test_handle_request_post(self): method test_handle_invalid (line 234) | def test_handle_invalid(self): method test_teardown (line 264) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_ml_data_provider/test_dialogues.py class TestDialogues (line 44) | class TestDialogues(BaseSkillTestCase): method setup (line 50) | def setup(cls): method test_default_dialogues (line 66) | def test_default_dialogues(self): method test_ml_dialogues (line 76) | def test_ml_dialogues(self): method test_ledger_api_dialogues (line 86) | def test_ledger_api_dialogues(self): method test_oef_search_dialogues (line 97) | def test_oef_search_dialogues(self): FILE: tests/test_packages/test_skills/test_ml_data_provider/test_handlers.py class TestMlTradeHandler (line 56) | class TestMlTradeHandler(BaseSkillTestCase): method setup (line 62) | def setup(cls): method test_setup (line 105) | def test_setup(self): method test_handle_unidentified_dialogue (line 110) | def test_handle_unidentified_dialogue(self): method test_handle_cfp_is_matching_supply (line 144) | def test_handle_cfp_is_matching_supply(self): method test_handle_cfp_not_is_matching_supply (line 183) | def test_handle_cfp_not_is_matching_supply(self): method test_handle_accept_i (line 207) | def test_handle_accept_i(self): method test_handle_accept_ii (line 255) | def test_handle_accept_ii(self): method test_handle_invalid (line 288) | def test_handle_invalid(self): method test_teardown (line 311) | def test_teardown(self): class TestLedgerApiHandler (line 317) | class TestLedgerApiHandler(BaseSkillTestCase): method setup (line 324) | def setup(cls): method test_setup (line 355) | def test_setup(self): method test_handle_unidentified_dialogue (line 360) | def test_handle_unidentified_dialogue(self): method test_handle_balance (line 382) | def test_handle_balance(self): method test_handle_error (line 417) | def test_handle_error(self): method test_handle_invalid (line 443) | def test_handle_invalid(self): method test_teardown (line 466) | def test_teardown(self): class TestOefSearchHandler (line 472) | class TestOefSearchHandler(BaseSkillTestCase): method setup (line 479) | def setup(cls): method test_setup (line 585) | def test_setup(self): method test_handle_unidentified_dialogue (line 590) | def test_handle_unidentified_dialogue(self): method test_handle_success_i (line 610) | def test_handle_success_i(self): method test_handle_success_ii (line 638) | def test_handle_success_ii(self): method test_handle_success_iii (line 666) | def test_handle_success_iii(self): method test_handle_success_iv (line 694) | def test_handle_success_iv(self): method test_handle_success_v (line 721) | def test_handle_success_v(self): method test_handle_error_i (line 748) | def test_handle_error_i(self): method test_handle_error_ii (line 777) | def test_handle_error_ii(self): method test_handle_invalid (line 804) | def test_handle_invalid(self): method test_teardown (line 825) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_ml_data_provider/test_strategy.py class TestGenericStrategy (line 58) | class TestGenericStrategy(BaseSkillTestCase): method setup (line 64) | def setup(cls): method test_properties (line 96) | def test_properties(self): method test_get_location_description (line 101) | def test_get_location_description(self): method test_get_register_personality_description (line 111) | def test_get_register_personality_description(self): method test_get_register_classification_description (line 120) | def test_get_register_classification_description(self): method test_get_register_service_description (line 129) | def test_get_register_service_description(self): method test_get_service_description (line 138) | def test_get_service_description(self): method test_get_unregister_service_description (line 146) | def test_get_unregister_service_description(self): method test_sample_data (line 154) | def test_sample_data(self): method test_encode_sample_data (line 163) | def test_encode_sample_data(self): method test_is_matching_supply (line 182) | def test_is_matching_supply(self): method test_generate_terms (line 196) | def test_generate_terms(self): method test_is_valid_terms_i (line 224) | def test_is_valid_terms_i(self): method test_is_valid_terms_ii (line 247) | def test_is_valid_terms_ii(self): FILE: tests/test_packages/test_skills/test_ml_train/helpers.py function produce_data (line 25) | def produce_data(batch_size) -> Tuple: FILE: tests/test_packages/test_skills/test_ml_train/test_behaviours.py class TestSearchBehaviour (line 54) | class TestSearchBehaviour(BaseSkillTestCase): method setup (line 60) | def setup(cls): method test_act_no_task (line 76) | def test_act_no_task(self): method test_act_task_not_ready (line 88) | def test_act_task_not_ready(self): method test_act_task_not_successful (line 106) | def test_act_task_not_successful(self): method test_act_task_ready_and_successful (line 125) | def test_act_task_ready_and_successful(self): method test_act_data_exists (line 148) | def test_act_data_exists(self): method teardown (line 170) | def teardown(cls): class TestTransactionBehaviour (line 175) | class TestTransactionBehaviour(BaseSkillTestCase): method setup (line 181) | def setup(cls): method _check_start_processing_effects (line 229) | def _check_start_processing_effects(self_, ml_dialogue, mock_logger) -... method _setup_ml_ledger_api_dialogues (line 263) | def _setup_ml_ledger_api_dialogues( method test_setup (line 292) | def test_setup(self): method test_act_i (line 297) | def test_act_i(self): method test_act_ii (line 323) | def test_act_ii(self): method test_act_iii (line 341) | def test_act_iii(self): method test_timeout_processing (line 369) | def test_timeout_processing(self): method test_act_iv (line 380) | def test_act_iv(self): method test_failed_processing (line 392) | def test_failed_processing(self): method test_finish_processing_i (line 417) | def test_finish_processing_i(self): method test_finish_processing_ii (line 430) | def test_finish_processing_ii(self): method test_teardown (line 445) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_ml_train/test_dialogues.py class TestDialogues (line 52) | class TestDialogues(BaseSkillTestCase): method setup (line 58) | def setup(cls): method test_default_dialogues (line 77) | def test_default_dialogues(self): method test_ml_dialogue (line 87) | def test_ml_dialogue(self): method test_ml_dialogues (line 115) | def test_ml_dialogues(self): method test_ledger_api_dialogue (line 125) | def test_ledger_api_dialogue(self): method test_ledger_api_dialogues (line 154) | def test_ledger_api_dialogues(self): method test_oef_search_dialogues (line 165) | def test_oef_search_dialogues(self): method test_signing_dialogue (line 175) | def test_signing_dialogue(self): method test_signing_dialogues (line 204) | def test_signing_dialogues(self): FILE: tests/test_packages/test_skills/test_ml_train/test_handlers.py class TestMlTradeHandler (line 75) | class TestMlTradeHandler(BaseSkillTestCase): method setup (line 81) | def setup(cls): method test_setup (line 132) | def test_setup(self): method test_handle_unidentified_dialogue (line 137) | def test_handle_unidentified_dialogue(self): method test_handle_terms_not_affordable_nor_acceptable (line 174) | def test_handle_terms_not_affordable_nor_acceptable(self): method test_handle_terms_is_affordable_and_acceptable_not_ledger (line 218) | def test_handle_terms_is_affordable_and_acceptable_not_ledger(self): method test_handle_terms_is_affordable_and_acceptable_is_ledger (line 275) | def test_handle_terms_is_affordable_and_acceptable_is_ledger(self): method test_handle_data_with_data (line 326) | def test_handle_data_with_data(self): method test_handle_data_without_data (line 360) | def test_handle_data_without_data(self): method test_handle_invalid (line 390) | def test_handle_invalid(self): method test_teardown (line 414) | def test_teardown(self): class TestOefSearchHandler (line 420) | class TestOefSearchHandler(BaseSkillTestCase): method setup (line 427) | def setup(cls): method test_setup (line 444) | def test_setup(self): method test_handle_unidentified_dialogue (line 449) | def test_handle_unidentified_dialogue(self): method test_handle_error (line 469) | def test_handle_error(self): method test_handle_search_zero_agents (line 492) | def test_handle_search_zero_agents(self): method test_handle_search_i (line 516) | def test_handle_search_i(self): method test_handle_search_ii (line 561) | def test_handle_search_ii(self): method test_handle_search_more_than_max_negotiation (line 591) | def test_handle_search_more_than_max_negotiation(self): method test_handle_invalid (line 636) | def test_handle_invalid(self): method test_teardown (line 657) | def test_teardown(self): class TestSigningHandler (line 663) | class TestSigningHandler(BaseSkillTestCase): method setup (line 670) | def setup(cls): method test_setup (line 744) | def test_setup(self): method test_handle_unidentified_dialogue (line 749) | def test_handle_unidentified_dialogue(self): method test_handle_signed_transaction_last_ledger_api_message_is_none (line 771) | def test_handle_signed_transaction_last_ledger_api_message_is_none( method test_handle_signed_transaction_last_ledger_api_message_is_not_none (line 812) | def test_handle_signed_transaction_last_ledger_api_message_is_not_none( method test_handle_error (line 865) | def test_handle_error(self): method test_handle_invalid (line 931) | def test_handle_invalid(self): method test_teardown (line 956) | def test_teardown(self): class TestLedgerApiHandler (line 962) | class TestLedgerApiHandler(BaseSkillTestCase): method setup (line 969) | def setup(cls): method test_setup (line 1067) | def test_setup(self): method test_handle_unidentified_dialogue (line 1072) | def test_handle_unidentified_dialogue(self): method test_handle_balance_positive_balance (line 1094) | def test_handle_balance_positive_balance(self): method test_handle_balance_zero_balance (line 1133) | def test_handle_balance_zero_balance(self): method test_handle_raw_transaction (line 1171) | def test_handle_raw_transaction(self): method test_handle_transaction_digest (line 1229) | def test_handle_transaction_digest(self): method test_handle_transaction_receipt_i (line 1275) | def test_handle_transaction_receipt_i(self): method test_handle_transaction_receipt_ii (line 1331) | def test_handle_transaction_receipt_ii(self): method test_handle_transaction_receipt_iii (line 1378) | def test_handle_transaction_receipt_iii(self): method test_handle_error (line 1426) | def test_handle_error(self): method test_handle_invalid (line 1455) | def test_handle_invalid(self): method test_teardown (line 1478) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_ml_train/test_strategy.py class TestStrategy (line 51) | class TestStrategy(BaseSkillTestCase): method setup (line 57) | def setup(cls): method test_properties (line 86) | def test_properties(self): method test_get_next_transaction_id (line 112) | def test_get_next_transaction_id(self): method test_get_location_and_service_query (line 117) | def test_get_location_and_service_query(self): method test_get_service_query (line 142) | def test_get_service_query(self): method test_is_acceptable_proposal (line 160) | def test_is_acceptable_proposal(self): method test_is_affordable_proposal (line 194) | def test_is_affordable_proposal(self): method test_terms_from_proposal (line 222) | def test_terms_from_proposal(self): method test_decode_sample_data_i (line 251) | def test_decode_sample_data_i(self): method test_decode_sample_data_ii (line 270) | def test_decode_sample_data_ii(self): FILE: tests/test_packages/test_skills/test_ml_train/test_task.py class TestTask (line 34) | class TestTask(BaseSkillTestCase): method setup (line 40) | def setup(cls): method produce_data (line 56) | def produce_data(batch_size) -> Tuple: method test_setup (line 72) | def test_setup(self): method test_make_model_i (line 81) | def test_make_model_i(self): method test_make_model_ii (line 94) | def test_make_model_ii(self): method test_execute (line 110) | def test_execute(self): method test_teardown (line 146) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_registration_aw1/intermediate_class.py class RegiatrationAW1TestCase (line 42) | class RegiatrationAW1TestCase(BaseSkillTestCase): method setup (line 48) | def setup(cls): FILE: tests/test_packages/test_skills/test_registration_aw1/test_behaviours.py class TestAW1Registration (line 36) | class TestAW1Registration(RegiatrationAW1TestCase): method setup (line 42) | def setup(cls): method test_setup_i (line 46) | def test_setup_i(self): method test_setup_ii (line 83) | def test_setup_ii(self): method test_act_i (line 98) | def test_act_i(self): method test_act_ii (line 109) | def test_act_ii(self): method test_act_iii (line 120) | def test_act_iii(self): method test_act_iv (line 135) | def test_act_iv(self): method test_act_v (line 151) | def test_act_v(self): method test_act_vi (line 188) | def test_act_vi(self): method test_teardown (line 213) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_registration_aw1/test_dialogues.py class TestDialogues (line 39) | class TestDialogues(RegiatrationAW1TestCase): method setup (line 45) | def setup(cls): method test_register_dialogues (line 49) | def test_register_dialogues(self): method test_signing_dialogues (line 59) | def test_signing_dialogues(self): FILE: tests/test_packages/test_skills/test_registration_aw1/test_handlers.py class TestAW1RegistrationHandler (line 42) | class TestAW1RegistrationHandler(RegiatrationAW1TestCase): method setup (line 48) | def setup(cls): method test_setup (line 65) | def test_setup(self): method test_handle_unidentified_dialogue (line 70) | def test_handle_unidentified_dialogue(self): method test_handle_success_i (line 91) | def test_handle_success_i(self): method test_handle_success_ii (line 133) | def test_handle_success_ii(self): method test_handle_error (line 178) | def test_handle_error(self): method test_handle_invalid (line 219) | def test_handle_invalid(self): method test_teardown (line 245) | def test_teardown(self): class TestSigningHandler (line 251) | class TestSigningHandler(RegiatrationAW1TestCase): method setup (line 258) | def setup(cls): method test_setup (line 285) | def test_setup(self): method test_handle_unidentified_dialogue (line 290) | def test_handle_unidentified_dialogue(self): method test_handle_signed_message (line 312) | def test_handle_signed_message(self): method test_handle_error (line 355) | def test_handle_error(self): method test_handle_invalid (line 383) | def test_handle_invalid(self): method test_teardown (line 408) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_registration_aw1/test_strategy.py class TestStrategy (line 34) | class TestStrategy(RegiatrationAW1TestCase): method setup (line 40) | def setup(cls): method test__init__i (line 44) | def test__init__i(self): method test__init__ii (line 80) | def test__init__ii(self): method test_properties (line 113) | def test_properties(self): FILE: tests/test_packages/test_skills/test_simple_aggregation/test_behaviours.py class TestAggregationBehaviour (line 55) | class TestAggregationBehaviour(BaseSkillTestCase): method setup (line 63) | def setup(cls, **kwargs): method test_act (line 78) | def test_act(self): class TestSearchBehaviour (line 131) | class TestSearchBehaviour(BaseSkillTestCase): method setup (line 139) | def setup(cls, **kwargs): method test_setup (line 165) | def test_setup(self): method test_act_i (line 188) | def test_act_i(self): method test_act_ii (line 206) | def test_act_ii(self): method test_act_iii (line 246) | def test_act_iii(self): method test_register_service (line 271) | def test_register_service(self): method test_register_genus (line 299) | def test_register_genus(self): method test_register_classification (line 327) | def test_register_classification(self): method test_teardown (line 355) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_simple_aggregation/test_handlers.py class TestAggregationHandler (line 52) | class TestAggregationHandler(BaseSkillTestCase): method setup (line 61) | def setup(cls, **kwargs): method test_setup (line 78) | def test_setup(self): method test_handle_observation (line 83) | def test_handle_observation(self): method test_handle_aggregation (line 138) | def test_handle_aggregation(self): method test_handle_unidentified_dialogue (line 163) | def test_handle_unidentified_dialogue(self): method test_teardown (line 184) | def test_teardown(self): class TestOefSearchHandler (line 190) | class TestOefSearchHandler(BaseSkillTestCase): method setup (line 199) | def setup(cls): method test_setup (line 311) | def test_setup(self): method test_handle_unidentified_dialogue (line 316) | def test_handle_unidentified_dialogue(self): method test_handle_success_i (line 337) | def test_handle_success_i(self): method test_handle_success_ii (line 365) | def test_handle_success_ii(self): method test_handle_success_iii (line 393) | def test_handle_success_iii(self): method test_handle_success_iv (line 421) | def test_handle_success_iv(self): method test_handle_success_v (line 448) | def test_handle_success_v(self): method test_handle_error_i (line 475) | def test_handle_error_i(self): method test_handle_error_ii (line 504) | def test_handle_error_ii(self): method test_handle_search_no_agents (line 531) | def test_handle_search_no_agents(self): method test_handle_search_found_agents (line 555) | def test_handle_search_found_agents(self): method test_handle_invalid (line 583) | def test_handle_invalid(self): method test_teardown (line 604) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_simple_aggregation/test_strategy.py class TestAggregationStrategy (line 37) | class TestAggregationStrategy(BaseSkillTestCase): method setup (line 45) | def setup(cls): method test_get_register_service_description (line 50) | def test_get_register_service_description(self): method test_get_register_personality_description (line 59) | def test_get_register_personality_description(self): method test_get_register_classification_description (line 68) | def test_get_register_classification_description(self): method test_get_unregister_service_description (line 77) | def test_get_unregister_service_description(self): FILE: tests/test_packages/test_skills/test_simple_data_request/intermediate_class.py class SimpleDataRequestTestCase (line 27) | class SimpleDataRequestTestCase(BaseSkillTestCase): method setup (line 35) | def setup(cls): FILE: tests/test_packages/test_skills/test_simple_data_request/test_behaviours.py class TestHttpRequestBehaviour (line 37) | class TestHttpRequestBehaviour(SimpleDataRequestTestCase): method setup (line 43) | def setup(cls): method test__init__i (line 50) | def test__init__i(self): method test__init__ii (line 56) | def test__init__ii(self): method test_setup (line 63) | def test_setup(self): method test_act_i (line 68) | def test_act_i(self): method test_act_ii (line 92) | def test_act_ii(self): method test_act_iii (line 105) | def test_act_iii(self): method test_teardown (line 131) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_simple_data_request/test_dialogues.py class TestDialogues (line 36) | class TestDialogues(SimpleDataRequestTestCase): method setup (line 40) | def setup(cls): method test_http_dialogues (line 47) | def test_http_dialogues(self): FILE: tests/test_packages/test_skills/test_simple_data_request/test_handlers.py class TestHttpHandler (line 38) | class TestHttpHandler(SimpleDataRequestTestCase): method setup (line 44) | def setup(cls): method test__init__ (line 69) | def test__init__(self): method test_setup (line 74) | def test_setup(self): method test_handle_unidentified_dialogue (line 79) | def test_handle_unidentified_dialogue(self): method test_handle_response (line 104) | def test_handle_response(self): method test_handle_invalid (line 143) | def test_handle_invalid(self): method test_teardown (line 166) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_simple_oracle/test_behaviours.py class TestSkillBehaviour (line 45) | class TestSkillBehaviour(BaseSkillTestCase): method setup (line 51) | def setup(cls, **kwargs): method test_setup (line 59) | def test_setup(self): method test_setup_with_contract_set (line 99) | def test_setup_with_contract_set(self): method test_setup_with_contract_set_and_oracle_role_granted (line 120) | def test_setup_with_contract_set_and_oracle_role_granted(self): method test_act_pre_deploy (line 145) | def test_act_pre_deploy(self): method test_act_grant_role (line 171) | def test_act_grant_role(self): method test_act_update (line 209) | def test_act_update(self): method test_act_no_oracle_value (line 252) | def test_act_no_oracle_value(self): method test__request_contract_deploy_transaction (line 280) | def test__request_contract_deploy_transaction(self): method test__request_contract_store_transaction (line 303) | def test__request_contract_store_transaction(self): method test__request_grant_role_transaction (line 326) | def test__request_grant_role_transaction(self): method test__request_update_transaction (line 346) | def test__request_update_transaction(self): method test__get_balance (line 367) | def test__get_balance(self): method test_add_prometheus_metric (line 393) | def test_add_prometheus_metric(self): method test_update_prometheus_metric (line 412) | def test_update_prometheus_metric(self): method test_teardown (line 431) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_simple_oracle/test_handlers.py class TestLedgerApiHandler (line 98) | class TestLedgerApiHandler(BaseSkillTestCase): method setup (line 105) | def setup(cls, **kwargs): method test_setup (line 187) | def test_setup(self): method test_handle__handle_unidentified_dialogue (line 192) | def test_handle__handle_unidentified_dialogue(self): method test__handle_balance (line 216) | def test__handle_balance(self): method test__handle_transaction_digest (line 242) | def test__handle_transaction_digest(self): method test__handle_transaction_receipt_failed (line 268) | def test__handle_transaction_receipt_failed(self): method test__handle_transaction_receipt_deploy (line 297) | def test__handle_transaction_receipt_deploy(self): method test__handle_transaction_receipt_store (line 344) | def test__handle_transaction_receipt_store(self): method test__handle_transaction_receipt_init (line 408) | def test__handle_transaction_receipt_init(self): method test__handle_transaction_receipt_grant_role (line 464) | def test__handle_transaction_receipt_grant_role(self): method test__handle_transaction_receipt_update (line 516) | def test__handle_transaction_receipt_update(self): method test__handle_error (line 576) | def test__handle_error(self): method test__handle_invalid (line 600) | def test__handle_invalid(self): method test_teardown (line 625) | def test_teardown(self): class TestContractApiHandler (line 631) | class TestContractApiHandler(BaseSkillTestCase): method setup (line 638) | def setup(cls): method test_setup (line 680) | def test_setup(self): method test_handle_unidentified_dialogue (line 685) | def test_handle_unidentified_dialogue(self): method test_handle_raw_transaction (line 706) | def test_handle_raw_transaction(self): method test_handle_error (line 739) | def test_handle_error(self): method test_handle_invalid (line 769) | def test_handle_invalid(self): method test_teardown (line 793) | def test_teardown(self): class TestSigningHandler (line 799) | class TestSigningHandler(BaseSkillTestCase): method setup (line 806) | def setup(cls): method test_setup (line 840) | def test_setup(self): method test_handle_unidentified_dialogue (line 845) | def test_handle_unidentified_dialogue(self): method test_handle_signed_transaction (line 867) | def test_handle_signed_transaction( method test_handle_error (line 920) | def test_handle_error(self): method test_handle_invalid (line 948) | def test_handle_invalid(self): method test_teardown (line 973) | def test_teardown(self): class TestPrometheusHandler (line 979) | class TestPrometheusHandler(BaseSkillTestCase): method setup (line 986) | def setup(cls, **kwargs): method test_setup (line 1012) | def test_setup(self): method test_handle_response (line 1017) | def test_handle_response(self): method test_handle_unidentified_dialogue (line 1040) | def test_handle_unidentified_dialogue(self): method test_teardown (line 1060) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_simple_oracle_client/test_behaviours.py class TestSkillBehaviour (line 46) | class TestSkillBehaviour(BaseSkillTestCase): method setup (line 54) | def setup(cls, **kwargs): method test_setup (line 62) | def test_setup(self): method test_setup_with_contract_set (line 84) | def test_setup_with_contract_set(self): method test_act_pre_deploy (line 104) | def test_act_pre_deploy(self): method test_act_approve_transactions (line 117) | def test_act_approve_transactions(self): method test_act_query (line 141) | def test_act_query(self): method test__request_contract_deploy_transaction (line 167) | def test__request_contract_deploy_transaction(self): method test__request_contract_store_transaction (line 190) | def test__request_contract_store_transaction(self): method test_teardown (line 213) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_simple_oracle_client/test_handlers.py class TestLedgerApiHandler (line 98) | class TestLedgerApiHandler(BaseSkillTestCase): method setup (line 107) | def setup(cls, **kwargs): method test_setup (line 189) | def test_setup(self): method test_handle__handle_unidentified_dialogue (line 194) | def test_handle__handle_unidentified_dialogue(self): method test__handle_balance (line 218) | def test__handle_balance(self): method test__handle_transaction_digest (line 244) | def test__handle_transaction_digest(self): method test__handle_transaction_receipt_failed (line 270) | def test__handle_transaction_receipt_failed(self): method test__handle_transaction_receipt_deploy (line 299) | def test__handle_transaction_receipt_deploy(self): method test__handle_transaction_receipt_store (line 351) | def test__handle_transaction_receipt_store(self): method test__handle_transaction_receipt_init (line 417) | def test__handle_transaction_receipt_init(self): method test__handle_transaction_receipt_approve (line 468) | def test__handle_transaction_receipt_approve(self): method test__handle_transaction_receipt_query (line 520) | def test__handle_transaction_receipt_query(self): method test__handle_error (line 569) | def test__handle_error(self): method test__handle_invalid (line 593) | def test__handle_invalid(self): method test_teardown (line 618) | def test_teardown(self): class TestContractApiHandler (line 624) | class TestContractApiHandler(BaseSkillTestCase): method setup (line 633) | def setup(cls): method test_setup (line 675) | def test_setup(self): method test_handle_unidentified_dialogue (line 680) | def test_handle_unidentified_dialogue(self): method test_handle_raw_transaction (line 701) | def test_handle_raw_transaction(self): method test_handle_error (line 734) | def test_handle_error(self): method test_handle_invalid (line 764) | def test_handle_invalid(self): method test_teardown (line 788) | def test_teardown(self): class TestSigningHandler (line 794) | class TestSigningHandler(BaseSkillTestCase): method setup (line 803) | def setup(cls): method test_setup (line 837) | def test_setup(self): method test_handle_unidentified_dialogue (line 842) | def test_handle_unidentified_dialogue(self): method test_handle_signed_transaction (line 864) | def test_handle_signed_transaction( method test_handle_error (line 917) | def test_handle_error(self): method test_handle_invalid (line 945) | def test_handle_invalid(self): method test_teardown (line 970) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_simple_seller/test_strategy.py class TestStrategy (line 35) | class TestStrategy(BaseSkillTestCase): method setup (line 41) | def setup(cls): method test__init__ (line 62) | def test__init__(self): method test_collect_from_data_source_i (line 67) | def test_collect_from_data_source_i(self): method test_collect_from_data_source_ii (line 79) | def test_collect_from_data_source_ii(self): method test_format_data_exception (line 93) | def test_format_data_exception(self): FILE: tests/test_packages/test_skills/test_simple_service_registration/test_behaviours.py class TestServiceRegistrationBehaviour (line 38) | class TestServiceRegistrationBehaviour(BaseSkillTestCase): method setup (line 47) | def setup(cls): method test_setup (line 69) | def test_setup(self): method test_act_i (line 101) | def test_act_i(self): method test_act_ii (line 112) | def test_act_ii(self): method test_act_iii (line 139) | def test_act_iii(self): method test_register_service (line 153) | def test_register_service(self): method test_register_genus (line 181) | def test_register_genus(self): method test_register_classification (line 209) | def test_register_classification(self): method test_teardown (line 237) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_simple_service_registration/test_dialogues.py class TestDialogues (line 36) | class TestDialogues(BaseSkillTestCase): method setup (line 44) | def setup(cls): method test_oef_search_dialogues (line 52) | def test_oef_search_dialogues(self): FILE: tests/test_packages/test_skills/test_simple_service_registration/test_handlers.py class TestOefSearchHandler (line 44) | class TestOefSearchHandler(BaseSkillTestCase): method setup (line 53) | def setup(cls): method test_setup (line 158) | def test_setup(self): method test_handle_unidentified_dialogue (line 163) | def test_handle_unidentified_dialogue(self): method test_handle_success_i (line 184) | def test_handle_success_i(self): method test_handle_success_ii (line 212) | def test_handle_success_ii(self): method test_handle_success_iii (line 240) | def test_handle_success_iii(self): method test_handle_success_iv (line 268) | def test_handle_success_iv(self): method test_handle_success_v (line 295) | def test_handle_success_v(self): method test_handle_error_i (line 322) | def test_handle_error_i(self): method test_handle_error_ii (line 351) | def test_handle_error_ii(self): method test_handle_invalid (line 378) | def test_handle_invalid(self): method test_teardown (line 397) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_simple_service_registration/test_strategy.py class TestStrategy (line 40) | class TestStrategy(BaseSkillTestCase): method setup (line 48) | def setup(cls): method test__init__ (line 61) | def test__init__(self): method test__init__exception (line 65) | def test__init__exception(self): method test_get_location_description (line 100) | def test_get_location_description(self): method test_get_register_service_description (line 110) | def test_get_register_service_description(self): method test_get_register_personality_description (line 119) | def test_get_register_personality_description(self): method test_get_register_classification_description (line 128) | def test_get_register_classification_description(self): method test_get_unregister_service_description (line 137) | def test_get_unregister_service_description(self): FILE: tests/test_packages/test_skills/test_simple_service_search/test_behaviours.py class TestServiceSearchBehaviour (line 44) | class TestServiceSearchBehaviour(BaseSkillTestCase): method setup (line 53) | def setup(cls): method test_setup (line 74) | def test_setup(self): method test_act (line 79) | def test_act(self): method test_teardown (line 103) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_simple_service_search/test_dialogues.py class TestDialogues (line 36) | class TestDialogues(BaseSkillTestCase): method setup (line 44) | def setup(cls): method test_oef_search_dialogues (line 52) | def test_oef_search_dialogues(self): FILE: tests/test_packages/test_skills/test_simple_service_search/test_handlers.py class TestOefSearchHandler (line 45) | class TestOefSearchHandler(BaseSkillTestCase): method setup (line 54) | def setup(cls): method test_setup (line 87) | def test_setup(self): method test_handle_unidentified_dialogue (line 92) | def test_handle_unidentified_dialogue(self): method test_handle_error (line 113) | def test_handle_error(self): method test_handle_search_i (line 136) | def test_handle_search_i(self): method test_handle_search_ii (line 170) | def test_handle_search_ii(self): method test_handle_invalid (line 200) | def test_handle_invalid(self): method test_teardown (line 219) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_simple_service_search/test_strategy.py class TestStrategy (line 31) | class TestStrategy(BaseSkillTestCase): method setup (line 39) | def setup(cls): method test_simple_properties (line 69) | def test_simple_properties(self): method test_get_query (line 73) | def test_get_query(self): FILE: tests/test_packages/test_skills/test_tac_control/test_behaviours.py class TestSkillBehaviour (line 44) | class TestSkillBehaviour(BaseSkillTestCase): method setup (line 50) | def setup(cls): method test_init (line 81) | def test_init(self): method test_setup (line 85) | def test_setup(self): method _time (line 111) | def _time(time: str): method test_act_i (line 115) | def test_act_i(self): method test_act_ii (line 159) | def test_act_ii(self): method test_cancel_tac_not_1_dialogue (line 229) | def test_cancel_tac_not_1_dialogue(self): method test_cancel_tac_empty_dialogue (line 256) | def test_cancel_tac_empty_dialogue(self): method _assert_tac_message_and_logging_output (line 295) | def _assert_tac_message_and_logging_output( method test_act_iii (line 314) | def test_act_iii(self): method test_register_genus (line 418) | def test_register_genus(self): method test_register_classification (line 446) | def test_register_classification(self): method test_start_tac_not_1_dialogue (line 474) | def test_start_tac_not_1_dialogue(self): method test_start_tac_empty_dialogue (line 500) | def test_start_tac_empty_dialogue(self): method test_act_iv (line 540) | def test_act_iv(self): method test_act_v (line 639) | def test_act_v(self): method test_act_vi (line 667) | def test_act_vi(self): method test_teardown (line 680) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_tac_control/test_dialogues.py class TestTacDialogues (line 41) | class TestTacDialogues(BaseSkillTestCase): method setup (line 47) | def setup(cls): method test_default_dialogues (line 58) | def test_default_dialogues(self): method test_oef_search_dialogues (line 68) | def test_oef_search_dialogues(self): method test_tac_dialogues (line 78) | def test_tac_dialogues(self): FILE: tests/test_packages/test_skills/test_tac_control/test_game.py class TestConfiguration (line 58) | class TestConfiguration: method setup (line 62) | def setup(cls): method test_simple_properties (line 81) | def test_simple_properties(self): method test_check_consistency_succeeds (line 106) | def test_check_consistency_succeeds(self): method test_check_consistency_fails_i (line 110) | def test_check_consistency_fails_i(self): method test_check_consistency_fails_ii (line 116) | def test_check_consistency_fails_ii(self): method test_check_consistency_fails_iii (line 122) | def test_check_consistency_fails_iii(self): method test_check_consistency_fails_iv (line 128) | def test_check_consistency_fails_iv(self): method test_check_consistency_fails_v (line 134) | def test_check_consistency_fails_v(self): method test_check_consistency_fails_vi (line 140) | def test_check_consistency_fails_vi(self): class TestInitialization (line 150) | class TestInitialization: method setup (line 154) | def setup(cls): method test_simple_properties (line 192) | def test_simple_properties(self): method test_check_consistency_succeeds (line 220) | def test_check_consistency_succeeds(self): method test_check_consistency_fails_i (line 224) | def test_check_consistency_fails_i(self): method test_check_consistency_fails_ii (line 235) | def test_check_consistency_fails_ii(self): method test_check_consistency_fails_iii (line 246) | def test_check_consistency_fails_iii(self): method test_check_consistency_fails_iv (line 257) | def test_check_consistency_fails_iv(self): method test_check_consistency_fails_v (line 268) | def test_check_consistency_fails_v(self): method test_check_consistency_fails_vi (line 278) | def test_check_consistency_fails_vi(self): method test_check_consistency_fails_vii (line 286) | def test_check_consistency_fails_vii(self): method test_check_consistency_fails_viii (line 295) | def test_check_consistency_fails_viii(self): method test_check_consistency_fails_ix (line 306) | def test_check_consistency_fails_ix(self): method test_check_consistency_fails_x (line 318) | def test_check_consistency_fails_x(self): class TestTransaction (line 331) | class TestTransaction: method setup (line 335) | def setup(cls): method test_simple_properties (line 361) | def test_simple_properties(self): method test_has_matching_signatures_succeeds (line 366) | def test_has_matching_signatures_succeeds(self): method test_has_matching_signatures_fails_sender_not_in_hash (line 375) | def test_has_matching_signatures_fails_sender_not_in_hash(self): method test_has_matching_signatures_fails_counterparty_not_in_hash (line 382) | def test_has_matching_signatures_fails_counterparty_not_in_hash(self): method test_has_matching_signatures_fails_sender_and_counterparty_not_in_hash (line 389) | def test_has_matching_signatures_fails_sender_and_counterparty_not_in_... method test_from_message (line 394) | def test_from_message(self): method test__eq__ (line 444) | def test__eq__(self): class TestAgentState (line 475) | class TestAgentState: method setup (line 479) | def setup(cls): method test_simple_properties (line 533) | def test_simple_properties(self): method test_get_score (line 546) | def test_get_score(self): method test_is_consistent_transaction_succeeds (line 554) | def test_is_consistent_transaction_succeeds(self): method test_is_consistent_transaction_fails_i (line 558) | def test_is_consistent_transaction_fails_i(self): method test_is_consistent_transaction_fails_ii (line 563) | def test_is_consistent_transaction_fails_ii(self): method test_is_consistent_transaction_fails_iii (line 568) | def test_is_consistent_transaction_fails_iii(self): method test_is_consistent_transaction_fails_iv (line 574) | def test_is_consistent_transaction_fails_iv(self): method test_is_consistent_transaction_succeeds_iv (line 580) | def test_is_consistent_transaction_succeeds_iv(self): method test_is_consistent_transaction_fails_v (line 586) | def test_is_consistent_transaction_fails_v(self): method test_is_consistent_transaction_succeeds_v (line 595) | def test_is_consistent_transaction_succeeds_v(self): method test_is_consistent_transaction_fails_vi (line 604) | def test_is_consistent_transaction_fails_vi(self): method test_is_consistent_transaction_succeeds_vi (line 610) | def test_is_consistent_transaction_succeeds_vi(self): method test_is_consistent_transaction_fails_vii (line 616) | def test_is_consistent_transaction_fails_vii(self): method test_is_consistent_transaction_succeeds_vii (line 625) | def test_is_consistent_transaction_succeeds_vii(self): method test_is_consistent_transaction_fails_viii (line 634) | def test_is_consistent_transaction_fails_viii(self): method test_apply (line 640) | def test_apply(self): method test_update_sender_i (line 648) | def test_update_sender_i(self): method test_update_sender_ii (line 654) | def test_update_sender_ii(self): method test_update_counterparty_i (line 660) | def test_update_counterparty_i(self): method test_update_counterparty_ii (line 673) | def test_update_counterparty_ii(self): method test__copy__ (line 686) | def test__copy__(self): method test__str__ (line 691) | def test__str__(self): method test__eq__ (line 706) | def test__eq__(self): class TestTransactions (line 719) | class TestTransactions: method setup (line 723) | def setup(cls): method test_simple_properties (line 727) | def test_simple_properties(self): method test_add (line 732) | def test_add(self): class TestRegistration (line 776) | class TestRegistration: method setup (line 780) | def setup(cls): method test_simple_properties (line 784) | def test_simple_properties(self): method test_register_agent (line 789) | def test_register_agent(self): method test_unregister_agent (line 799) | def test_unregister_agent(self): class TestGame (line 813) | class TestGame(BaseSkillTestCase): method setup (line 819) | def setup(cls): method test_simple_properties (line 853) | def test_simple_properties(self): method test_create_succeeds (line 920) | def test_create_succeeds(self): method test_create_fails (line 929) | def test_create_fails(self): method test_get_next_agent_state_for_minting (line 938) | def test_get_next_agent_state_for_minting(self): method test_create_generate (line 957) | def test_create_generate(self): method test_holdings_summary (line 981) | def test_holdings_summary(self): method test_equilibrium_summary (line 1033) | def test_equilibrium_summary(self): method test_is_transaction_valid_succeeds (line 1085) | def test_is_transaction_valid_succeeds(self): method test_is_transaction_valid_fails_not_matching_signatures (line 1131) | def test_is_transaction_valid_fails_not_matching_signatures(self): method test_is_transaction_valid_fails_tx_inconsistent (line 1177) | def test_is_transaction_valid_fails_tx_inconsistent(self): method test_settle_transaction_succeeds (line 1223) | def test_settle_transaction_succeeds(self): method test_settle_transaction_fails_current_agent_states_is_none (line 1292) | def test_settle_transaction_fails_current_agent_states_is_none(self): method test_settle_transaction_fails_tx_invalid (line 1317) | def test_settle_transaction_fails_tx_invalid(self): method test_get_location_description (line 1342) | def test_get_location_description(self): method test_get_register_tac_description (line 1352) | def test_get_register_tac_description(self): method test_get_register_personality_description (line 1361) | def test_get_register_personality_description(self): method test_get_register_classification_description (line 1370) | def test_get_register_classification_description(self): method test_get_unregister_tac_description (line 1379) | def test_get_unregister_tac_description(self): FILE: tests/test_packages/test_skills/test_tac_control/test_handlers.py class TestTacHandler (line 52) | class TestTacHandler(BaseSkillTestCase): method setup (line 58) | def setup(cls): method test_setup (line 87) | def test_setup(self): method test_handle_unidentified_dialogue (line 92) | def test_handle_unidentified_dialogue(self): method test_on_register_not_pre_reg_phase (line 124) | def test_on_register_not_pre_reg_phase(self): method test_on_register_agent_not_in_whitelist (line 146) | def test_on_register_agent_not_in_whitelist(self): method test_on_register_agent_address_already_exists (line 179) | def test_on_register_agent_address_already_exists(self): method test_on_register_agent_name_already_exists (line 214) | def test_on_register_agent_name_already_exists(self): method test_on_register (line 248) | def test_on_register(self): method test_on_unregister_not_pre_reg_phase (line 274) | def test_on_unregister_not_pre_reg_phase(self): method test_on_unregister_agent_address_not_registered (line 297) | def test_on_unregister_agent_address_not_registered(self): method test_on_unregister (line 330) | def test_on_unregister(self): method test_on_transaction (line 367) | def test_on_transaction(self): method test_on_transaction_valid (line 399) | def test_on_transaction_valid(self): method test_handle_valid_transaction_recovered_tac_dialogue_not_1 (line 514) | def test_handle_valid_transaction_recovered_tac_dialogue_not_1(self): method test_handle_valid_transaction_no_last_message (line 604) | def test_handle_valid_transaction_no_last_message(self): method test_on_transaction_invalid (line 699) | def test_on_transaction_invalid(self): method test_handle_invalid (line 776) | def test_handle_invalid(self): method test_teardown (line 798) | def test_teardown(self): class TestOefSearchHandler (line 804) | class TestOefSearchHandler(BaseSkillTestCase): method setup (line 811) | def setup(cls): method test_setup (line 917) | def test_setup(self): method test_handle_unidentified_dialogue (line 922) | def test_handle_unidentified_dialogue(self): method test_handle_success_i (line 942) | def test_handle_success_i(self): method test_handle_success_ii (line 974) | def test_handle_success_ii(self): method test_handle_success_iii (line 1006) | def test_handle_success_iii(self): method test_handle_success_v (line 1037) | def test_handle_success_v(self): method test_handle_error_i (line 1068) | def test_handle_error_i(self): method test_handle_error_ii (line 1097) | def test_handle_error_ii(self): method test_handle_invalid (line 1124) | def test_handle_invalid(self): method test_teardown (line 1145) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_tac_control/test_helpers.py class TestHelpers (line 47) | class TestHelpers(BaseSkillTestCase): method setup (line 53) | def setup(cls): method test_generate_good_ids_succeeds (line 57) | def test_generate_good_ids_succeeds(self): method test_generate_good_ids_fails (line 66) | def test_generate_good_ids_fails(self): method test_generate_currency_ids_succeeds (line 78) | def test_generate_currency_ids_succeeds(self): method test_generate_currency_ids_fails (line 87) | def test_generate_currency_ids_fails(self): method test_generate_currency_id_to_name (line 99) | def test_generate_currency_id_to_name(self): method test_generate_currency_id_to_name_invalid_lengths (line 111) | def test_generate_currency_id_to_name_invalid_lengths(self): method test_generate_good_id_to_name (line 120) | def test_generate_good_id_to_name(self): method test_generate_good_id_to_name_invalid_lengths (line 132) | def test_generate_good_id_to_name_invalid_lengths(self): method test_determine_scaling_factor (line 140) | def test_determine_scaling_factor(self): method test_generate_good_endowments (line 146) | def test_generate_good_endowments(self): method test_generate_utility_params (line 156) | def test_generate_utility_params(self): method test_sample_good_instances (line 166) | def test_sample_good_instances(self): method test_generate_currency_endowments (line 172) | def test_generate_currency_endowments(self): method test_generate_exchange_params (line 185) | def test_generate_exchange_params(self): method test_generate_equilibrium_prices_and_holdings (line 198) | def test_generate_equilibrium_prices_and_holdings(self): FILE: tests/test_packages/test_skills/test_tac_control/test_parameters.py class TestParameters (line 37) | class TestParameters(BaseSkillTestCase): method setup (line 43) | def setup(cls): method _time (line 73) | def _time(date_time: str): method test_init_now_after_start (line 76) | def test_init_now_after_start(self): method test_init_now_before_start (line 93) | def test_init_now_before_start(self): method test_simple_properties (line 115) | def test_simple_properties(self): method test_init_inconsistent (line 157) | def test_init_inconsistent(self): FILE: tests/test_packages/test_skills/test_tac_control_contract/test_behaviours.py class TestSkillBehaviour (line 55) | class TestSkillBehaviour(BaseSkillTestCase): method setup (line 63) | def setup(cls): method test_setup (line 112) | def test_setup(self): method _time (line 163) | def _time(time: str): method _mock_time (line 168) | def _mock_time(time: str) -> Mock: method test_act_i (line 175) | def test_act_i(self): method test_act_ii (line 198) | def test_act_ii(self): method test_act_iii (line 236) | def test_act_iii(self): method test_act_iv (line 265) | def test_act_iv(self): method test_act_v (line 333) | def test_act_v(self): method test_request_mint_items_transaction_not_allowed_to_mint (line 402) | def test_request_mint_items_transaction_not_allowed_to_mint(self): method test_request_mint_items_transaction_agent_state_is_none (line 417) | def test_request_mint_items_transaction_agent_state_is_none(self): method test_act_vi (line 433) | def test_act_vi(self): method test_act_vii (line 502) | def test_act_vii(self): method test_act_viii (line 521) | def test_act_viii(self): FILE: tests/test_packages/test_skills/test_tac_control_contract/test_dialogues.py class TestTacDialogues (line 47) | class TestTacDialogues(BaseSkillTestCase): method setup (line 55) | def setup(cls): method test_contract_api_dialogue (line 68) | def test_contract_api_dialogue(self): method test_contract_api_dialogues (line 106) | def test_contract_api_dialogues(self): method test_ledger_api_dialogue (line 119) | def test_ledger_api_dialogue(self): method test_ledger_api_dialogues (line 150) | def test_ledger_api_dialogues(self): method test_signing_dialogue (line 161) | def test_signing_dialogue(self): method test_signing_dialogues (line 196) | def test_signing_dialogues(self): FILE: tests/test_packages/test_skills/test_tac_control_contract/test_handlers.py class TestContractApiHandler (line 67) | class TestContractApiHandler(BaseSkillTestCase): method setup (line 76) | def setup(cls): method test_setup (line 107) | def test_setup(self): method test_handle_unidentified_dialogue (line 112) | def test_handle_unidentified_dialogue(self): method test_handle_raw_transaction (line 133) | def test_handle_raw_transaction( method test_handle_error (line 194) | def test_handle_error(self): method test_handle_invalid (line 220) | def test_handle_invalid(self): method test_teardown (line 244) | def test_teardown(self): class TestSigningHandler (line 250) | class TestSigningHandler(BaseSkillTestCase): method setup (line 259) | def setup(cls): method test_setup (line 293) | def test_setup(self): method test_handle_unidentified_dialogue (line 298) | def test_handle_unidentified_dialogue(self): method test_handle_signed_transaction (line 320) | def test_handle_signed_transaction( method test_handle_error (line 373) | def test_handle_error(self): method test_handle_invalid (line 401) | def test_handle_invalid(self): method test_teardown (line 426) | def test_teardown(self): class TestLedgerApiHandler (line 432) | class TestLedgerApiHandler(BaseSkillTestCase): method setup (line 441) | def setup(cls): method _terms (line 569) | def _terms(terms_dict: Dict, label: str) -> Terms: method _transaction_receipt_builder (line 580) | def _transaction_receipt_builder(ledger_id: str, receipt) -> Transacti... method test_setup (line 593) | def test_setup(self): method test_handle_unidentified_dialogue (line 598) | def test_handle_unidentified_dialogue(self): method test_handle_balance (line 620) | def test_handle_balance(self): method test_handle_transaction_digest (line 657) | def test_handle_transaction_digest(self): method test_handle_transaction_receipt_failed (line 700) | def test_handle_transaction_receipt_failed(self): method test_handle_transaction_receipt_callable_get_deploy_transaction_label_store (line 749) | def test_handle_transaction_receipt_callable_get_deploy_transaction_la... method test_handle_transaction_receipt_callable_get_deploy_transaction_label_store_no_code_id (line 839) | def test_handle_transaction_receipt_callable_get_deploy_transaction_la... method test_handle_transaction_receipt_callable_get_deploy_transaction_label_init (line 899) | def test_handle_transaction_receipt_callable_get_deploy_transaction_la... method test_handle_transaction_receipt_callable_get_deploy_transaction_label_deploy (line 962) | def test_handle_transaction_receipt_callable_get_deploy_transaction_la... method test_handle_transaction_receipt_callable_get_create_batch_transaction (line 1025) | def test_handle_transaction_receipt_callable_get_create_batch_transact... method test_handle_transaction_receipt_callable_get_mint_batch_transaction_i (line 1077) | def test_handle_transaction_receipt_callable_get_mint_batch_transactio... method test_handle_transaction_receipt_callable_get_mint_batch_transaction_ii (line 1136) | def test_handle_transaction_receipt_callable_get_mint_batch_transactio... method test_handle_transaction_receipt_incorrect_callable (line 1193) | def test_handle_transaction_receipt_incorrect_callable(self): method test_handle_error (line 1241) | def test_handle_error(self): method test_handle_invalid (line 1267) | def test_handle_invalid(self): method test_teardown (line 1290) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_tac_control_contract/test_helpers.py class TestHelpers (line 47) | class TestHelpers(BaseSkillTestCase): method setup (line 53) | def setup(cls): method test_generate_good_ids_succeeds (line 57) | def test_generate_good_ids_succeeds(self): method test_generate_good_ids_fails (line 66) | def test_generate_good_ids_fails(self): method test_generate_currency_ids_succeeds (line 78) | def test_generate_currency_ids_succeeds(self): method test_generate_currency_ids_fails (line 87) | def test_generate_currency_ids_fails(self): method test_generate_currency_id_to_name (line 99) | def test_generate_currency_id_to_name(self): method test_generate_good_id_to_name (line 111) | def test_generate_good_id_to_name(self): method test_determine_scaling_factor (line 123) | def test_determine_scaling_factor(self): method test_generate_good_endowments (line 129) | def test_generate_good_endowments(self): method test_generate_utility_params (line 139) | def test_generate_utility_params(self): method test_sample_good_instances (line 149) | def test_sample_good_instances(self): method test_generate_currency_endowments (line 155) | def test_generate_currency_endowments(self): method test_generate_exchange_params (line 168) | def test_generate_exchange_params(self): method test_generate_equilibrium_prices_and_holdings (line 181) | def test_generate_equilibrium_prices_and_holdings(self): FILE: tests/test_packages/test_skills/test_tac_control_contract/test_parameters.py class TestParameters (line 34) | class TestParameters(BaseSkillTestCase): method setup (line 42) | def setup(cls): method test__init__ (line 71) | def test__init__(self): method test_get_deploy_terms (line 75) | def test_get_deploy_terms(self): method test_get_create_token_terms (line 110) | def test_get_create_token_terms(self): method test_get_mint_token_terms (line 121) | def test_get_mint_token_terms(self): FILE: tests/test_packages/test_skills/test_tac_negotiation/test_behaviours.py class TestSkillBehaviour (line 45) | class TestSkillBehaviour(BaseSkillTestCase): method setup (line 51) | def setup(cls): method test_init (line 88) | def test_init(self): method test_setup (line 94) | def test_setup(self): method test_act_i (line 99) | def test_act_i(self): method test_act_ii (line 113) | def test_act_ii(self): method test_act_iii (line 127) | def test_act_iii(self): method test_act_iv (line 147) | def test_act_iv(self): method test_act_v (line 227) | def test_act_v(self): method test_act_vi (line 324) | def test_act_vi(self): method test_act_vii (line 407) | def test_act_vii(self): method test_register_service (line 463) | def test_register_service(self): method test_register_genus (line 492) | def test_register_genus(self): method test_register_classification (line 520) | def test_register_classification(self): method test_teardown_i (line 548) | def test_teardown_i(self): method test_teardown_ii (line 600) | def test_teardown_ii(self): class TestTransactionCleanUpBehaviour (line 612) | class TestTransactionCleanUpBehaviour(BaseSkillTestCase): method setup (line 618) | def setup(cls): method test_setup (line 626) | def test_setup(self): method test_act (line 631) | def test_act(self): method test_teardown (line 647) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_tac_negotiation/test_dialogues.py class TestDialogues (line 68) | class TestDialogues(BaseSkillTestCase): method setup (line 74) | def setup(cls): method test_fipa_dialogue (line 110) | def test_fipa_dialogue(self): method test_fipa_dialogues (line 157) | def test_fipa_dialogues(self): method test_contract_api_dialogue (line 167) | def test_contract_api_dialogue(self): method test_contract_api_dialogues (line 199) | def test_contract_api_dialogues(self): method test_cosm_trade_dialogues (line 212) | def test_cosm_trade_dialogues(self): method test_default_dialogues (line 222) | def test_default_dialogues(self): method test_ledger_api_dialogue (line 232) | def test_ledger_api_dialogue(self): method test_ledger_api_dialogues (line 263) | def test_ledger_api_dialogues(self): method test_oef_search_dialogue (line 274) | def test_oef_search_dialogue(self): method test_oef_search_dialogues (line 294) | def test_oef_search_dialogues(self): method test_signing_dialogue (line 304) | def test_signing_dialogue(self): method test_signing_dialogues (line 352) | def test_signing_dialogues(self): FILE: tests/test_packages/test_skills/test_tac_negotiation/test_handlers.py class TestFipaHandler (line 94) | class TestFipaHandler(BaseSkillTestCase): method setup (line 100) | def setup(cls): method test_setup (line 195) | def test_setup(self): method test_handle_unidentified_dialogue (line 200) | def test_handle_unidentified_dialogue(self): method _assert_stat_state (line 233) | def _assert_stat_state( method test_handle_cfp_i (line 283) | def test_handle_cfp_i(self): method test_handle_cfp_ii (line 327) | def test_handle_cfp_ii(self): method test_handle_propose_i (line 375) | def test_handle_propose_i(self): method test_handle_propose_ii (line 426) | def test_handle_propose_ii(self): method test_handle_decline_decline_cfp (line 477) | def test_handle_decline_decline_cfp(self): method test_handle_decline_decline_propose (line 506) | def test_handle_decline_decline_propose(self): method test_handle_decline_decline_accept (line 538) | def test_handle_decline_decline_accept(self): method test_handle_accept_i (line 574) | def test_handle_accept_i(self): method test_handle_accept_ii (line 658) | def test_handle_accept_ii(self): method test_handle_accept_iii (line 720) | def test_handle_accept_iii(self): method test_handle_accept_iv (line 778) | def test_handle_accept_iv(self): method test_handle_accept_v (line 833) | def test_handle_accept_v(self): method test_handle_accept_vi (line 874) | def test_handle_accept_vi(self): method test_handle_match_accept_i (line 933) | def test_handle_match_accept_i(self): method test_handle_match_accept_ii (line 970) | def test_handle_match_accept_ii(self): method test_handle_match_accept_iii (line 1045) | def test_handle_match_accept_iii(self): method test_handle_match_accept_iv (line 1080) | def test_handle_match_accept_iv(self): method test_handle_match_accept_v (line 1111) | def test_handle_match_accept_v(self): method test_handle_match_accept_vi (line 1187) | def test_handle_match_accept_vi(self): method test_teardown (line 1249) | def test_teardown(self): class TestCosmTradeHandler (line 1255) | class TestCosmTradeHandler(BaseSkillTestCase): method setup (line 1261) | def setup(cls): method _assert_stat_state (line 1346) | def _assert_stat_state( method test_setup (line 1395) | def test_setup(self): method test_handle_unidentified_dialogue (line 1400) | def test_handle_unidentified_dialogue(self): method test_handle_signed_tx_i (line 1435) | def test_handle_signed_tx_i(self): method test_handle_signed_tx_ii (line 1503) | def test_handle_signed_tx_ii(self): method test_handle_error (line 1542) | def test_handle_error(self): method test_handle_end (line 1574) | def test_handle_end(self): method test_teardown (line 1605) | def test_teardown(self): class TestSigningHandler (line 1611) | class TestSigningHandler(BaseSkillTestCase): method setup (line 1618) | def setup(cls): method test_setup (line 1754) | def test_setup(self): method test_handle_unidentified_dialogue (line 1759) | def test_handle_unidentified_dialogue(self): method test_handle_signed_message_i (line 1781) | def test_handle_signed_message_i(self): method test_handle_signed_message_ii (line 1844) | def test_handle_signed_message_ii(self): method test_handle_signed_message_iii (line 1906) | def test_handle_signed_message_iii(self): method test_handle_signed_message_iv (line 1953) | def test_handle_signed_message_iv(self): method test_handle_signed_transaction_v (line 1999) | def test_handle_signed_transaction_v(self): method test_handle_signed_transaction_vi (line 2036) | def test_handle_signed_transaction_vi(self): method test_handle_signed_transaction_i (line 2104) | def test_handle_signed_transaction_i(self): method test_handle_signed_transaction_ii (line 2166) | def test_handle_signed_transaction_ii(self): method test_handle_signed_transaction_vii (line 2235) | def test_handle_signed_transaction_vii(self): method test_handle_signed_transaction_viii (line 2298) | def test_handle_signed_transaction_viii(self): method test_handle_signed_transaction_iii (line 2348) | def test_handle_signed_transaction_iii(self): method test_handle_signed_transaction_iv (line 2395) | def test_handle_signed_transaction_iv(self): method test_handle_error (line 2441) | def test_handle_error(self): method test_handle_invalid (line 2474) | def test_handle_invalid(self): method test_teardown (line 2504) | def test_teardown(self): class TestLedgerApiHandler (line 2510) | class TestLedgerApiHandler(BaseSkillTestCase): method setup (line 2517) | def setup(cls): method test_setup (line 2578) | def test_setup(self): method test_handle_unidentified_dialogue (line 2583) | def test_handle_unidentified_dialogue(self): method test_handle_balance (line 2605) | def test_handle_balance(self): method test_handle_transaction_digest (line 2642) | def test_handle_transaction_digest(self): method test_handle_transaction_receipt_failed (line 2686) | def test_handle_transaction_receipt_failed(self): method test_handle_transaction_receipt_succeeds (line 2717) | def test_handle_transaction_receipt_succeeds(self): method test_handle_error (line 2748) | def test_handle_error(self): method test_handle_invalid (line 2774) | def test_handle_invalid(self): method test_teardown (line 2797) | def test_teardown(self): class TestOefSearchHandler (line 2803) | class TestOefSearchHandler(BaseSkillTestCase): method setup (line 2810) | def setup(cls): method test_setup (line 2950) | def test_setup(self): method test_handle_unidentified_dialogue (line 2955) | def test_handle_unidentified_dialogue(self): method test_handle_success_i (line 2976) | def test_handle_success_i(self): method test_handle_success_ii (line 3008) | def test_handle_success_ii(self): method test_handle_success_iii (line 3040) | def test_handle_success_iii(self): method test_handle_success_iv (line 3072) | def test_handle_success_iv(self): method test_handle_success_v (line 3103) | def test_handle_success_v(self): method test_on_oef_error_i (line 3134) | def test_on_oef_error_i(self): method test_on_oef_error_ii (line 3166) | def test_on_oef_error_ii(self): method test_on_search_result_i (line 3193) | def test_on_search_result_i(self): method test_on_search_result_ii (line 3248) | def test_on_search_result_ii(self): method test_handle_invalid (line 3284) | def test_handle_invalid(self): method test_teardown (line 3306) | def test_teardown(self): class TestContractApiHandler (line 3312) | class TestContractApiHandler(BaseSkillTestCase): method setup (line 3319) | def setup(cls): method test_setup (line 3396) | def test_setup(self): method test_handle_unidentified_dialogue (line 3401) | def test_handle_unidentified_dialogue(self): method test_handle_raw_message (line 3422) | def test_handle_raw_message(self): method test_handle_raw_transaction (line 3492) | def test_handle_raw_transaction(self): method test_handle_error (line 3558) | def test_handle_error(self): method test_handle_invalid (line 3584) | def test_handle_invalid(self): method test_teardown (line 3608) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_tac_negotiation/test_helpers.py class TestHelpers (line 43) | class TestHelpers(BaseSkillTestCase): method setup (line 49) | def setup(cls): method test_build_goods_datamodel_supply (line 53) | def test_build_goods_datamodel_supply(self): method test_build_goods_datamodel_demand (line 82) | def test_build_goods_datamodel_demand(self): method test_build_goods_description_supply (line 111) | def test_build_goods_description_supply(self): method test_build_goods_description_demand (line 149) | def test_build_goods_description_demand(self): method test_build_goods_query (line 187) | def test_build_goods_query(self): method test_build_goods_query_1_good (line 239) | def test_build_goods_query_1_good(self): FILE: tests/test_packages/test_skills/test_tac_negotiation/test_logical.py class TestLogical (line 41) | class TestLogical(BaseSkillTestCase): method setup (line 47) | def setup(cls): method _calculate_score (line 110) | def _calculate_score(preferences, ownership_state): method test_generated_proposals_increase_score_seller (line 122) | def test_generated_proposals_increase_score_seller(self): method test_generated_proposals_increase_score_buyer (line 160) | def test_generated_proposals_increase_score_buyer(self): FILE: tests/test_packages/test_skills/test_tac_negotiation/test_strategy.py class TestStrategy (line 59) | class TestStrategy(BaseSkillTestCase): method setup (line 65) | def setup(cls): method test_properties (line 137) | def test_properties(self): method test_get_location_description (line 161) | def test_get_location_description(self): method test_get_register_service_description (line 171) | def test_get_register_service_description(self): method test_get_register_personality_description (line 188) | def test_get_register_personality_description(self): method test_get_register_classification_description (line 197) | def test_get_register_classification_description(self): method test_get_unregister_service_description (line 206) | def test_get_unregister_service_description(self): method test_get_location_and_service_query (line 214) | def test_get_location_and_service_query(self): method test_get_own_service_description_is_supply (line 248) | def test_get_own_service_description_is_supply(self): method test_get_own_service_description_not_is_supply (line 275) | def test_get_own_service_description_not_is_supply(self): method test_supplied_goods (line 301) | def test_supplied_goods(self): method test_demanded_goods (line 309) | def test_demanded_goods(self): method test_get_own_services_query_searching_seller (line 317) | def test_get_own_services_query_searching_seller(self): method test_get_own_services_query_searching_buyers (line 342) | def test_get_own_services_query_searching_buyers(self): method test__get_proposal_for_query (line 367) | def test__get_proposal_for_query(self): method test_get_proposal_for_query (line 422) | def test_get_proposal_for_query(self): method test_generate_candidate_proposals_i (line 471) | def test_generate_candidate_proposals_i(self): method test_generate_candidate_proposals_ii (line 515) | def test_generate_candidate_proposals_ii(self): method test_generate_candidate_proposals_iii (line 559) | def test_generate_candidate_proposals_iii(self): method test_generate_candidate_proposals_iv (line 602) | def test_generate_candidate_proposals_iv(self): method test_is_profitable_transaction_not_affordable (line 649) | def test_is_profitable_transaction_not_affordable(self): method test_is_profitable_transaction_is_affordable (line 694) | def test_is_profitable_transaction_is_affordable(self): method test_terms_from_proposal_seller (line 739) | def test_terms_from_proposal_seller(self): method test_terms_from_proposal_buyer (line 773) | def test_terms_from_proposal_buyer(self): method test_kwargs_from_terms_seller_ethereum (line 807) | def test_kwargs_from_terms_seller_ethereum(self): method test_kwargs_from_terms_buyer_fetchai (line 856) | def test_kwargs_from_terms_buyer_fetchai(self): method test_kwargs_from_terms_i (line 891) | def test_kwargs_from_terms_i(self): method test_kwargs_from_terms_ii (line 916) | def test_kwargs_from_terms_ii(self): method test_kwargs_from_terms_iii (line 941) | def test_kwargs_from_terms_iii(self): FILE: tests/test_packages/test_skills/test_tac_negotiation/test_transactions.py class TestTransactions (line 41) | class TestTransactions(BaseSkillTestCase): method setup (line 47) | def setup(cls): method test_simple_properties (line 84) | def test_simple_properties(self): method test_get_next_nonce (line 89) | def test_get_next_nonce(self): method test_update_confirmed_transactions (line 94) | def test_update_confirmed_transactions(self): method test_cleanup_pending_transactions_i (line 112) | def test_cleanup_pending_transactions_i(self): method test_cleanup_pending_transactions_ii (line 139) | def test_cleanup_pending_transactions_ii(self): method test_add_pending_proposal_i (line 159) | def test_add_pending_proposal_i(self): method test_add_pending_proposal_ii (line 175) | def test_add_pending_proposal_ii(self): method test_add_pending_proposal_iii (line 189) | def test_add_pending_proposal_iii(self): method test_pop_pending_proposal_i (line 205) | def test_pop_pending_proposal_i(self): method test_pop_pending_proposal_ii (line 224) | def test_pop_pending_proposal_ii(self): method test_pop_pending_proposal_iii (line 241) | def test_pop_pending_proposal_iii(self): method test_add_pending_initial_acceptance_i (line 258) | def test_add_pending_initial_acceptance_i(self): method test_add_pending_initial_acceptance_ii (line 278) | def test_add_pending_initial_acceptance_ii(self): method test_add_pending_initial_acceptance_iii (line 296) | def test_add_pending_initial_acceptance_iii(self): method test_pop_pending_initial_acceptance_i (line 314) | def test_pop_pending_initial_acceptance_i(self): method test_pop_pending_initial_acceptance_ii (line 335) | def test_pop_pending_initial_acceptance_ii(self): method test_pop_pending_initial_acceptance_iii (line 354) | def test_pop_pending_initial_acceptance_iii(self): method test_register_transaction_with_time (line 375) | def test_register_transaction_with_time(self): method test_add_locked_tx_seller (line 391) | def test_add_locked_tx_seller(self): method test_add_locked_tx_buyer (line 410) | def test_add_locked_tx_buyer(self): method test_add_locked_tx_fails (line 429) | def test_add_locked_tx_fails(self): method test_pop_locked_tx (line 454) | def test_pop_locked_tx(self): method test_pop_locked_tx_fails (line 474) | def test_pop_locked_tx_fails(self): method test_ownership_state_after_locks (line 493) | def test_ownership_state_after_locks(self): FILE: tests/test_packages/test_skills/test_tac_participation/test_behaviours.py class TestTacSearchBehaviour (line 45) | class TestTacSearchBehaviour(BaseSkillTestCase): method setup (line 52) | def setup(cls): method test_setup (line 61) | def test_setup(self): method test_act_i (line 66) | def test_act_i(self): method test_act_ii (line 79) | def test_act_ii(self): method test_teardown (line 109) | def test_teardown(self): class TestTransactionProcessBehaviour (line 115) | class TestTransactionProcessBehaviour(BaseSkillTestCase): method setup (line 121) | def setup(cls): method test_setup (line 196) | def test_setup(self): method test_act_i (line 201) | def test_act_i(self): method test_act_ii (line 214) | def test_act_ii(self): method test_process_transactions_tac_dialogue_is_empty (line 263) | def test_process_transactions_tac_dialogue_is_empty(self): method test_process_transactions_invalid_tx (line 285) | def test_process_transactions_invalid_tx(self): method test_teardown (line 303) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_tac_participation/test_dialogues.py class TestDialogues (line 41) | class TestDialogues(BaseSkillTestCase): method setup (line 47) | def setup(cls): method test_oef_search_dialogues (line 58) | def test_oef_search_dialogues(self): method test_state_update_dialogues (line 68) | def test_state_update_dialogues(self): method test_tac_dialogues (line 81) | def test_tac_dialogues(self): FILE: tests/test_packages/test_skills/test_tac_participation/test_game.py class TestConfiguration (line 43) | class TestConfiguration: method setup (line 47) | def setup(cls): method test_simple_properties (line 66) | def test_simple_properties(self): method test_check_consistency_succeeds (line 99) | def test_check_consistency_succeeds(self): method test_check_consistency_fails_i (line 103) | def test_check_consistency_fails_i(self): method test_check_consistency_fails_ii (line 109) | def test_check_consistency_fails_ii(self): method test_check_consistency_fails_iii (line 115) | def test_check_consistency_fails_iii(self): method test_check_consistency_fails_iv (line 121) | def test_check_consistency_fails_iv(self): method test_check_consistency_fails_v (line 133) | def test_check_consistency_fails_v(self): method test_check_consistency_fails_vi (line 145) | def test_check_consistency_fails_vi(self): method test_check_consistency_fails_vii (line 153) | def test_check_consistency_fails_vii(self): method test_check_consistency_fails_viii (line 168) | def test_check_consistency_fails_viii(self): method test_check_consistency_fails_ix (line 180) | def test_check_consistency_fails_ix(self): class TestGame (line 193) | class TestGame(BaseSkillTestCase): method setup (line 199) | def setup(cls): method test_simple_properties (line 226) | def test_simple_properties(self): method test_init_succeeds (line 293) | def test_init_succeeds(self): method test_init_fails_i (line 327) | def test_init_fails_i(self): method test_init_fails_ii (line 343) | def test_init_fails_ii(self): method test_init_fails_iii (line 374) | def test_init_fails_iii(self): method test_update_expected_controller_addr (line 403) | def test_update_expected_controller_addr(self): method test_update_game_phase (line 416) | def test_update_game_phase(self): method test_get_game_query (line 422) | def test_get_game_query(self): FILE: tests/test_packages/test_skills/test_tac_participation/test_handlers.py class TestOefSearchHandler (line 49) | class TestOefSearchHandler(BaseSkillTestCase): method setup (line 56) | def setup(cls): method test_setup (line 73) | def test_setup(self): method test_handle_unidentified_dialogue (line 78) | def test_handle_unidentified_dialogue(self): method test_handle_error (line 99) | def test_handle_error(self): method test_on_search_result (line 126) | def test_on_search_result(self): method test_on_controller_search_result_i (line 184) | def test_on_controller_search_result_i(self): method test_on_controller_search_result_ii (line 219) | def test_on_controller_search_result_ii(self): method test_on_controller_search_result_more_than_one_agents (line 254) | def test_on_controller_search_result_more_than_one_agents(self): method test_handle_invalid (line 289) | def test_handle_invalid(self): method test_teardown (line 311) | def test_teardown(self): class TestTacHandler (line 317) | class TestTacHandler(BaseSkillTestCase): method setup (line 323) | def setup(cls): method test_setup (line 391) | def test_setup(self): method test_handle_sender_not_equal_to_expected_controller (line 396) | def test_handle_sender_not_equal_to_expected_controller(self): method test_handle_unidentified_dialogue (line 426) | def test_handle_unidentified_dialogue(self): method test_on_tac_error_code_i (line 446) | def test_on_tac_error_code_i(self): method test_on_tac_error_code_ii (line 471) | def test_on_tac_error_code_ii(self): method test_on_start_i (line 502) | def test_on_start_i(self): method test_on_start_ii (line 560) | def test_on_start_ii(self): method test_on_start_iii (line 595) | def test_on_start_iii(self): method test_on_start_iv (line 649) | def test_on_start_iv(self): method test_on_cancelled_i (line 697) | def test_on_cancelled_i(self): method test_on_cancelled_ii (line 728) | def test_on_cancelled_ii(self): method test_on_cancelled_iii (line 759) | def test_on_cancelled_iii(self): method test_on_transaction_confirmed_i (line 787) | def test_on_transaction_confirmed_i(self): method test_on_transaction_confirmed_ii (line 845) | def test_on_transaction_confirmed_ii(self): method test_on_transaction_confirmed_iii (line 877) | def test_on_transaction_confirmed_iii(self): method test_handle_invalid (line 922) | def test_handle_invalid(self): method test_teardown (line 945) | def test_teardown(self): FILE: tests/test_packages/test_skills/test_thermometer/test_strategy.py class TestStrategy (line 32) | class TestStrategy(BaseSkillTestCase): method setup (line 38) | def setup(cls): method test_collect_from_data_source_i (line 47) | def test_collect_from_data_source_i(self): method test_collect_from_data_source_ii (line 69) | def test_collect_from_data_source_ii(self): FILE: tests/test_packages/test_skills_integration/test_aries_demo.py function _rand_seed (line 37) | def _rand_seed(): class TestAriesSkillsDemo (line 73) | class TestAriesSkillsDemo(AEATestCaseMany): method get_port (line 83) | def get_port(cls) -> int: method start_acapy (line 89) | def start_acapy( method setup_class (line 145) | def setup_class(cls) -> None: method test_alice_faber_demo (line 361) | def test_alice_faber_demo(self): method teardown_class (line 424) | def teardown_class(cls) -> None: FILE: tests/test_packages/test_skills_integration/test_carpark.py class TestCarPark (line 42) | class TestCarPark(AEATestCaseManyFlaky): method test_carpark (line 48) | def test_carpark(self): class TestCarParkFetchaiLedger (line 222) | class TestCarParkFetchaiLedger(AEATestCaseManyFlaky): method test_carpark (line 228) | def test_carpark(self): FILE: tests/test_packages/test_skills_integration/test_coin_price.py function parse_prometheus_output (line 31) | def parse_prometheus_output(prom_data: bytes) -> Dict[str, float]: class TestCoinPriceSkill (line 42) | class TestCoinPriceSkill(AEATestCaseEmpty): method test_coin_price (line 45) | def test_coin_price(self): FILE: tests/test_packages/test_skills_integration/test_erc1155.py class TestERCSkillsEthereumLedger (line 45) | class TestERCSkillsEthereumLedger(AEATestCaseManyFlaky, UseGanache): method test_generic (line 51) | def test_generic(self): FILE: tests/test_packages/test_skills_integration/test_fetch_block.py class TestFetchBlockSkill (line 28) | class TestFetchBlockSkill(AEATestCaseEmpty): method test_fetch_block (line 31) | def test_fetch_block(self): FILE: tests/test_packages/test_skills_integration/test_generic.py class TestGenericSkills (line 41) | class TestGenericSkills(AEATestCaseManyFlaky): method test_generic (line 49) | def test_generic(self, pytestconfig): class TestGenericSkillsFetchaiLedger (line 230) | class TestGenericSkillsFetchaiLedger(AEATestCaseManyFlaky): method test_generic (line 238) | def test_generic(self, pytestconfig): FILE: tests/test_packages/test_skills_integration/test_gym.py class TestGymSkill (line 30) | class TestGymSkill(AEATestCaseEmpty): method test_gym (line 33) | def test_gym(self): FILE: tests/test_packages/test_skills_integration/test_ml_skills.py function _is_not_tensorflow_installed (line 41) | def _is_not_tensorflow_installed(): class TestMLSkills (line 47) | class TestMLSkills(AEATestCaseManyFlaky): method test_ml_skills (line 60) | def test_ml_skills(self, pytestconfig): class TestMLSkillsFetchaiLedger (line 235) | class TestMLSkillsFetchaiLedger(AEATestCaseManyFlaky): method test_ml_skills (line 245) | def test_ml_skills(self, pytestconfig): FILE: tests/test_packages/test_skills_integration/test_simple_aggregation.py class TestSimpleAggregationSkill (line 54) | class TestSimpleAggregationSkill(AEATestCaseManyFlaky, UseSOEF): method test_simple_aggregation (line 58) | def test_simple_aggregation(self): FILE: tests/test_packages/test_skills_integration/test_simple_oracle.py class TestOracleSkillsFetchAI (line 49) | class TestOracleSkillsFetchAI(AEATestCaseManyFlaky, UseLocalFetchNode): method test_oracle (line 54) | def test_oracle( class TestOracleSkillsETH (line 277) | class TestOracleSkillsETH(AEATestCaseManyFlaky, UseGanache): method test_oracle (line 282) | def test_oracle( FILE: tests/test_packages/test_skills_integration/test_tac.py class TestTacSkills (line 60) | class TestTacSkills(AEATestCaseManyFlaky): method test_tac (line 69) | def test_tac(self): class TestTacSkillsContractEthereum (line 339) | class TestTacSkillsContractEthereum(AEATestCaseManyFlaky, UseGanache, Us... method test_tac (line 347) | def test_tac(self): class TestTacSkillsContractFetchai (line 851) | class TestTacSkillsContractFetchai(AEATestCaseManyFlaky, UseLocalFetchNo... method test_tac (line 860) | def test_tac(self): FILE: tests/test_packages/test_skills_integration/test_thermometer.py class TestThermometerSkill (line 41) | class TestThermometerSkill(AEATestCaseManyFlaky): method test_thermometer (line 47) | def test_thermometer(self): class TestThermometerSkillFetchaiLedger (line 239) | class TestThermometerSkillFetchaiLedger(AEATestCaseManyFlaky): method test_thermometer (line 245) | def test_thermometer(self): FILE: tests/test_packages/test_skills_integration/test_weather.py class TestWeatherSkills (line 41) | class TestWeatherSkills(AEATestCaseManyFlaky): method test_weather (line 47) | def test_weather(self): class TestWeatherSkillsFetchaiLedger (line 237) | class TestWeatherSkillsFetchaiLedger(AEATestCaseManyFlaky): method test_weather (line 243) | def test_weather(self): FILE: tests/test_packages_for_aea_tests/test_connections/test_gym/test_gym.py class GymDialogues (line 46) | class GymDialogues(BaseGymDialogues): method __init__ (line 49) | def __init__(self, self_address: Address, **kwargs) -> None: class TestGymConnection (line 74) | class TestGymConnection: method setup (line 77) | def setup(self): method teardown (line 97) | def teardown(self): method test_gym_connection_connect (line 102) | async def test_gym_connection_connect(self): method test_decode_envelope_error (line 109) | async def test_decode_envelope_error(self): method test_send_connection_error (line 123) | async def test_send_connection_error(self): method test_send_act (line 139) | async def test_send_act(self): method test_send_reset (line 178) | async def test_send_reset(self): method test_send_close (line 183) | async def test_send_close(self): method test_send_close_negative (line 202) | async def test_send_close_negative(self): method send_reset (line 227) | async def send_reset(self) -> GymDialogue: method test_receive_connection_error (line 255) | async def test_receive_connection_error(self): method test_gym_env_load (line 260) | def test_gym_env_load(self): FILE: tests/test_packages_for_aea_tests/test_connections/test_local/test_misc.py function test_connection (line 37) | def test_connection(): function test_connection_twice_return_none (line 56) | async def test_connection_twice_return_none(): function test_receiving_when_not_connected_raise_exception (line 85) | async def test_receiving_when_not_connected_raise_exception(): function test_receiving_returns_none_when_error_occurs (line 96) | async def test_receiving_returns_none_when_error_occurs(): function test_communication (line 113) | def test_communication(): function test_connecting_to_node_with_same_key (line 232) | async def test_connecting_to_node_with_same_key(): function test_stop_before_start (line 244) | def test_stop_before_start(): FILE: tests/test_packages_for_aea_tests/test_connections/test_local/test_search_services.py class OefSearchDialogues (line 58) | class OefSearchDialogues(BaseOefSearchDialogues): method __init__ (line 61) | def __init__(self, self_address: Address, **kwargs) -> None: class TestNoValidDialogue (line 86) | class TestNoValidDialogue: method setup_class (line 90) | def setup_class(cls): method test_wrong_dialogue (line 108) | async def test_wrong_dialogue(self): method teardown_class (line 143) | def teardown_class(cls): class TestEmptySearch (line 149) | class TestEmptySearch: method setup_class (line 153) | def setup_class(cls): method test_empty_search_result (line 173) | def test_empty_search_result(self): method teardown_class (line 200) | def teardown_class(cls): class TestSimpleSearchResult (line 206) | class TestSimpleSearchResult: method setup (line 209) | def setup(self): method test_not_empty_search_result (line 252) | def test_not_empty_search_result(self): method teardown (line 279) | def teardown(self): class TestUnregister (line 285) | class TestUnregister: method setup_class (line 289) | def setup_class(cls): method test_unregister_service_result (line 320) | def test_unregister_service_result(self): method teardown_class (line 424) | def teardown_class(cls): class TestAgentMessage (line 431) | class TestAgentMessage: method setup_class (line 435) | def setup_class(cls): method test_messages (line 466) | async def test_messages(self): method teardown_class (line 510) | def teardown_class(cls): class TestFilteredSearchResult (line 516) | class TestFilteredSearchResult: method setup_class (line 520) | def setup_class(cls): method test_filtered_search_result (line 620) | def test_filtered_search_result(self): method teardown_class (line 645) | def teardown_class(cls): FILE: tests/test_packages_for_aea_tests/test_connections/test_oef/test_communication.py class OefSearchDialogues (line 78) | class OefSearchDialogues(BaseOefSearchDialogues): method __init__ (line 81) | def __init__(self, self_address: str) -> None: class TestDefault (line 107) | class TestDefault(UseOef): method setup_class (line 111) | def setup_class(cls): method test_send_message (line 124) | def test_send_message(self): method teardown_class (line 144) | def teardown_class(cls): class TestOEF (line 149) | class TestOEF(UseOef): class TestSearchServices (line 152) | class TestSearchServices: method setup (line 155) | def setup(self): method test_search_services_with_query_without_model (line 169) | def test_search_services_with_query_without_model(self): method test_search_services_with_query_with_model (line 201) | def test_search_services_with_query_with_model(self): method test_search_services_with_distance_query (line 234) | def test_search_services_with_distance_query(self): method teardown (line 273) | def teardown(self): class TestRegisterService (line 277) | class TestRegisterService: method setup_class (line 281) | def setup_class(cls): method test_register_service (line 295) | def test_register_service(self): method teardown_class (line 342) | def teardown_class(cls): class TestUnregisterService (line 346) | class TestUnregisterService: method setup_class (line 350) | def setup_class(cls): method test_unregister_service (line 417) | def test_unregister_service(self): method teardown_class (line 467) | def teardown_class(cls): class TestFIPA (line 472) | class TestFIPA(UseOef): method setup_class (line 476) | def setup_class(cls): method test_cfp (line 499) | def test_cfp(self): method test_propose (line 545) | def test_propose(self): method test_accept (line 594) | def test_accept(self): method test_match_accept (line 617) | def test_match_accept(self): method test_decline (line 641) | def test_decline(self): method test_match_accept_w_inform (line 664) | def test_match_accept_w_inform(self): method test_accept_w_inform (line 688) | def test_accept_w_inform(self): method test_inform (line 712) | def test_inform(self): method test_serialisation_fipa (line 737) | def test_serialisation_fipa(self): method test_on_oef_error (line 805) | def test_on_oef_error(self): method test_send (line 838) | def test_send(self): method teardown_class (line 851) | def teardown_class(cls): class TestOefConnection (line 857) | class TestOefConnection(UseOef): method test_connection (line 860) | def test_connection(self): class TestOefConstraint (line 873) | class TestOefConstraint: method setup_class (line 877) | def setup_class(cls): method test_oef_constraint_types (line 887) | def test_oef_constraint_types(self): method test_oef_constraint_expr (line 959) | def test_oef_constraint_expr(self): method teardown_class (line 967) | def teardown_class(cls): class DummyConstrainExpr (line 972) | class DummyConstrainExpr(ConstraintExpr): method check (line 975) | def check(self, description: Description) -> bool: method is_valid (line 984) | def is_valid(self, data_model: DataModel) -> bool: method _check_validity (line 995) | def _check_validity(self) -> None: method _node (line 1005) | def _node(self): class TestSendWithOEF (line 1009) | class TestSendWithOEF(UseOef): method test_send_oef_message (line 1013) | async def test_send_oef_message(self, pytestconfig, caplog): method test_cancelled_receive (line 1070) | async def test_cancelled_receive(self, pytestconfig, caplog): method test_exception_during_receive (line 1094) | async def test_exception_during_receive(self, pytestconfig): method test_connecting_twice_is_ok (line 1113) | async def test_connecting_twice_is_ok(self, pytestconfig): function test_cannot_connect_to_oef (line 1135) | async def test_cannot_connect_to_oef(): function test_methods_with_logging_only (line 1163) | async def test_methods_with_logging_only(): FILE: tests/test_packages_for_aea_tests/test_connections/test_oef/test_models.py class TestTranslator (line 43) | class TestTranslator: method test_attribute (line 46) | def test_attribute(self): method test_data_model (line 54) | def test_data_model(self): method test_description (line 66) | def test_description(self): method test_query (line 84) | def test_query(self): class TestPickable (line 115) | class TestPickable: method test_pickable_attribute (line 118) | def test_pickable_attribute(self): method test_pickable_data_model (line 126) | def test_pickable_data_model(self): method test_pickable_description (line 138) | def test_pickable_description(self): method test_pickable_query (line 153) | def test_pickable_query(self): class TestCheckValidity (line 183) | class TestCheckValidity: method test_validity (line 186) | def test_validity(self): method test_not_check (line 233) | def test_not_check(self): method test_or_check (line 268) | def test_or_check(self): method test_and_check (line 286) | def test_and_check(self): method test_query_check (line 304) | def test_query_check(self): FILE: tests/test_packages_for_aea_tests/test_connections/test_oef/test_oef_serializer.py function test_oef_serialization_description (line 35) | def test_oef_serialization_description(): function test_oef_object_transator (line 58) | def test_oef_object_transator(): function test_oef_serialization_query (line 75) | def test_oef_serialization_query(): FILE: tests/test_packages_for_aea_tests/test_connections/test_p2p_libp2p_client/test_aea_cli.py class TestP2PLibp2pClientConnectionAEARunning (line 47) | class TestP2PLibp2pClientConnectionAEARunning(AEATestCaseEmpty): method setup_class (line 52) | def setup_class(cls): method test_node (line 69) | def test_node(self): method test_connection (line 73) | def test_connection(self): method teardown_class (line 126) | def teardown_class(cls): FILE: tests/test_packages_for_aea_tests/test_connections/test_p2p_libp2p_client/test_communication.py class TestLibp2pClientConnectionConnectDisconnect (line 62) | class TestLibp2pClientConnectionConnectDisconnect: method setup_class (line 66) | def setup_class(cls): method test_libp2pclientconnection_connect_disconnect (line 82) | async def test_libp2pclientconnection_connect_disconnect(self): method teardown_class (line 98) | def teardown_class(cls): class TestLibp2pClientConnectionEchoEnvelope (line 108) | class TestLibp2pClientConnectionEchoEnvelope: method setup_class (line 113) | def setup_class(cls): method test_connection_is_established (line 162) | def test_connection_is_established(self): method test_envelope_routed (line 167) | def test_envelope_routed(self): method test_envelope_echoed_back (line 198) | def test_envelope_echoed_back(self): method test_envelope_echoed_back_node_agent (line 236) | def test_envelope_echoed_back_node_agent(self): method teardown_class (line 275) | def teardown_class(cls): class TestLibp2pClientConnectionEchoEnvelopeTwoDHTNode (line 289) | class TestLibp2pClientConnectionEchoEnvelopeTwoDHTNode: method setup_class (line 294) | def setup_class(cls): method test_connection_is_established (line 372) | def test_connection_is_established(self): method test_envelope_routed (line 379) | def test_envelope_routed(self): method test_envelope_echoed_back (line 410) | def test_envelope_echoed_back(self): method test_envelope_echoed_back_node_agent (line 448) | def test_envelope_echoed_back_node_agent(self): method teardown_class (line 487) | def teardown_class(cls): class TestLibp2pClientConnectionRouting (line 499) | class TestLibp2pClientConnectionRouting: method setup_class (line 504) | def setup_class(cls): method test_connection_is_established (line 589) | def test_connection_is_established(self): method test_star_routing_connectivity (line 594) | def test_star_routing_connectivity(self): method teardown_class (line 628) | def teardown_class(cls): function test_libp2pclientconnection_uri (line 639) | def test_libp2pclientconnection_uri(): class BaseTestLibp2pClientSamePeer (line 647) | class BaseTestLibp2pClientSamePeer: method setup_class (line 652) | def setup_class(cls): method teardown_class (line 710) | def teardown_class(cls): method _make_envelope (line 722) | def _make_envelope( class TestLibp2pClientReconnectionSendEnvelope (line 747) | class TestLibp2pClientReconnectionSendEnvelope(BaseTestLibp2pClientSameP... method test_envelope_sent (line 750) | def test_envelope_sent(self): class TestLibp2pClientReconnectionReceiveEnvelope (line 783) | class TestLibp2pClientReconnectionReceiveEnvelope(BaseTestLibp2pClientSa... method test_envelope_received (line 786) | def test_envelope_received(self): class TestLibp2pClientEnvelopeOrderSamePeer (line 826) | class TestLibp2pClientEnvelopeOrderSamePeer(BaseTestLibp2pClientSamePeer): method test_burst_order (line 831) | def test_burst_order(self): function test_nodeclient_pipe_connect (line 863) | async def test_nodeclient_pipe_connect(): function test_write_acn_error (line 875) | async def test_write_acn_error(): FILE: tests/test_packages_for_aea_tests/test_connections/test_p2p_libp2p_client/test_errors.py class TestLibp2pClientConnectionFailureNodeNotConnected (line 51) | class TestLibp2pClientConnectionFailureNodeNotConnected: method test_node_not_running (line 55) | async def test_node_not_running(self): class TestLibp2pClientConnectionFailureConnectionSetup (line 65) | class TestLibp2pClientConnectionFailureConnectionSetup: method setup_class (line 69) | def setup_class(cls): method test_empty_nodes (line 96) | def test_empty_nodes(self): method teardown_class (line 126) | def teardown_class(cls): class TestLibp2pClientConnectionNodeDisconnected (line 135) | class TestLibp2pClientConnectionNodeDisconnected: method setup_class (line 140) | def setup_class(cls): method test_node_disconnected (line 172) | def test_node_disconnected(self): method teardown_class (line 179) | def teardown_class(cls): function test_connect_attempts (line 195) | async def test_connect_attempts(): function test_reconnect_on_receive_fail (line 213) | async def test_reconnect_on_receive_fail(): function test_reconnect_on_send_fail (line 235) | async def test_reconnect_on_send_fail(): function test_acn_decode_error_on_read (line 257) | async def test_acn_decode_error_on_read(): class TestLibp2pClientConnectionCheckSignature (line 276) | class TestLibp2pClientConnectionCheckSignature: method setup_class (line 280) | def setup_class(cls): method test_signature_check_fail (line 296) | async def test_signature_check_fail(self): method teardown_class (line 315) | def teardown_class(cls): FILE: tests/test_packages_for_aea_tests/test_connections/test_p2p_libp2p_mailbox/test_aea_cli.py class TestP2PLibp2pClientConnectionAEARunning (line 48) | class TestP2PLibp2pClientConnectionAEARunning(AEATestCaseEmpty): method setup_class (line 53) | def setup_class(cls): method test_node (line 72) | def test_node(self): method test_connection (line 76) | def test_connection(self): method teardown_class (line 129) | def teardown_class(cls): FILE: tests/test_packages_for_aea_tests/test_connections/test_p2p_libp2p_mailbox/test_communication.py class TestLibp2pClientConnectionConnectDisconnect (line 58) | class TestLibp2pClientConnectionConnectDisconnect: method setup_class (line 62) | def setup_class(cls): method test_libp2pclientconnection_connect_disconnect (line 81) | async def test_libp2pclientconnection_connect_disconnect(self): method teardown_class (line 97) | def teardown_class(cls): class TestLibp2pClientConnectionEchoEnvelope (line 107) | class TestLibp2pClientConnectionEchoEnvelope: method setup_class (line 112) | def setup_class(cls): method test_connection_is_established (line 161) | def test_connection_is_established(self): method test_envelope_routed (line 166) | def test_envelope_routed(self): method test_envelope_echoed_back (line 197) | def test_envelope_echoed_back(self): method test_envelope_echoed_back_node_agent (line 235) | def test_envelope_echoed_back_node_agent(self): method teardown_class (line 274) | def teardown_class(cls): class TestLibp2pClientConnectionEchoEnvelopeTwoDHTNode (line 288) | class TestLibp2pClientConnectionEchoEnvelopeTwoDHTNode: method setup_class (line 293) | def setup_class(cls): method test_connection_is_established (line 375) | def test_connection_is_established(self): method test_envelope_routed (line 382) | def test_envelope_routed(self): method test_envelope_echoed_back (line 413) | def test_envelope_echoed_back(self): method test_envelope_echoed_back_node_agent (line 451) | def test_envelope_echoed_back_node_agent(self): method teardown_class (line 490) | def teardown_class(cls): class TestLibp2pClientConnectionRouting (line 502) | class TestLibp2pClientConnectionRouting: method setup_class (line 507) | def setup_class(cls): method test_connection_is_established (line 596) | def test_connection_is_established(self): method test_star_routing_connectivity (line 601) | def test_star_routing_connectivity(self): method teardown_class (line 635) | def teardown_class(cls): class BaseTestLibp2pClientSamePeer (line 647) | class BaseTestLibp2pClientSamePeer: method setup_class (line 652) | def setup_class(cls): method teardown_class (line 710) | def teardown_class(cls): method _make_envelope (line 723) | def _make_envelope( class TestLibp2pClientEnvelopeOrderSamePeer (line 748) | class TestLibp2pClientEnvelopeOrderSamePeer(BaseTestLibp2pClientSamePeer): method test_burst_order (line 753) | def test_burst_order(self): FILE: tests/test_packages_for_aea_tests/test_connections/test_p2p_libp2p_mailbox/test_errors.py class TestLibp2pClientConnectionFailureNodeNotConnected (line 53) | class TestLibp2pClientConnectionFailureNodeNotConnected: method test_node_not_running (line 57) | async def test_node_not_running(self): class TestLibp2pClientConnectionFailureConnectionSetup (line 67) | class TestLibp2pClientConnectionFailureConnectionSetup: method setup_class (line 71) | def setup_class(cls): method test_empty_nodes (line 98) | def test_empty_nodes(self): method teardown_class (line 128) | def teardown_class(cls): class TestLibp2pClientConnectionNodeDisconnected (line 137) | class TestLibp2pClientConnectionNodeDisconnected: method setup_class (line 142) | def setup_class(cls): method test_node_disconnected (line 174) | def test_node_disconnected(self): method teardown_class (line 181) | def teardown_class(cls): function test_connect_attempts (line 197) | async def test_connect_attempts(): function test_reconnect_on_receive_fail (line 215) | async def test_reconnect_on_receive_fail(): function test_reconnect_on_send_fail (line 235) | async def test_reconnect_on_send_fail(): FILE: tests/test_packages_for_aea_tests/test_connections/test_p2p_libp2p_mailbox/test_mailbox_service.py class TestMailboxAPI (line 50) | class TestMailboxAPI: method setup_class (line 54) | def setup_class(cls): method test_message_delivery (line 82) | async def test_message_delivery(self): # nosec method make_envelope (line 158) | def make_envelope(self, from_: str, to_: str) -> Envelope: method teardown_class (line 176) | def teardown_class(cls): FILE: tests/test_packages_for_aea_tests/test_connections/test_p2p_stub/test_p2p_stub.py function make_test_envelope (line 41) | def make_test_envelope(to_="any", sender_="sender") -> Envelope: class Testp2pStubConnectionReception (line 60) | class Testp2pStubConnectionReception: method setup (line 63) | def setup(self): method test_send (line 86) | async def test_send(self): method teardown (line 103) | def teardown(self): FILE: tests/test_packages_for_aea_tests/test_connections/test_soef/test_soef.py function make_async (line 66) | def make_async(return_value: Any) -> Callable: function wrap_future (line 75) | def wrap_future(return_value: Any) -> asyncio.Future: class OefSearchDialogues (line 82) | class OefSearchDialogues(BaseOefSearchDialogues): method __init__ (line 85) | def __init__(self, self_address: str) -> None: class TestSoefTokenStorage (line 111) | class TestSoefTokenStorage: method setup (line 114) | def setup(self): method teardown (line 141) | def teardown(self): method test_unique_page_address_default_no_file (line 149) | def test_unique_page_address_default_no_file(self): method test_unique_page_address_default_file (line 153) | def test_unique_page_address_default_file(self): method test_unique_page_address_set_and_get (line 159) | def test_unique_page_address_set_and_get(self): class TestSoef (line 176) | class TestSoef: method setup (line 186) | def setup(self): method test_set_service_key (line 225) | async def test_set_service_key(self): method test_remove_service_key (line 254) | async def test_remove_service_key(self): method test_connected (line 283) | def test_connected(self): method test_disconnected (line 288) | async def test_disconnected(self): method test_register_service (line 300) | async def test_register_service(self): method test_bad_register_service (line 332) | async def test_bad_register_service(self): method test_unregister_service (line 371) | async def test_unregister_service(self): method test_register_personailty_pieces (line 398) | async def test_register_personailty_pieces(self): method test_bad_message (line 426) | async def test_bad_message(self): method test_bad_performative (line 440) | async def test_bad_performative(self): method test_bad_search_query (line 463) | async def test_bad_search_query(self): method test_search (line 494) | async def test_search(self): method test_find_around_me (line 542) | async def test_find_around_me(self): method test_register_agent (line 619) | async def test_register_agent(self): method test_check_server_reachable (line 658) | async def test_check_server_reachable(self): method test_request_text_ok (line 677) | async def test_request_text_ok(self): method test_request_text_fail (line 686) | async def test_request_text_fail(self): method test_set_location (line 726) | async def test_set_location(self): method test_set_personality_piece (line 743) | async def test_set_personality_piece(self): method teardown (line 760) | def teardown(self): method test__set_value (line 774) | async def test__set_value(self): method test_chain_identifier_fail (line 791) | def test_chain_identifier_fail(self): method test_chain_identifier_ok (line 811) | def test_chain_identifier_ok(self): method test_ping_command (line 833) | async def test_ping_command(self): method test_periodic_ping_task_is_set (line 859) | async def test_periodic_ping_task_is_set(self): FILE: tests/test_packages_for_aea_tests/test_connections/test_soef/test_soef_integration.py function make_multiplexer_and_dialogues (line 59) | def make_multiplexer_and_dialogues() -> Tuple[ class Instance (line 90) | class Instance: method __init__ (line 93) | def __init__(self, location: Location) -> None: method address (line 105) | def address(self) -> str: method start (line 109) | def start(self) -> None: method stop (line 115) | def stop(self): method register_location (line 120) | def register_location(self, disclosure_accuracy: Optional[str] = None)... method wait_registered (line 155) | def wait_registered(self) -> None: method register_personality_pieces (line 161) | def register_personality_pieces( method register_service_key (line 188) | def register_service_key(self, key: str, value: str) -> None: method search (line 213) | def search(self, query: Query) -> OefSearchMessage: method get (line 236) | def get(self): method generic_command (line 241) | def generic_command(self, command: str, parameters: Optional[dict] = N... class TestRealNetwork (line 265) | class TestRealNetwork: method test_search_no_filters (line 271) | def test_search_no_filters(self): method test_search_filters (line 308) | def test_search_filters(self): method test_ping (line 373) | def test_ping(self): method test_generic_command (line 401) | def test_generic_command(self): method test_generic_command_set_declared_name (line 425) | def test_generic_command_set_declared_name(self): FILE: tests/test_packages_for_aea_tests/test_connections/test_stub/test_stub.py function make_test_envelope (line 54) | def make_test_envelope() -> Envelope: class TestStubConnectionReception (line 72) | class TestStubConnectionReception: method setup (line 75) | def setup(self): method test_reception_a (line 91) | def test_reception_a(self): method test_reception_b (line 121) | def test_reception_b(self): method test_reception_c (line 147) | def test_reception_c(self): method teardown (line 162) | def teardown(self): class TestStubConnectionSending (line 172) | class TestStubConnectionSending: method setup_class (line 176) | def setup_class(cls): method test_connection_is_established (line 192) | def test_connection_is_established(self): method test_send_message (line 221) | def test_send_message(self): method teardown_class (line 272) | def teardown_class(cls): function test_disconnection_when_already_disconnected (line 283) | async def test_disconnection_when_already_disconnected(): function test_connection_when_already_connected (line 298) | async def test_connection_when_already_connected(): function test_receiving_returns_none_when_error_occurs (line 317) | async def test_receiving_returns_none_when_error_occurs(): function test_multiple_envelopes (line 335) | async def test_multiple_envelopes(): function test_bad_envelope (line 364) | async def test_bad_envelope(): function test_load_from_dir (line 387) | async def test_load_from_dir(): class TestFileLock (line 397) | class TestFileLock: method test_lock_file_ok (line 400) | def test_lock_file_ok(self): method test_lock_file_error (line 406) | def test_lock_file_error(self): FILE: tests/test_packages_for_aea_tests/test_connections/test_tcp/test_base.py function test_connect_twice (line 40) | async def test_connect_twice(): function test_connect_raises_exception (line 57) | async def test_connect_raises_exception(): function test_disconnect_when_already_disconnected (line 73) | async def test_disconnect_when_already_disconnected(): function test_send_to_unknown_destination (line 86) | async def test_send_to_unknown_destination(): function test_send_cancelled (line 107) | async def test_send_cancelled(): FILE: tests/test_packages_for_aea_tests/test_connections/test_tcp/test_communication.py class TestTCPCommunication (line 40) | class TestTCPCommunication: method setup_class (line 44) | def setup_class(cls): method test_is_connected (line 87) | def test_is_connected(self): method test_communication_client_server (line 93) | def test_communication_client_server(self): method test_communication_server_client (line 122) | def test_communication_server_client(self): method teardown_class (line 179) | def teardown_class(cls): class TestTCPClientConnection (line 186) | class TestTCPClientConnection: method test_receive_cancelled (line 190) | async def test_receive_cancelled(self): method test_receive_raises_struct_error (line 223) | async def test_receive_raises_struct_error(self): method test_receive_raises_exception (line 255) | async def test_receive_raises_exception(self): class TestTCPServerConnection (line 286) | class TestTCPServerConnection: method test_receive_raises_exception (line 290) | async def test_receive_raises_exception(self): FILE: tests/test_packages_for_aea_tests/test_protocols/test_acn.py function test_acn_aea_envelope_serialization (line 38) | def test_acn_aea_envelope_serialization(): function test_acn_lookup_request_serialization (line 60) | def test_acn_lookup_request_serialization(): function test_acn_lookup_response_serialization (line 75) | def test_acn_lookup_response_serialization(): function test_acn_record_serialization (line 97) | def test_acn_record_serialization(): function test_acn_status_serialization (line 119) | def test_acn_status_serialization(): function test_acn_message_str_values (line 137) | def test_acn_message_str_values(): function test_encoding_unknown_performative (line 144) | def test_encoding_unknown_performative(): function test_check_consistency_raises_exception_when_type_not_recognized (line 156) | def test_check_consistency_raises_exception_when_type_not_recognized(): function test_acn_valid_performatives (line 170) | def test_acn_valid_performatives(): function test_serializer_performative_not_found (line 178) | def test_serializer_performative_not_found(): function test_dialogues (line 192) | def test_dialogues(): class AcnDialogue (line 203) | class AcnDialogue(BaseAcnDialogue): method __init__ (line 206) | def __init__( class AcnDialogues (line 231) | class AcnDialogues(BaseAcnDialogues): method __init__ (line 234) | def __init__(self, self_address: Address) -> None: FILE: tests/test_packages_for_aea_tests/test_protocols/test_contract_api.py function test_get_deploy_transaction_serialization (line 53) | def test_get_deploy_transaction_serialization(): function test_get_raw_transaction_serialization (line 91) | def test_get_raw_transaction_serialization(): function test_get_raw_message_serialization (line 130) | def test_get_raw_message_serialization(): function test_get_state_serialization (line 169) | def test_get_state_serialization(): function test_state_serialization (line 208) | def test_state_serialization(): function test_raw_transaction_serialization (line 243) | def test_raw_transaction_serialization(): function test_raw_message_serialization (line 279) | def test_raw_message_serialization(): function test_error_serialization (line 311) | def test_error_serialization(): function test_performative_string_value (line 344) | def test_performative_string_value(): function test_encoding_unknown_performative (line 374) | def test_encoding_unknown_performative(): function test_decoding_unknown_performative (line 391) | def test_decoding_unknown_performative(): function test_incorrect_message (line 414) | def test_incorrect_message(mocked_enforce): function test_kwargs (line 428) | def test_kwargs(): class TestDialogues (line 435) | class TestDialogues: method setup_class (line 439) | def setup_class(cls): method test_create_self_initiated (line 446) | def test_create_self_initiated(self): method test_create_opponent_initiated (line 456) | def test_create_opponent_initiated(self): class AgentDialogue (line 467) | class AgentDialogue(ContractApiDialogue): method __init__ (line 470) | def __init__( class AgentDialogues (line 495) | class AgentDialogues(ContractApiDialogues): method __init__ (line 498) | def __init__(self, self_address: Address) -> None: class LedgerDialogue (line 524) | class LedgerDialogue(ContractApiDialogue): method __init__ (line 527) | def __init__( class LedgerDialogues (line 552) | class LedgerDialogues(ContractApiDialogues): method __init__ (line 555) | def __init__(self, self_address: Address) -> None: FILE: tests/test_packages_for_aea_tests/test_protocols/test_default.py function test_default_bytes_serialization (line 42) | def test_default_bytes_serialization(): function test_default_error_serialization (line 56) | def test_default_error_serialization(): function test_default_end_serialization (line 73) | def test_default_end_serialization(): function test_default_message_str_values (line 87) | def test_default_message_str_values(): function test_encoding_unknown_performative (line 97) | def test_encoding_unknown_performative(): function test_check_consistency_raises_exception_when_type_not_recognized (line 110) | def test_check_consistency_raises_exception_when_type_not_recognized(): function test_default_valid_performatives (line 124) | def test_default_valid_performatives(): function test_serializer_performative_not_found (line 132) | def test_serializer_performative_not_found(): function test_dialogues (line 146) | def test_dialogues(): class DefaultDialogue (line 157) | class DefaultDialogue(BaseDefaultDialogue): method __init__ (line 160) | def __init__( class DefaultDialogues (line 185) | class DefaultDialogues(BaseDefaultDialogues): method __init__ (line 188) | def __init__(self, self_address: Address) -> None: FILE: tests/test_packages_for_aea_tests/test_protocols/test_fipa.py function test_cfp_serialization (line 51) | def test_cfp_serialization(): function test_propose_serialization (line 85) | def test_propose_serialization(): function test_accept_serialization (line 119) | def test_accept_serialization(): function test_decline_serialization (line 152) | def test_decline_serialization(): function test_match_accept_serialization (line 185) | def test_match_accept_serialization(): function test_accept_with_inform_serialization (line 218) | def test_accept_with_inform_serialization(): function test_match_accept_with_inform_serialization (line 252) | def test_match_accept_with_inform_serialization(): function test_inform_serialization (line 286) | def test_inform_serialization(): function test_end_serialization (line 320) | def test_end_serialization(): function test_performative_string_value (line 353) | def test_performative_string_value(): function test_encoding_unknown_performative (line 379) | def test_encoding_unknown_performative(): function test_decoding_unknown_performative (line 390) | def test_decoding_unknown_performative(): function test_incorrect_message (line 407) | def test_incorrect_message(mocked_enforce): class TestDialogues (line 420) | class TestDialogues: method setup_class (line 424) | def setup_class(cls): method test_create_self_initiated (line 431) | def test_create_self_initiated(self): method test_create_opponent_initiated (line 441) | def test_create_opponent_initiated(self): method test_dialogue_endstates (line 451) | def test_dialogue_endstates(self): method test_dialogues_self_initiated (line 473) | def test_dialogues_self_initiated(self): method test_update (line 537) | def test_update(self): method test_counter_proposing (line 610) | def test_counter_proposing(self): class BuyerDialogue (line 748) | class BuyerDialogue(FipaDialogue): method __init__ (line 751) | def __init__( class BuyerDialogues (line 776) | class BuyerDialogues(FipaDialogues): method __init__ (line 779) | def __init__(self, self_address: Address) -> None: class SellerDialogue (line 805) | class SellerDialogue(FipaDialogue): method __init__ (line 810) | def __init__( class SellerDialogues (line 836) | class SellerDialogues(FipaDialogues): method __init__ (line 839) | def __init__(self, self_address: Address) -> None: FILE: tests/test_packages_for_aea_tests/test_protocols/test_gym.py function test_act_serialization (line 46) | def test_act_serialization(): function test_percept_serialization (line 81) | def test_percept_serialization(): function test_status_serialization (line 119) | def test_status_serialization(): function test_reset_serialization (line 157) | def test_reset_serialization(): function test_close_serialization (line 190) | def test_close_serialization(): function test_performative_string_value (line 223) | def test_performative_string_value(): function test_encoding_unknown_performative (line 236) | def test_encoding_unknown_performative(): function test_decoding_unknown_performative (line 250) | def test_decoding_unknown_performative(): function test_incorrect_message (line 270) | def test_incorrect_message(mocked_enforce): class TestDialogues (line 283) | class TestDialogues: method setup_class (line 287) | def setup_class(cls): method test_create_self_initiated (line 294) | def test_create_self_initiated(self): method test_create_opponent_initiated (line 304) | def test_create_opponent_initiated(self): class AgentDialogue (line 315) | class AgentDialogue(GymDialogue): method __init__ (line 318) | def __init__( class AgentDialogues (line 343) | class AgentDialogues(GymDialogues): method __init__ (line 346) | def __init__(self, self_address: Address) -> None: class EnvironmentDialogue (line 372) | class EnvironmentDialogue(GymDialogue): method __init__ (line 375) | def __init__( class EnvironmentDialogues (line 400) | class EnvironmentDialogues(GymDialogues): method __init__ (line 403) | def __init__(self, self_address: Address) -> None: FILE: tests/test_packages_for_aea_tests/test_protocols/test_http.py function test_request_serialization (line 48) | def test_request_serialization(): function test_response_serialization (line 83) | def test_response_serialization(): function test_performative_string_value (line 120) | def test_performative_string_value(): function test_encoding_unknown_performative (line 130) | def test_encoding_unknown_performative(): function test_decoding_unknown_performative (line 146) | def test_decoding_unknown_performative(): function test_incorrect_message (line 168) | def test_incorrect_message(mocked_enforce): class TestDialogues (line 183) | class TestDialogues: method setup_class (line 187) | def setup_class(cls): method test_create_self_initiated (line 194) | def test_create_self_initiated(self): method test_create_opponent_initiated (line 204) | def test_create_opponent_initiated(self): class AgentDialogue (line 215) | class AgentDialogue(HttpDialogue): method __init__ (line 218) | def __init__( class AgentDialogues (line 243) | class AgentDialogues(HttpDialogues): method __init__ (line 246) | def __init__(self, self_address: Address) -> None: class ServerDialogue (line 272) | class ServerDialogue(HttpDialogue): method __init__ (line 275) | def __init__( class ServerDialogues (line 300) | class ServerDialogues(HttpDialogues): method __init__ (line 303) | def __init__(self, self_address: Address) -> None: FILE: tests/test_packages_for_aea_tests/test_protocols/test_ledger_api.py function test_get_balance_serialization (line 53) | def test_get_balance_serialization(): function test_get_state_serialization (line 85) | def test_get_state_serialization(): function test_get_raw_transaction_serialization (line 125) | def test_get_raw_transaction_serialization(): function test_send_signed_transaction_serialization (line 169) | def test_send_signed_transaction_serialization(): function test_get_transaction_receipt_serialization (line 204) | def test_get_transaction_receipt_serialization(): function test_balance_serialization (line 239) | def test_balance_serialization(): function test_state_serialization (line 273) | def test_state_serialization(): function test_raw_transaction_serialization (line 311) | def test_raw_transaction_serialization(): function test_transaction_digest_serialization (line 346) | def test_transaction_digest_serialization(): function test_transaction_receipt_serialization (line 381) | def test_transaction_receipt_serialization(): function test_error_serialization (line 416) | def test_error_serialization(): function test_performative_string_value (line 449) | def test_performative_string_value(): function test_encoding_unknown_performative (line 482) | def test_encoding_unknown_performative(): function test_decoding_unknown_performative (line 497) | def test_decoding_unknown_performative(): function test_incorrect_message (line 518) | def test_incorrect_message(mocked_enforce): class TestDialogues (line 530) | class TestDialogues: method setup_class (line 534) | def setup_class(cls): method test_create_self_initiated (line 541) | def test_create_self_initiated(self): method test_create_opponent_initiated (line 551) | def test_create_opponent_initiated(self): class AgentDialogue (line 562) | class AgentDialogue(LedgerApiDialogue): method __init__ (line 565) | def __init__( class AgentDialogues (line 590) | class AgentDialogues(LedgerApiDialogues): method __init__ (line 593) | def __init__(self, self_address: Address) -> None: class LedgerDialogue (line 619) | class LedgerDialogue(LedgerApiDialogue): method __init__ (line 622) | def __init__( class LedgerDialogues (line 647) | class LedgerDialogues(LedgerApiDialogues): method __init__ (line 650) | def __init__(self, self_address: Address) -> None: FILE: tests/test_packages_for_aea_tests/test_protocols/test_oef_search.py function test_register_service_serialization (line 52) | def test_register_service_serialization(): function test_unregister_service_serialization (line 83) | def test_unregister_service_serialization(): function test_search_services_serialization (line 116) | def test_search_services_serialization(): function test_search_result_serialization (line 147) | def test_search_result_serialization(): function test_success_serialization (line 184) | def test_success_serialization(): function test_oef_error_serialization (line 220) | def test_oef_error_serialization(): function test_oef_type_string_value (line 251) | def test_oef_type_string_value(): function test_oef_error_operation (line 270) | def test_oef_error_operation(): function test_encoding_unknown_performative (line 289) | def test_encoding_unknown_performative(): function test_decoding_unknown_performative (line 303) | def test_decoding_unknown_performative(): function test_incorrect_message (line 323) | def test_incorrect_message(mocked_enforce): function test_agent_info (line 334) | def test_agent_info(): class TestDialogues (line 351) | class TestDialogues: method setup_class (line 355) | def setup_class(cls): method test_create_self_initiated (line 362) | def test_create_self_initiated(self): method test_create_opponent_initiated (line 372) | def test_create_opponent_initiated(self): class BuyerDialogue (line 383) | class BuyerDialogue(OefSearchDialogue): method __init__ (line 386) | def __init__( class BuyerDialogues (line 411) | class BuyerDialogues(OefSearchDialogues): method __init__ (line 414) | def __init__(self, self_address: Address) -> None: class OEFNodeDialogue (line 440) | class OEFNodeDialogue(OefSearchDialogue): method __init__ (line 443) | def __init__( class OEFNodeDialogues (line 468) | class OEFNodeDialogues(OefSearchDialogues): method __init__ (line 471) | def __init__(self, self_address: Address) -> None: FILE: tests/test_packages_for_aea_tests/test_protocols/test_register.py class TestRegisterMessage (line 40) | class TestRegisterMessage: method setup_class (line 44) | def setup_class(cls): method test_register (line 48) | def test_register(self): method test_success (line 58) | def test_success(self): method test_error (line 71) | def test_error(self): function test_consistency_check_negative (line 87) | def test_consistency_check_negative(): function test_serialization_negative (line 95) | def test_serialization_negative(): function test_dialogues (line 116) | def test_dialogues(): class RegisterDialogue (line 125) | class RegisterDialogue(BaseRegisterDialogue): method __init__ (line 128) | def __init__( class RegisterDialogues (line 153) | class RegisterDialogues(BaseRegisterDialogues): method __init__ (line 156) | def __init__(self, self_address: Address) -> None: FILE: tests/test_packages_for_aea_tests/test_protocols/test_signing.py class TestSigningMessage (line 48) | class TestSigningMessage: method setup_class (line 52) | def setup_class(cls): method test_sign_transaction (line 65) | def test_sign_transaction(self): method test_sign_message (line 77) | def test_sign_message(self): method test_signed_transaction (line 89) | def test_signed_transaction(self): method test_signed_message (line 102) | def test_signed_message(self): method test_error_message (line 115) | def test_error_message(self): function test_consistency_check_negative (line 131) | def test_consistency_check_negative(): function test_serialization_negative (line 139) | def test_serialization_negative(): function test_dialogues (line 162) | def test_dialogues(): class SigningDialogue (line 182) | class SigningDialogue(BaseSigningDialogue): method __init__ (line 185) | def __init__( class SigningDialogues (line 210) | class SigningDialogues(BaseSigningDialogues): method __init__ (line 213) | def __init__(self, self_address: Address) -> None: FILE: tests/test_packages_for_aea_tests/test_protocols/test_state_update.py class TestStateUpdateMessage (line 40) | class TestStateUpdateMessage: method test_message_consistency (line 43) | def test_message_consistency(self): method test_message_inconsistency (line 70) | def test_message_inconsistency(self): class TestSerialization (line 87) | class TestSerialization: method test_serialization_initialize (line 90) | def test_serialization_initialize(self): method test_serialization_apply (line 107) | def test_serialization_apply(self): method test_serialization_end (line 122) | def test_serialization_end(self): function test_serialization_negative (line 134) | def test_serialization_negative(): function test_performative_str (line 158) | def test_performative_str(): function test_dialogues (line 164) | def test_dialogues(): class StateUpdateDialogue (line 178) | class StateUpdateDialogue(BaseStateUpdateDialogue): method __init__ (line 181) | def __init__( class StateUpdateDialogues (line 206) | class StateUpdateDialogues(BaseStateUpdateDialogues): method __init__ (line 209) | def __init__(self, self_address: Address) -> None: FILE: tests/test_packages_for_aea_tests/test_protocols/test_tac.py function test_tac_message_instantiation (line 46) | def test_tac_message_instantiation(): function test_register_serialization (line 92) | def test_register_serialization(): function test_unregister_serialization (line 123) | def test_unregister_serialization(): function test_transaction_serialization (line 155) | def test_transaction_serialization(): function test_cancelled_serialization (line 195) | def test_cancelled_serialization(): function test_game_data_serialization (line 225) | def test_game_data_serialization(): function test_transaction_confirmation_serialization (line 265) | def test_transaction_confirmation_serialization(): function test_tac_error_serialization (line 298) | def test_tac_error_serialization(): function test_oef_type_string_value (line 330) | def test_oef_type_string_value(): function test_error_code_to_msg (line 356) | def test_error_code_to_msg(): function test_encoding_unknown_performative (line 393) | def test_encoding_unknown_performative(): function test_decoding_unknown_performative (line 404) | def test_decoding_unknown_performative(): function test_incorrect_message (line 421) | def test_incorrect_message(mocked_enforce): class TestDialogues (line 431) | class TestDialogues: method setup_class (line 435) | def setup_class(cls): method test_create_self_initiated (line 442) | def test_create_self_initiated(self): method test_create_opponent_initiated (line 454) | def test_create_opponent_initiated(self): class AgentDialogue (line 467) | class AgentDialogue(TacDialogue): method __init__ (line 470) | def __init__( class AgentDialogues (line 495) | class AgentDialogues(TacDialogues): method __init__ (line 498) | def __init__(self, self_address: Address) -> None: class ControllerDialogue (line 524) | class ControllerDialogue(TacDialogue): method __init__ (line 527) | def __init__( class ControllerDialogues (line 552) | class ControllerDialogues(TacDialogues): method __init__ (line 555) | def __init__(self, self_address: Address) -> None: FILE: tests/test_packages_for_aea_tests/test_skills/test_echo/test_behaviours.py class TestEchoBehaviour (line 33) | class TestEchoBehaviour(BaseSkillTestCase): method setup (line 40) | def setup(cls): method test_setup (line 48) | def test_setup(self): method test_act (line 61) | def test_act(self): method test_teardown (line 72) | def test_teardown(self): FILE: tests/test_packages_for_aea_tests/test_skills/test_echo/test_dialogues.py class TestDialogues (line 32) | class TestDialogues(BaseSkillTestCase): method setup (line 38) | def setup(cls): method test_default_dialogues (line 45) | def test_default_dialogues(self): FILE: tests/test_packages_for_aea_tests/test_skills/test_echo/test_handlers.py class TestEchoHandler (line 36) | class TestEchoHandler(BaseSkillTestCase): method setup (line 42) | def setup(cls): method test_setup (line 59) | def test_setup(self): method test_handle_unidentified_dialogue (line 69) | def test_handle_unidentified_dialogue(self): method test_handle_error (line 91) | def test_handle_error(self): method test_handle_bytes (line 116) | def test_handle_bytes(self): method test_handle_invalid (line 156) | def test_handle_invalid(self): method test_teardown (line 181) | def test_teardown(self): FILE: tests/test_packages_for_aea_tests/test_skills/test_erc1155_client/intermediate_class.py class ERC1155ClientTestCase (line 63) | class ERC1155ClientTestCase(BaseSkillTestCase): method setup (line 69) | def setup(cls): FILE: tests/test_packages_for_aea_tests/test_skills/test_erc1155_client/test_behaviours.py class TestSearchBehaviour (line 30) | class TestSearchBehaviour(ERC1155ClientTestCase): method test_setup (line 33) | def test_setup(self): method test_act_is_searching (line 51) | def test_act_is_searching(self): method test_act_not_is_searching (line 71) | def test_act_not_is_searching(self): method test_teardown (line 82) | def test_teardown(self): FILE: tests/test_packages_for_aea_tests/test_skills/test_erc1155_client/test_dialogues.py class TestDialogues (line 47) | class TestDialogues(ERC1155ClientTestCase): method test_contract_api_dialogue (line 50) | def test_contract_api_dialogue(self): method test_contract_api_dialogues (line 89) | def test_contract_api_dialogues(self): method test_default_dialogues (line 102) | def test_default_dialogues(self): method test_fipa_dialogues (line 112) | def test_fipa_dialogues(self): method test_ledger_api_dialogues (line 122) | def test_ledger_api_dialogues(self): method test_oef_search_dialogues (line 133) | def test_oef_search_dialogues(self): method test_signing_dialogue (line 143) | def test_signing_dialogue(self): method test_signing_dialogues (line 178) | def test_signing_dialogues(self): FILE: tests/test_packages_for_aea_tests/test_skills/test_erc1155_client/test_handlers.py class TestFipaHandler (line 49) | class TestFipaHandler(ERC1155ClientTestCase): method test_setup (line 52) | def test_setup(self): method test_handle_unidentified_dialogue (line 57) | def test_handle_unidentified_dialogue(self): method test_handle_propose_i (line 93) | def test_handle_propose_i(self): method test_handle_propose_ii (line 174) | def test_handle_propose_ii(self): method test_handle_invalid (line 205) | def test_handle_invalid(self): method test_teardown (line 233) | def test_teardown(self): class TestOefSearchHandler (line 239) | class TestOefSearchHandler(ERC1155ClientTestCase): method test_setup (line 244) | def test_setup(self): method test_handle_unidentified_dialogue (line 249) | def test_handle_unidentified_dialogue(self): method test_handle_error (line 273) | def test_handle_error(self): method test_handle_search_i (line 302) | def test_handle_search_i(self): method test_handle_search_ii (line 358) | def test_handle_search_ii(self): method test_handle_invalid (line 389) | def test_handle_invalid(self): method test_teardown (line 411) | def test_teardown(self): class TestContractApiHandler (line 417) | class TestContractApiHandler(ERC1155ClientTestCase): method test_setup (line 422) | def test_setup(self): method test_handle_unidentified_dialogue (line 427) | def test_handle_unidentified_dialogue(self): method test_handle_raw_message (line 451) | def test_handle_raw_message(self): method test_handle_error (line 509) | def test_handle_error(self): method test_handle_invalid (line 538) | def test_handle_invalid(self): method test_teardown (line 565) | def test_teardown(self): class TestSigningHandler (line 571) | class TestSigningHandler(ERC1155ClientTestCase): method test_setup (line 576) | def test_setup(self): method test_handle_unidentified_dialogue (line 581) | def test_handle_unidentified_dialogue(self): method test_handle_signed_message (line 606) | def test_handle_signed_message( method test_handle_error (line 675) | def test_handle_error(self): method test_handle_invalid (line 703) | def test_handle_invalid(self): method test_teardown (line 728) | def test_teardown(self): class TestLedgerApiHandler (line 734) | class TestLedgerApiHandler(ERC1155ClientTestCase): method test_setup (line 739) | def test_setup(self): method test_handle_unidentified_dialogue (line 744) | def test_handle_unidentified_dialogue(self): method test_handle_balance (line 769) | def test_handle_balance(self): method test_handle_error (line 801) | def test_handle_error(self): method test_handle_invalid (line 830) | def test_handle_invalid(self): method test_teardown (line 856) | def test_teardown(self): FILE: tests/test_packages_for_aea_tests/test_skills/test_erc1155_client/test_strategy.py class TestStrategy (line 33) | class TestStrategy(ERC1155ClientTestCase): method test_properties (line 36) | def test_properties(self): method test_get_location_and_service_query (line 41) | def test_get_location_and_service_query(self): method test_get_service_query (line 66) | def test_get_service_query(self): FILE: tests/test_packages_for_aea_tests/test_skills/test_generic_buyer/test_behaviours.py class TestSearchBehaviour (line 54) | class TestSearchBehaviour(BaseSkillTestCase): method setup (line 60) | def setup(cls): method test_setup_is_ledger_tx (line 73) | def test_setup_is_ledger_tx(self): method test_setup_not_is_ledger_tx (line 91) | def test_setup_not_is_ledger_tx(self): method test_act_is_searching (line 105) | def test_act_is_searching(self): method test_act_not_is_searching (line 125) | def test_act_not_is_searching(self): method test_act_remaining_transactions (line 136) | def test_act_remaining_transactions(self): method test_teardown (line 153) | def test_teardown(self): class TestTransactionBehaviour (line 159) | class TestTransactionBehaviour(BaseSkillTestCase): method setup (line 165) | def setup(cls): method _check_start_processing_effects (line 194) | def _check_start_processing_effects(self_, fipa_dialogue, mock_logger)... method _setup_fipa_ledger_api_dialogues (line 228) | def _setup_fipa_ledger_api_dialogues( method test_setup (line 257) | def test_setup(self): method test_act_i (line 262) | def test_act_i(self): method test_act_ii (line 288) | def test_act_ii(self): method test_act_iii (line 306) | def test_act_iii(self): method test_timeout_processing (line 334) | def test_timeout_processing(self): method test_act_iv (line 345) | def test_act_iv(self): method test_failed_processing (line 357) | def test_failed_processing(self): method test_finish_processing_i (line 382) | def test_finish_processing_i(self): method test_finish_processing_ii (line 395) | def test_finish_processing_ii(self): method test_teardown (line 410) | def test_teardown(self): FILE: tests/test_packages_for_aea_tests/test_skills/test_generic_buyer/test_dialogues.py class TestDialogues (line 52) | class TestDialogues(BaseSkillTestCase): method setup (line 58) | def setup(cls): method test_default_dialogues (line 77) | def test_default_dialogues(self): method test_fipa_dialogue (line 87) | def test_fipa_dialogue(self): method test_fipa_dialogues (line 115) | def test_fipa_dialogues(self): method test_ledger_api_dialogue (line 125) | def test_ledger_api_dialogue(self): method test_ledger_api_dialogues (line 154) | def test_ledger_api_dialogues(self): method test_oef_search_dialogues (line 165) | def test_oef_search_dialogues(self): method test_signing_dialogue (line 175) | def test_signing_dialogue(self): method test_signing_dialogues (line 204) | def test_signing_dialogues(self): FILE: tests/test_packages_for_aea_tests/test_skills/test_generic_buyer/test_handlers.py class TestGenericFipaHandler (line 67) | class TestGenericFipaHandler(BaseSkillTestCase): method setup (line 73) | def setup(cls): method test_setup (line 99) | def test_setup(self): method test_handle_unidentified_dialogue (line 104) | def test_handle_unidentified_dialogue(self): method test_handle_propose_is_affordable_and_is_acceptable (line 137) | def test_handle_propose_is_affordable_and_is_acceptable(self): method test_handle_propose_not_is_affordable_or_not_is_acceptable (line 198) | def test_handle_propose_not_is_affordable_or_not_is_acceptable(self): method test_handle_decline_decline_cfp (line 259) | def test_handle_decline_decline_cfp(self): method test_handle_decline_decline_accept (line 304) | def test_handle_decline_decline_accept(self): method test_handle_match_accept_is_ledger_tx (line 345) | def test_handle_match_accept_is_ledger_tx(self): method test_handle_match_accept_not_is_ledger_tx (line 400) | def test_handle_match_accept_not_is_ledger_tx(self): method test_handle_inform_with_data (line 445) | def test_handle_inform_with_data(self): method test_handle_inform_without_data (line 490) | def test_handle_inform_without_data(self): method test_handle_invalid (line 518) | def test_handle_invalid(self): method test_teardown (line 540) | def test_teardown(self): class TestGenericOefSearchHandler (line 546) | class TestGenericOefSearchHandler(BaseSkillTestCase): method setup (line 553) | def setup(cls): method test_setup (line 569) | def test_setup(self): method test_handle_unidentified_dialogue (line 574) | def test_handle_unidentified_dialogue(self): method test_handle_error (line 594) | def test_handle_error(self): method test_handle_search_zero_agents (line 617) | def test_handle_search_zero_agents(self): method test_handle_search_i (line 641) | def test_handle_search_i(self): method test_handle_search_ii (line 687) | def test_handle_search_ii(self): method test_handle_search_more_than_max_negotiation (line 731) | def test_handle_search_more_than_max_negotiation(self): method test_handle_invalid (line 776) | def test_handle_invalid(self): method test_teardown (line 797) | def test_teardown(self): class TestGenericSigningHandler (line 803) | class TestGenericSigningHandler(BaseSkillTestCase): method setup (line 810) | def setup(cls): method test_setup (line 867) | def test_setup(self): method test_handle_unidentified_dialogue (line 872) | def test_handle_unidentified_dialogue(self): method test_handle_signed_transaction_last_ledger_api_message_is_none (line 894) | def test_handle_signed_transaction_last_ledger_api_message_is_none( method test_handle_signed_transaction_last_ledger_api_message_is_not_none (line 935) | def test_handle_signed_transaction_last_ledger_api_message_is_not_none( method test_handle_error (line 988) | def test_handle_error(self): method test_handle_invalid (line 1054) | def test_handle_invalid(self): method test_teardown (line 1079) | def test_teardown(self): class TestGenericLedgerApiHandler (line 1085) | class TestGenericLedgerApiHandler(BaseSkillTestCase): method setup (line 1092) | def setup(cls): method test_setup (line 1172) | def test_setup(self): method test_handle_unidentified_dialogue (line 1177) | def test_handle_unidentified_dialogue(self): method test_handle_balance_positive_balance (line 1199) | def test_handle_balance_positive_balance(self): method test_handle_balance_zero_balance (line 1238) | def test_handle_balance_zero_balance(self): method test_handle_raw_transaction (line 1276) | def test_handle_raw_transaction(self): method test_handle_transaction_digest (line 1334) | def test_handle_transaction_digest(self): method test_handle_transaction_receipt_i (line 1380) | def test_handle_transaction_receipt_i(self): method test_handle_transaction_receipt_ii (line 1435) | def test_handle_transaction_receipt_ii(self): method test_handle_transaction_receipt_iii (line 1482) | def test_handle_transaction_receipt_iii(self): method test_handle_error (line 1530) | def test_handle_error(self): method test_handle_invalid (line 1559) | def test_handle_invalid(self): method test_teardown (line 1582) | def test_teardown(self): FILE: tests/test_packages_for_aea_tests/test_skills/test_generic_buyer/test_models.py class TestGenericStrategy (line 36) | class TestGenericStrategy(BaseSkillTestCase): method setup (line 42) | def setup(cls): method test_properties (line 77) | def test_properties(self): method test_get_location_and_service_query (line 93) | def test_get_location_and_service_query(self): method test_get_service_query (line 118) | def test_get_service_query(self): method test_is_acceptable_proposal (line 136) | def test_is_acceptable_proposal(self): method test_is_affordable_proposal (line 164) | def test_is_affordable_proposal(self): method test_terms_from_proposal (line 188) | def test_terms_from_proposal(self): FILE: tests/test_packages_for_aea_tests/test_skills/test_generic_seller/test_behaviours.py class TestSkillBehaviour (line 40) | class TestSkillBehaviour(BaseSkillTestCase): method setup (line 47) | def setup(cls): method test_setup_is_ledger_tx (line 67) | def test_setup_is_ledger_tx(self): method test_setup_not_is_ledger_tx (line 112) | def test_setup_not_is_ledger_tx(self): method test_act_i (line 145) | def test_act_i(self): method test_act_ii (line 156) | def test_act_ii(self): method test_act_iii (line 185) | def test_act_iii(self): method test_register_service (line 199) | def test_register_service(self): method test_register_genus (line 227) | def test_register_genus(self): method test_register_classification (line 255) | def test_register_classification(self): method test_teardown (line 283) | def test_teardown(self): FILE: tests/test_packages_for_aea_tests/test_skills/test_generic_seller/test_dialogues.py class TestDialogues (line 49) | class TestDialogues(BaseSkillTestCase): method setup (line 55) | def setup(cls): method test_default_dialogues (line 71) | def test_default_dialogues(self): method test_fipa_dialogue (line 81) | def test_fipa_dialogue(self): method test_fipa_dialogues (line 109) | def test_fipa_dialogues(self): method test_ledger_api_dialogue (line 119) | def test_ledger_api_dialogue(self): method test_ledger_api_dialogues (line 148) | def test_ledger_api_dialogues(self): method test_oef_search_dialogues (line 159) | def test_oef_search_dialogues(self): FILE: tests/test_packages_for_aea_tests/test_skills/test_generic_seller/test_handlers.py class TestGenericFipaHandler (line 59) | class TestGenericFipaHandler(BaseSkillTestCase): method setup (line 65) | def setup(cls): method test_setup (line 94) | def test_setup(self): method test_handle_unidentified_dialogue (line 99) | def test_handle_unidentified_dialogue(self): method test_handle_cfp_is_matching_supply (line 131) | def test_handle_cfp_is_matching_supply(self): method test_handle_cfp_not_is_matching_supply (line 192) | def test_handle_cfp_not_is_matching_supply(self): method test_handle_decline (line 228) | def test_handle_decline(self): method test_handle_accept (line 273) | def test_handle_accept(self): method test_handle_inform_is_ledger_tx_and_with_tx_digest (line 322) | def test_handle_inform_is_ledger_tx_and_with_tx_digest(self): method test_handle_inform_is_ledger_tx_and_no_tx_digest (line 374) | def test_handle_inform_is_ledger_tx_and_no_tx_digest(self): method test_handle_inform_not_is_ledger_tx_and_with_done (line 411) | def test_handle_inform_not_is_ledger_tx_and_with_done(self): method test_handle_inform_not_is_ledger_tx_and_nothin_in_info (line 487) | def test_handle_inform_not_is_ledger_tx_and_nothin_in_info(self): method test_handle_invalid (line 516) | def test_handle_invalid(self): method test_teardown (line 539) | def test_teardown(self): class TestGenericLedgerApiHandler (line 545) | class TestGenericLedgerApiHandler(BaseSkillTestCase): method setup (line 552) | def setup(cls): method test_setup (line 605) | def test_setup(self): method test_handle_unidentified_dialogue (line 610) | def test_handle_unidentified_dialogue(self): method test_handle_balance (line 632) | def test_handle_balance(self): method test_handle_transaction_receipt_is_settled_and_is_valid_last_incoming_fipa_message_is_none (line 669) | def test_handle_transaction_receipt_is_settled_and_is_valid_last_incom... method test_handle_transaction_receipt_is_settled_and_is_valid (line 719) | def test_handle_transaction_receipt_is_settled_and_is_valid(self): method test_handle_transaction_receipt_not_is_settled_or_not_is_valid (line 807) | def test_handle_transaction_receipt_not_is_settled_or_not_is_valid( method test_handle_error (line 861) | def test_handle_error(self): method test_handle_invalid (line 887) | def test_handle_invalid(self): method test_teardown (line 910) | def test_teardown(self): class TestGenericOefSearchHandler (line 916) | class TestGenericOefSearchHandler(BaseSkillTestCase): method setup (line 923) | def setup(cls): method test_setup (line 1024) | def test_setup(self): method test_handle_unidentified_dialogue (line 1029) | def test_handle_unidentified_dialogue(self): method test_handle_success_i (line 1049) | def test_handle_success_i(self): method test_handle_success_ii (line 1077) | def test_handle_success_ii(self): method test_handle_success_iii (line 1105) | def test_handle_success_iii(self): method test_handle_success_iv (line 1133) | def test_handle_success_iv(self): method test_handle_success_v (line 1160) | def test_handle_success_v(self): method test_handle_error_i (line 1187) | def test_handle_error_i(self): method test_handle_error_ii (line 1216) | def test_handle_error_ii(self): method test_handle_invalid (line 1243) | def test_handle_invalid(self): method test_teardown (line 1264) | def test_teardown(self): FILE: tests/test_packages_for_aea_tests/test_skills/test_generic_seller/test_models.py class TestGenericStrategy (line 49) | class TestGenericStrategy(BaseSkillTestCase): method setup (line 55) | def setup(cls): method test_properties (line 84) | def test_properties(self): method test_get_location_description (line 89) | def test_get_location_description(self): method test_get_register_service_description (line 99) | def test_get_register_service_description(self): method test_get_register_personality_description (line 108) | def test_get_register_personality_description(self): method test_get_register_classification_description (line 117) | def test_get_register_classification_description(self): method test_get_service_description (line 126) | def test_get_service_description(self): method test_get_unregister_service_description (line 134) | def test_get_unregister_service_description(self): method test_is_matching_supply (line 142) | def test_is_matching_supply(self): method test_generate_proposal_terms_and_data (line 158) | def test_generate_proposal_terms_and_data(self): method test_collect_from_data_source (line 205) | def test_collect_from_data_source(self): FILE: tests/test_packages_for_aea_tests/test_skills/test_gym/helpers.py function produce_data (line 25) | def produce_data(batch_size) -> Tuple: FILE: tests/test_packages_for_aea_tests/test_skills/test_gym/intermediate_class.py class GymTestCase (line 43) | class GymTestCase(BaseSkillTestCase): method setup (line 49) | def setup(cls): FILE: tests/test_packages_for_aea_tests/test_skills/test_gym/test_dialogues.py class TestDialogues (line 32) | class TestDialogues(GymTestCase): method test_default_dialogues (line 35) | def test_default_dialogues(self): method test_gym_dialogues (line 45) | def test_gym_dialogues(self): FILE: tests/test_packages_for_aea_tests/test_skills/test_gym/test_handlers.py class TestGymHandler (line 34) | class TestGymHandler(GymTestCase): method test__init__ (line 39) | def test__init__(self): method test_setup (line 43) | def test_setup(self): method test_handle_unidentified_dialogue (line 62) | def test_handle_unidentified_dialogue(self): method test_handle_percept_i (line 97) | def test_handle_percept_i(self): method test_handle_percept_ii (line 132) | def test_handle_percept_ii(self): method test_handle_status_i (line 174) | def test_handle_status_i(self): method test_handle_status_ii (line 205) | def test_handle_status_ii(self): method test_handle_invalid (line 243) | def test_handle_invalid(self): method test_teardown (line 264) | def test_teardown(self): FILE: tests/test_packages_for_aea_tests/test_skills/test_gym/test_helpers.py class TestProxyEnv (line 34) | class TestProxyEnv(GymTestCase): method test__init__ (line 39) | def test__init__(self): method test_properties (line 45) | def test_properties(self): method test_step_i (line 57) | def test_step_i(self): method test_step_ii (line 114) | def test_step_ii(self): method test_step_iii (line 160) | def test_step_iii(self): method test_reset_i (line 211) | def test_reset_i(self): method test_reset_ii (line 244) | def test_reset_ii(self): method test_close_i (line 280) | def test_close_i(self): FILE: tests/test_packages_for_aea_tests/test_skills/test_gym/test_rl_agent.py class TestPriceBandit (line 32) | class TestPriceBandit(GymTestCase): method test_sample (line 35) | def test_sample(self): method test_update (line 40) | def test_update(self): class TestGoodPriceModel (line 61) | class TestGoodPriceModel(GymTestCase): method test_update_i (line 64) | def test_update_i(self): method test_update_ii (line 90) | def test_update_ii(self): method test_get_price_expectation (line 116) | def test_get_price_expectation(self): class TestMyRLAgent (line 122) | class TestMyRLAgent(GymTestCase): method test_fit (line 125) | def test_fit(self): FILE: tests/test_packages_for_aea_tests/test_skills/test_gym/test_task.py class TestTask (line 28) | class TestTask(GymTestCase): method test__init__ (line 31) | def test__init__(self): method test_properties (line 36) | def test_properties(self): method test_setup (line 41) | def test_setup(self): method test_execute_i (line 50) | def test_execute_i(self): method test_execute_ii (line 70) | def test_execute_ii(self): method test_teardown (line 85) | def test_teardown(self): FILE: tests/test_packages_for_aea_tests/test_skills/test_weather_station/test_dummy_weather_station_data.py class TestDummyWeatherStationData (line 35) | class TestDummyWeatherStationData(BaseSkillTestCase): method setup (line 41) | def setup(cls): method test_generate (line 46) | def test_generate(self): method test_add_data (line 55) | def test_add_data(self): FILE: tests/test_packages_for_aea_tests/test_skills/test_weather_station/test_registration_db.py class TestDBCommunication (line 35) | class TestDBCommunication(BaseSkillTestCase): method setup (line 41) | def setup(cls): method test_db_connection (line 46) | def test_db_connection(self): method test_get_data_for_specific_dates (line 59) | def test_get_data_for_specific_dates(self): FILE: tests/test_packages_for_aea_tests/test_skills/test_weather_station/test_strategy.py class TestStrategy (line 37) | class TestStrategy(BaseSkillTestCase): method setup (line 43) | def setup(cls): method test_collect_from_data_source (line 53) | def test_collect_from_data_source(self):