Skip to content

aea.manager.helpers

Project helper tools.

AEAProject Objects

class AEAProject()

A context manager class to create and delete an AEA project.

__init__

def __init__(name: str = "my_aea", parent_dir: Optional[str] = None)

Initialize an AEA project.

Arguments:

  • name: the name of the AEA project.
  • parent_dir: the parent directory.

__enter__

def __enter__() -> None

Create and enter into the project.

__exit__

def __exit__(exc_type, exc_val, exc_tb) -> None

Exit the context manager.

run_cli

@staticmethod
def run_cli(*args: Any, **kwargs: Any) -> None

Run a CLI command.

run_aea

@classmethod
def run_aea(cls, *args: Any, **kwargs: Any) -> None

Run an AEA command.

Arguments:

  • args: the AEA command
  • kwargs: keyword arguments to subprocess function