Skip to content

Commit 762f020

Browse files
committed
fix: added more exceptions in reserved words
1 parent 47cfdec commit 762f020

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openapi_python_client/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def split_words(value: str) -> List[str]:
4848
return re.findall(rf"[^{DELIMITERS}]+", value)
4949

5050

51-
RESERVED_WORDS = (set(dir(builtins)) | {"self", "true", "false", "datetime"}) - {"type", "id"}
51+
RESERVED_WORDS = (set(dir(builtins)) | {"self", "true", "false", "datetime"}) - {"type", "id", "input", "min", "max"}
5252

5353

5454
def fix_reserved_words(value: str) -> str:

0 commit comments

Comments
 (0)