titanfe.apps.brick_runner.connection module

Connection objects and its methods: Buffer, Mapping..

class titanfe.apps.brick_runner.connection.BasicConstant(constant)[source]

Bases: titanfe.apps.brick_runner.connection.Constant

A constant of a basic type

to_ujo()[source]

convert the constants value to ujo

class titanfe.apps.brick_runner.connection.Buffer(ujoBuffer=None)[source]

Bases: collections.abc.MutableMapping

A connections buffer of memorized upstream values

classmethod from_dict(buffer_dict)[source]
update_from_result(result, buffer_description)[source]

update the buffer using the information given in the buffer_description

class titanfe.apps.brick_runner.connection.BufferDescription(description_dict)[source]

Bases: collections.abc.Mapping

A connections description of a buffer object

class titanfe.apps.brick_runner.connection.Constant(constant)[source]

Bases: abc.ABC

A constant

abstract to_ujo()[source]

convert the constants value to ujo

class titanfe.apps.brick_runner.connection.MappingRules(rules)[source]

Bases: object

A connections mapping rules

apply(buffer, source, target)[source]

“convert ujo types according to its mapping rules

class titanfe.apps.brick_runner.connection.ObjectConstant(constant)[source]

Bases: titanfe.apps.brick_runner.connection.Constant

A constant of type object

to_ujo()[source]

convert the constants value to ujo

class titanfe.apps.brick_runner.connection.RecordConstant(constant)[source]

Bases: titanfe.apps.brick_runner.connection.Constant

A constant of type record

to_ujo()[source]

convert the constants value to ujo

class titanfe.apps.brick_runner.connection.Rule(rule)[source]

Bases: object

A mapping rule

property is_buffer
property is_const
titanfe.apps.brick_runner.connection.ensure_ujo_key(key)[source]
titanfe.apps.brick_runner.connection.get_constant(constant)[source]

get a constant as a class based on the constants type