Skip to content

Commit fc27412

Browse files
Fix missing assignment
1 parent 9a9c592 commit fc27412

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elasticsearch/esql/esql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def _format_id(id: FieldType, allow_patterns: bool = False) -> str:
140140
if re.fullmatch(r"[a-zA-Z_@][a-zA-Z0-9_\.]*", s):
141141
return s
142142
# this identifier needs to be escaped
143-
s.replace("`", "``")
143+
s = s.replace("`", "``")
144144
return f"`{s}`"
145145

146146
@staticmethod

0 commit comments

Comments
 (0)