mirror of
https://github.com/subutux/rmapy.git
synced 2025-12-08 14:43:24 +00:00
Add Typechecking
This commit is contained in:
@@ -17,7 +17,7 @@ class Collection(object):
|
||||
|
||||
items: List[DocumentOrFolder] = []
|
||||
|
||||
def __init__(self, *items):
|
||||
def __init__(self, *items: List[DocumentOrFolder]):
|
||||
for i in items:
|
||||
self.items.append(i)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user