Any BlockanyMiscfrom gnuradio import gr$block_maker()Descblock_descstringMakerblock_makerstringNum Inputsnum_inputs1intNum Outputsnum_outputs1intlen("$block_maker()") > 0in$num_inputs
Supports any generic Python GR block - just type the raw maker code/function into 'Maker'.
'Desc' is so that you can recognise what this block does when glancing at the flow graph.
This block wraps a GR block with at least one source AND at least one sink.
Don't forget to use the Import block to import the necessary Python packages for your 'Maker' function!