Skip to content

Commit dc31440

Browse files
authored
Set default value (#322)
# Motivation <!-- Why is this change necessary? --> # Content <!-- Please include a summary of the change --> # Testing <!-- How was the change tested? --> # Please check the following before marking your PR as ready for review - [ ] I have added tests for my changes - [ ] I have updated the documentation or added new documentation as needed
1 parent f6351b0 commit dc31440

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codegen/sdk/core/symbol_groups/collection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def __len__(self) -> int:
9494
return self._elements + self._inserts_till()
9595

9696
@writer
97-
def remove(self, value: Child | None, *args, **kwargs) -> None:
97+
def remove(self, value: Child | None = None, *args, **kwargs) -> None:
9898
"""Removes an element from a Collection.
9999
100100
Deletes the specified element from the Collection by calling its remove method. If no value is specified,

0 commit comments

Comments
 (0)