Skip to content

Commit

Permalink
Fix type hints for base methods in repeating.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jsfehler committed Jan 15, 2021
1 parent a2af0b0 commit e11cfcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stere/areas/repeating.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def __init__(self, root, repeater):
self.repeater = repeater
self.repeater_name = type(self.repeater).__name__

def new_container(self) -> typing.List:
def new_container(self) -> typing.Any:
"""Must return an object to contain results from Repeater.children()
By default a list is returned.
Expand Down Expand Up @@ -98,7 +98,7 @@ def _all_roots(self):
)
return all_roots

def children(self) -> typing.List:
def children(self) -> typing.Any:
"""Find all instances of the root,
then return a collection containing children built from those roots.
Expand Down

0 comments on commit e11cfcc

Please sign in to comment.