UnknownBlock

wire-shape escape hatch

Pass-through wire-shape escape hatch. Use for any Connect block type the typed layer doesn't model yet, the wire JSON round-trips losslessly even without typed setters.

Factories

UnknownBlock

UnknownBlock(type: String, id: String) -> UnknownBlockHandle

Construct an unknown block with the given wire type + id.

ParameterTypeRequiredDescription
typeStringyesWire Type string for the unknown block.
idStringyesWire identifier.

Methods

overwrite_parameters

overwrite_parameters(value: Map) -> UnknownBlockHandle

Set the wire Parameters payload.

ParameterTypeRequiredDescription
valueMapyesParameter blob, emitted as the wire Parameters object.

raw_transitions

raw_transitions(value: Map) -> UnknownBlockHandle

Set the wire Transitions payload.

ParameterTypeRequiredDescription
valueMapyesTransitions blob, emitted as the wire Transitions object.

next

next(target: Handle) -> UnknownBlockHandle

Wire the universal NextAction transition.

ParameterTypeRequiredDescription
targetHandleyesBlock to route to.

on_error_raw

on_error_raw(error_type: String, target: Handle) -> UnknownBlockHandle

Append a raw error handler entry, used when the error type isn't typed.

ParameterTypeRequiredDescription
error_typeStringyesWire error-type string.
targetHandleyesBlock to route to on this error.