fix: 移除inline DictObject import避免local variable错误
This commit is contained in:
parent
2b8f057096
commit
485ecf343e
@ -641,7 +641,6 @@ order by b.enabled_date desc"""
|
||||
f = d.fields.get(fk)
|
||||
if not f:
|
||||
if isinstance(fv, str) and any(op in fv for op in ('~=', '=~', '~', '=~=')):
|
||||
from appPublic.dictObject import DictObject
|
||||
f = DictObject(type='float', value_mode='between')
|
||||
else:
|
||||
continue
|
||||
@ -692,7 +691,6 @@ order by b.enabled_date desc"""
|
||||
f = d.fields.get(fk)
|
||||
if not f:
|
||||
if isinstance(fv, str) and any(op in fv for op in ('~=', '=~', '~', '=~=')):
|
||||
from appPublic.dictObject import DictObject
|
||||
f = DictObject(type='float', value_mode='between')
|
||||
else:
|
||||
continue
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user