def follow(gandi, resource):
    """ Get the operation status

    Resource is an operation ID
    """
    oper = gandi.oper.info(int(resource))
    assert(oper['type'].startswith('certificate_'))
    output_cert_oper(gandi, oper)
    return oper
Get the operation status

    Resource is an operation ID