mirror of
https://github.com/subutux/rmapy.git
synced 2025-12-08 14:43:24 +00:00
Change Collection.items to instance variable (#8)
fix: Change Collection.items to instance variable
This commit is contained in:
@@ -15,9 +15,9 @@ class Collection(object):
|
||||
items: A list containing the items.
|
||||
"""
|
||||
|
||||
items: List[DocumentOrFolder] = []
|
||||
|
||||
def __init__(self, *items: List[DocumentOrFolder]):
|
||||
self.items: List[DocumentOrFolder] = []
|
||||
|
||||
for i in items:
|
||||
self.items.append(i)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user