def get_monitor_details(monitor):
    if ('HTTP', 'HTTPS') in monitor.type:
        return ("%(http_method)s %(url_path)s => %(codes)s" %
                {'http_method': monitor.http_method,
                 'url_path': monitor.url_path,
                 'codes': monitor.expected_codes})
    else:
        return _("-")
dataset/ETHPy150Open openstack/horizon/openstack_dashboard/dashboards/project/loadbalancers/tables.py/get_monitor_details/swapped operands of `in`