@@ -2269,7 +2269,7 @@ class MetricsFindingFilter(FindingFilter):
22692269
22702270 def __init__ (self , * args , ** kwargs ):
22712271 if args [0 ]:
2272- if args [0 ].get ("start_date" , "" ) != "" or args [0 ].get ("end_date" , "" ) != "" :
2272+ if args [0 ].get ("start_date" , "" ) or args [0 ].get ("end_date" , "" ):
22732273 args [0 ]._mutable = True
22742274 args [0 ]["date" ] = 8
22752275 args [0 ]._mutable = False
@@ -2299,7 +2299,7 @@ class MetricsFindingFilterWithoutObjectLookups(FindingFilterWithoutObjectLookups
22992299
23002300 def __init__ (self , * args , ** kwargs ):
23012301 if args [0 ]:
2302- if args [0 ].get ("start_date" , "" ) != "" or args [0 ].get ("end_date" , "" ) != "" :
2302+ if args [0 ].get ("start_date" , "" ) or args [0 ].get ("end_date" , "" ):
23032303 args [0 ]._mutable = True
23042304 args [0 ]["date" ] = 8
23052305 args [0 ]._mutable = False
@@ -2388,7 +2388,7 @@ class MetricsEndpointFilter(MetricsEndpointFilterHelper):
23882388
23892389 def __init__ (self , * args , ** kwargs ):
23902390 if args [0 ]:
2391- if args [0 ].get ("start_date" , "" ) != "" or args [0 ].get ("end_date" , "" ) != "" :
2391+ if args [0 ].get ("start_date" , "" ) or args [0 ].get ("end_date" , "" ):
23922392 args [0 ]._mutable = True
23932393 args [0 ]["date" ] = 8
23942394 args [0 ]._mutable = False
@@ -2550,7 +2550,7 @@ class MetricsEndpointFilterWithoutObjectLookups(MetricsEndpointFilterHelper, Fin
25502550
25512551 def __init__ (self , * args , ** kwargs ):
25522552 if args [0 ]:
2553- if args [0 ].get ("start_date" , "" ) != "" or args [0 ].get ("end_date" , "" ) != "" :
2553+ if args [0 ].get ("start_date" , "" ) or args [0 ].get ("end_date" , "" ):
25542554 args [0 ]._mutable = True
25552555 args [0 ]["date" ] = 8
25562556 args [0 ]._mutable = False
0 commit comments