Beispiel #1
0
    def __init__(self, _id):
        """
        :param cow: The cow the view of is generated.
        :type cow: int
        """

        super().__init__('production')

        self.title = 'Crude production'
        self.cow = mongo.cow(_id)
Beispiel #2
0
    def __init__(self, _id):
        """
        :param cow: The cow the view of is generated.
        :type cow: int
        """

        super().__init__('production')

        self.title = 'Crude production'
        self.cow = mongo.cow(_id) 
Beispiel #3
0
    def __init__(self, path, title, _ids, type_):
        super().__init__(join(path, type_))

        self.title = title
        self._ids = _ids
        self.cow = mongo.cow(_ids[0][LABELS['values']])
Beispiel #4
0
    def __init__(self, path, title, _ids, type_):
        super().__init__(join(path, type_))

        self.title = title
        self._ids = _ids
        self.cow = mongo.cow(_ids[0][LABELS['values']]) 
Beispiel #5
0
    def __init__(self, path, title, _ids):
        super().__init__(join(path, 'smoothed'))

        self.title = title
        self._ids = _ids
        self.cow = mongo.cow(_ids[0])
Beispiel #6
0
    def __init__(self, path, title, _ids):
        super().__init__(join(path, 'differenced'))

        self.title = title
        self._ids = _ids
        self.cow = mongo.cow(_ids[0])