MCPcopy Create free account
hub / github.com/ahalev/python-microgrid / iterlist

Method iterlist

src/pymgrid/modules/module_container.py:95–106  ·  view source on GitHub ↗

Iterable of the container's modules as a list. Returns ------- iter : generator Iterator of modules.

(self)

Source from the content-addressed store, hash-verified

93 return l
94
95 def iterlist(self):
96 """
97 Iterable of the container's modules as a list.
98
99 Returns
100 -------
101 iter : generator
102 Iterator of modules.
103
104 """
105 for module in self.to_list():
106 yield module
107
108 def iterdict(self):
109 """

Callers 15

_set_attrMethod · 0.95
compute_net_loadMethod · 0.80
get_priority_listsMethod · 0.80
_get_loadMethod · 0.80
_get_renewableMethod · 0.80
set_forecasterMethod · 0.80
get_forecast_horizonMethod · 0.80
__len__Method · 0.80

Calls 1

to_listMethod · 0.95