autonomy.data.Dockerfiles.dev.watcher
Watcher script and wrapper container for agent.
write
def write(line: str) -> None
Write to console.
call_
vote
def call_vote() -> None
Call vote.
Since there's a lot of resource sharing between docker containers one of the
environments can fallback during base_setup
so to make sure there's no error
caused by one of the agents left behind this method will help.
AEARunner Objects
class AEARunner()
AEA Runner.
process
nosec
__
init__
def __init__() -> None
Initialize runner.
restart_
tendermint
@staticmethod
def restart_tendermint() -> None
Restart respective tendermint node.
start
def start() -> None
Start AEA process.
stop
def stop() -> None
Stop AEA process.
EventHandler Objects
class EventHandler(FileSystemEventHandler)
Handle file updates.
__
init__
def __init__(aea_runner: AEARunner,
fingerprint_on_restart: bool = True) -> None
Initialize object.
fingerprint_
item
@staticmethod
def fingerprint_item(src_path: str) -> None
Fingerprint items.
clean_
up
@staticmethod
def clean_up() -> None
Clean up from previous run.
on_
any_
event
def on_any_event(event: FileSystemEvent) -> None
This method reloads the agent when a change is detected in *.py file.