Update netbox/extras/conditions.py

This commit is contained in:
Jeremy Stretch 2023-02-13 17:23:21 -05:00 committed by GitHub
parent 90d595066d
commit 7e493f2935
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,7 @@ class Condition:
int: (EQ, GT, GTE, LT, LTE, CONTAINS), int: (EQ, GT, GTE, LT, LTE, CONTAINS),
float: (EQ, GT, GTE, LT, LTE, CONTAINS), float: (EQ, GT, GTE, LT, LTE, CONTAINS),
list: (EQ, IN, CONTAINS), list: (EQ, IN, CONTAINS),
type(None): (EQ) type(None): (EQ,)
} }
def __init__(self, attr, value, op=EQ, negate=False): def __init__(self, attr, value, op=EQ, negate=False):