Skip to content

Commit 76bb114

Browse files
committed
Merge branch 'mr/trespeuch/extend-type' into 'master'
Fix CFNProjectMain extend argument type See merge request it/e3-aws!87
2 parents 6ad59a4 + dac1cd7 commit 76bb114

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/e3/aws/troposphere/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ def add(self, element: AWSObject | Construct | Stack) -> Stack:
408408
"""
409409
return self.stack.add(element)
410410

411-
def extend(self, elements: list[AWSObject | Construct | Stack]) -> Stack:
411+
def extend(self, elements: Iterable[AWSObject | Construct | Stack]) -> Stack:
412412
"""Add resources to project's stack.
413413
414414
:param elements: resources to add to the stack.

0 commit comments

Comments
 (0)