hutch_python.utils.IterableNamespace¶
-
class
hutch_python.utils.
IterableNamespace
¶ SimpleNamespace
that can be iterated through.This means we can call funtions like
list
on these objects to see all of their contents, we can put them intofor loops
, and we can use them ingenerator expressions
.This class also has the added feature where
len
will correctly tell you the number of objects in thenamespace
.-
__init__
(*args, **kwargs)¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
(*args, **kwargs)Initialize self.
-