File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
uncoder-core/app/translator/platforms/elasticsearch Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 30
30
from app .translator .platforms .elasticsearch .escape_manager import ESQLQueryEscapeManager , esql_query_escape_manager
31
31
32
32
33
- class ESQLQueryStrValueManager (StrValueManager ):
33
+ class ESQLStrValueManager (StrValueManager ):
34
34
escape_manager : ESQLQueryEscapeManager = esql_query_escape_manager
35
35
re_str_alpha_num_symbols_map : ClassVar [dict [str , type [BaseSpecSymbol ]]] = {
36
36
"w" : ReWordSymbol ,
@@ -39,13 +39,13 @@ class ESQLQueryStrValueManager(StrValueManager):
39
39
}
40
40
41
41
42
- class EQLQueryStrValueManager (StrValueManager ):
42
+ class EQLStrValueManager (StrValueManager ):
43
43
str_spec_symbols_map : ClassVar [dict [str , type [BaseSpecSymbol ]]] = {"*" : SingleSymbolWildCard }
44
44
45
45
def from_str_to_container (self , value : str ) -> StrValue :
46
46
split = [self .str_spec_symbols_map [char ]() if char in self .str_spec_symbols_map else char for char in value ]
47
47
return StrValue (value , self ._concat (split ))
48
48
49
49
50
- esql_query_str_value_manager = ESQLQueryStrValueManager ()
51
- eql_str_value_manager = EQLQueryStrValueManager ()
50
+ esql_str_value_manager = ESQLStrValueManager ()
51
+ eql_str_value_manager = EQLStrValueManager ()
You can’t perform that action at this time.
0 commit comments