From 8fd5ba9a1f80239ee70cbd49c6ccad20a623fca5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Al=C3=A1n=20Mu=C3=B1oz?= <alan.munoz@ed.ac.uk> Date: Wed, 7 Sep 2022 11:39:19 +0100 Subject: [PATCH] type(abc): add typing to base class --- abc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abc.py b/abc.py index ba6bcd5e..2c32876e 100644 --- a/abc.py +++ b/abc.py @@ -29,7 +29,7 @@ class ParametersABC(ABC): for k, v in kwargs.items(): setattr(self, k, v) - def to_dict(self, iterable="null"): + def to_dict(self, iterable="null") -> t.Dict: """ Recursive function to return a nested dictionary of the attributes of the class instance. -- GitLab