hutch_python.utils.HelpfulNamespace¶
- class hutch_python.utils.HelpfulNamespace(**kwargs)¶
SimpleNamespace
that can be iterated over, with a fancy table repr.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__(**kwargs)¶
Methods
__init__
(**kwargs)