Passed
Push — master ( 849c80...dd2f8f )
by Steffen
01:24
created

SalesAdapterBase.search()   A

Complexity

Conditions 1

Size

Total Lines 8

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
c 1
b 0
f 1
dl 0
loc 8
rs 9.4285
1
#!/usr/bin/python
2
# -*- coding: utf-8 -*-
3
4
from abc import ABCMeta, abstractmethod
5
6
7
class SalesAdapterBase:
8
    __metaclass__ = ABCMeta
9
10
    @abstractmethod
11
    def search(self, market_name):
12
        """Search for a specific item
13
14
        :param market_name:
15
        :return:
16
        """
17
        pass
18