for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
#!/usr/bin/python
# -*- coding: utf-8 -*-
from abc import ABCMeta, abstractmethod
class SalesAdapterBase:
__metaclass__ = ABCMeta
@abstractmethod
def search(self, market_name):
"""Search for a specific item
:param market_name:
:return:
"""
pass
def search_no_delay(self, market_name):
"""Search for a specific item without delay (some APIs delay responses to prevent bot sniping, use workarounds)