From 3a2478e4441cb414e2a7da0b11e82fd61e84337d Mon Sep 17 00:00:00 2001 From: "Marios S. Kyriakou" Date: Thu, 20 Jun 2024 17:55:25 +0300 Subject: [PATCH] Update epanet.py --- epyt/epanet.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/epyt/epanet.py b/epyt/epanet.py index ab192ba..b8ba643 100644 --- a/epyt/epanet.py +++ b/epyt/epanet.py @@ -13297,6 +13297,8 @@ def getAllAttributes(self, obj): """ attributes = [] def recurse_attrs(obj): + for k, v in obj.__dict__.items(): + attributes.append((k, v)) if hasattr(v, '__dict__'): recurse_attrs(v)