From 64054a33b3a67ee606769b4040c259a2d12b4112 Mon Sep 17 00:00:00 2001 From: Stijn Van Campenhout Date: Wed, 27 Nov 2019 13:38:35 +0100 Subject: [PATCH] Add Typechecking --- rmapi/collections.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rmapi/collections.py b/rmapi/collections.py index b57c48f..19cc93c 100644 --- a/rmapi/collections.py +++ b/rmapi/collections.py @@ -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)