mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-26 09:16:10 -06:00
Update netbox/extras/conditions.py
This commit is contained in:
parent
90d595066d
commit
7e493f2935
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user