def get_autoscaler(gce, name, zone):
 try:
  return gce.ex_get_autoscaler(name, zone)
 except ResourceNotFoundError:
  return None

def get_autoscaler ( gce , name , zone ) : try : return gce . ex_get_autoscaler ( name , zone ) except ResourceNotFoundError : return None
get an autoscaler from gce .