PricingAdapter.__init__()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 7
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1.125

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 7
ccs 1
cts 2
cp 0.5
rs 10
c 0
b 0
f 0
cc 1
nop 3
crap 1.125
1
#!/usr/bin/python
2
# -*- coding: utf-8 -*-
3 1
from kuon.bitskins.api.interfaces import IPricing
4 1
from kuon.watcher.adapters import PricingAdapterBase
5
6
7 1
class PricingAdapter(PricingAdapterBase):
8
    """Adapter for the Pricing Interface of BitSkins"""
9
10 1
    def __init__(self, *args, **kwargs) -> None:
11
        """Initializing function
12
13
        :type args: list
14
        :type kwargs: dict
15
        """
16
        self.pricing_interface = IPricing(*args, **kwargs)
17