kuon.watcher.adapters.bitskins.pricing_adapter   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Test Coverage

Coverage 80%

Importance

Changes 0
Metric Value
wmc 1
eloc 6
dl 0
loc 17
ccs 4
cts 5
cp 0.8
rs 10
c 0
b 0
f 0

1 Method

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