Esempio n. 1
0
    def __init__(self, list_of_entities_to_store):
        """
        Expacts a list of 'DataType' instances.
        """
        ABCAdapter.__init__(self)
        if (list_of_entities_to_store is None 
            or not isinstance(list_of_entities_to_store, list) 
            or len(list_of_entities_to_store) == 0):
            raise Exception("The adapter expacts a list of entities")

        self.list_of_entities_to_store = list_of_entities_to_store
Esempio n. 2
0
    def __init__(self, list_of_entities_to_store):
        """
        Expacts a list of 'DataType' instances.
        """
        ABCAdapter.__init__(self)
        if (list_of_entities_to_store is None 
            or not isinstance(list_of_entities_to_store, list) 
            or len(list_of_entities_to_store) == 0):
            raise Exception("The adapter expacts a list of entities")

        self.list_of_entities_to_store = list_of_entities_to_store
 def __init__(self, available_models):
     ABCAdapter.__init__(self)
     self.available_models = available_models
Esempio n. 4
0
 def __init__(self):
     ABCAdapter.__init__(self)
Esempio n. 5
0
 def __init__(self):
     ABCAdapter.__init__(self)
     self.matlab_worker = MatlabWorker()
 def __init__(self, available_models):
     ABCAdapter.__init__(self)
     self.available_models = available_models
Esempio n. 7
0
 def __init__(self):
     ABCAdapter.__init__(self)