Skip to content

Commit dac1cd7

Browse files
committed
Fix CFNProjectMain extend argument type
This method is a wrapper around the stack extend method and should expect the same type of argument.
1 parent 6ad59a4 commit dac1cd7

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)