Make View timeout parameter keyword-only
This commit is contained in:
parent
f6ea03230e
commit
04573c3c06
@ -144,7 +144,7 @@ class View:
|
|||||||
|
|
||||||
cls.__view_children_items__ = children
|
cls.__view_children_items__ = children
|
||||||
|
|
||||||
def __init__(self, timeout: Optional[float] = 180.0):
|
def __init__(self, *, timeout: Optional[float] = 180.0):
|
||||||
self.timeout = timeout
|
self.timeout = timeout
|
||||||
self.children: List[Item] = []
|
self.children: List[Item] = []
|
||||||
for func in self.__view_children_items__:
|
for func in self.__view_children_items__:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user