Skip to content

Commit 7908c27

Browse files
authored
Add cls to the list of keywords (#1038)
We have one attribute in synthetics named cls which breaks some method calls. Let's add it to the list of keywords.
1 parent 2bc6b34 commit 7908c27

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.generator/src/generator/formatter.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424

2525
KEYWORDS = set(keyword.kwlist)
2626
KEYWORDS.add("property")
27+
KEYWORDS.add("cls")
2728

2829
PATTERN_DOUBLE_UNDERSCORE = re.compile(r"__+")
2930
PATTERN_LEADING_ALPHA = re.compile(r"(.)([A-Z][a-z]+)")

src/datadog_api_client/v1/model/synthetics_core_web_vitals.py

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)