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