Skip to content

Commit 49c94ff

Browse files
author
Jon
committed
Fix comment
1 parent dc15d3e commit 49c94ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

codegen/lco/generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def get_extra_params_fields(extra_params_validation_schema: dict) -> dict:
4444
# Add description to Annotated field. Annotated fields must have at least 2 properties.
4545
field_class += f', "{properties.get("description", "")}"]'
4646
if not properties.get("required", False) and "default" not in properties:
47-
# The field is considered optional if it doesn't have a default or required is set to True
47+
# The field is considered optional if it doesn't have a default or required is not set to True
4848
field_class += " | None = None"
4949
elif "default" in properties:
5050
# If a default value is present, provide it

0 commit comments

Comments
 (0)