crossbar.shell.idl.loader

Attributes

Functions

extract_attributes(item[, allowed_attributes])

extract_docs(item)

read_reflection_schema(buf[, log])

Read a binary FlatBuffers buffer that is typed according to the FlatBuffers

Module Contents

EXTRACT_ATTRS_RAW = False[source]
INTERFACE_ATTRS = ['type', 'uuid'][source]
INTERFACE_MEMBER_ATTRS = ['type', 'stream'][source]
INTERFACE_MEMBER_STREAM_VALUES = [None, 'in', 'out', 'inout'][source]
INTERFACE_MEMBER_TYPES = ['procedure', 'topic'][source]
_BASETYPE_ID2NAME[source]
extract_attributes(item, allowed_attributes=None)[source]
extract_docs(item)[source]
parser[source]
read_reflection_schema(buf, log=None)[source]

Read a binary FlatBuffers buffer that is typed according to the FlatBuffers reflection schema.

The function returns extracted information in a plain, JSON serializable dict.