Variadic argument version of :func:`~eth.tools.builder.chain.import_block`

def import_blocks(*blocks: BaseBlock) -> Callable[[BaseChain], BaseChain]:
    """
    Variadic argument version of :func:`~eth.tools.builder.chain.import_block`
    """
    @functools.wraps(import_blocks)
    def _import_blocks(chain: BaseChain) -> BaseChain:
        for block in blocks:
            chain.import_block(block)
        return chain

    return _import_blocks