packages.valory.skills.abstract_
round_
abci.behaviours
This module contains the behaviours for the 'abstract_round_abci' skill.
_
MetaRoundBehaviour Objects
class _MetaRoundBehaviour(ABCMeta)
A metaclass that validates AbstractRoundBehaviour's attributes.
__
new__
def __new__(mcs, name: str, bases: Tuple, namespace: Dict,
**kwargs: Any) -> Type
Initialize the class.
AbstractRoundBehaviour Objects
class AbstractRoundBehaviour(Behaviour,
ABC,
Generic[EventType],
metaclass=_MetaRoundBehaviour)
This behaviour implements an abstract round behaviour.
__
init__
def __init__(**kwargs: Any) -> None
Initialize the behaviour.
instantiate_
behaviour_
cls
def instantiate_behaviour_cls(behaviour_cls: BehaviourType) -> BaseBehaviour
Instantiate the behaviours class.
is_
background_
behaviour_
set
@property
def is_background_behaviour_set() -> bool
Returns whether the background behaviour is set.
setup
def setup() -> None
Set up the behaviours.
teardown
def teardown() -> None
Tear down the behaviour
act
def act() -> None
Implement the behaviour.