Completed
Push — master ( a1e8f3...b95acc )
by Oleksandr
02:23
created

Refly

Complexity

Total Complexity 0

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 0
c 1
b 0
f 0
dl 0
loc 19
ccs 5
cts 5
cp 1
1
# coding: utf-8
2
3 1
from schematics.models import Model
4 1
from schematics.types import BooleanType, IntType, FloatType
5
6
7 1
class Refly(Model):
8 1
    is_disabled = BooleanType(
9
        default=False,
10
        required=True,
11
    )
12 1
    kia_delay = IntType(
13
        min_value=0,
14
        default=0,
15
        required=True,
16
    )
17 1
    kia_delay_multiplier = FloatType(
18
        min_value=0.0,
19
        default=0.0,
20
        required=True,
21
    )
22 1
    max_kia = IntType(
23
        min_value=-1,
24
        default=-1,
25
        required=True,
26
    )
27