Skip to content

Commit

Permalink
Add back the upstream Python change for optional attribute default to…
Browse files Browse the repository at this point in the history
… be False.
  • Loading branch information
FragmentedPacket committed Dec 23, 2024
1 parent 2adbb26 commit 1c8a013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/infrahub/core/schema/definitions/internal.py
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ def to_dict(self) -> dict[str, Any]:
name="optional",
kind="Boolean",
description="Indicate if this attribute is mandatory or optional.",
default_value=True,
default_value=False,
override_default_value=False,
optional=True,
extra={"update": UpdateSupport.VALIDATE_CONSTRAINT},
Expand Down

0 comments on commit 1c8a013

Please sign in to comment.