File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- Fix branch handling in ` _run_transform ` and ` execute_graphql_query ` functions in Infrahubctl to use environment variables for branch management.
1+ Fix branch handling in ` _run_transform ` and ` execute_graphql_query ` functions in Infrahubctl to use environment variables for branch management.
Original file line number Diff line number Diff line change 1- Allow the ability to clear optional dropdown attributes by setting them to None.
1+ Allow the ability to clear optional attributes by setting them to None if they have been mutated by the user .
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ def _generate_input_data(self) -> dict | None:
7676 variables : dict [str , Any ] = {}
7777
7878 if self .value is None :
79- if self ._schema .kind == "Dropdown" and self ._schema . optional :
79+ if self ._schema .optional and self .value_has_been_mutated :
8080 data ["value" ] = None
8181 return data
8282
You can’t perform that action at this time.
0 commit comments