def get_params (self, args):
    params = dict(hours=float(args.hours))

    if args in 'now' and args.now is not None:
      params.update(now=args.now)

    return params
dataset/ETHPy150Open openaps/openaps/openaps/vendors/medtronic.py/iter_glucose_hours.get_params/swapped operands of `in`