ResultDTO.__init__()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
# -*- coding: utf-8 -*-
2
3
4
class ResultDTO:
5
    '''
6
    A DTO for returning results
7
    '''
8
9
    def __init__(self, data, total, aggregations=None):
10
        self.data = data
11
        self.total = total
12
        self.aggregations = aggregations
13