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