ResultDTO   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 9
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __init__() 0 4 1
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