Commit 92bc6f12 authored by Yannick Roehlly's avatar Yannick Roehlly
Browse files

Add a SED generator to the warehouse

Add a method to generate SED corresponding to a list of modules and
parameter sets, one at a time to the warehouse.
parent 3b0e0e61
......@@ -107,6 +107,14 @@ class SedWarehouse(object):
return sed
def sed_generator(self, module_list, list_of_parameter_list):
"""Generator to yield SED corresponding to a module list and a list
of parameter lists, one at a time.
"""
for parameter_list in list_of_parameter_list:
yield self.get_sed(module_list, parameter_list)
def close(self):
""" Close the underlying storage if needed """
self.storage.close()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment