id: blocks_or_xx label: Or parameters: - id: type label: IO Type dtype: enum options: [int, short, byte] option_attributes: fcn: [ii, ss, bb] hide: part - id: num_inputs label: Num Inputs dtype: int default: '2' hide: part inputs: - domain: stream dtype: ${ type } multiplicity: ${ num_inputs } outputs: - domain: stream dtype: ${ type } asserts: - ${ num_inputs >= 2 } templates: imports: from gnuradio import blocks make: blocks.or_${type.fcn}() file_format: 1