Skip to content
Snippets Groups Projects
Commit 8fd5ba9a authored by Alán Muñoz's avatar Alán Muñoz
Browse files

type(abc): add typing to base class

parent d7d53c6a
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment