aea.protocols.generator.extract_
specification
This module extracts a valid protocol specification into pythonic objects.
PythonicProtocolSpecification Objects
class PythonicProtocolSpecification()
This class represents a protocol specification in python.
__
init__
def __init__() -> None
Instantiate a Pythonic protocol specification.
extract
def extract(
protocol_specification: ProtocolSpecification
) -> PythonicProtocolSpecification
Converts a protocol specification into a Pythonic protocol specification.
Arguments:
protocol_specification
: a protocol specification
Returns:
a Pythonic protocol specification