Skip to content

Commit fab4fab

Browse files
committed
Merge branch 'main' of github.com:databricks/databricks-sdk-py into gkiko10/JOBS-19305
2 parents 0abf0de + c3d1db5 commit fab4fab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.codegen/error_overrides.py.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ _ALL_OVERRIDES = [
1111
debug_name="{{.Name}}",
1212
path_regex=re.compile(r'{{.PathRegex}}'),
1313
verb="{{.Verb}}",
14-
status_code_matcher=re.compile(r'{{.StatusCodeMatcher}}'),
15-
error_code_matcher=re.compile(r'{{.ErrorCodeMatcher}}'),
16-
message_matcher=re.compile(r'{{.MessageMatcher}}'),
14+
status_code_matcher=re.compile(r'{{replaceAll "'" "\\'" .StatusCodeMatcher}}'),
15+
error_code_matcher=re.compile(r'{{replaceAll "'" "\\'" .ErrorCodeMatcher}}'),
16+
message_matcher=re.compile(r'{{replaceAll "'" "\\'" .MessageMatcher}}'),
1717
custom_error={{.OverrideErrorCode.PascalName}},
1818
),
1919
{{- end }}

0 commit comments

Comments
 (0)