- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
class StreamRailBase:
__metaclass__ = ABCMeta
def __init__(self): pass
# @abstractmethod
# def create_connection(self): pass
#
# @abstractmethod
# def send_to_sr(self, method, path, params=None): pass
# @abstractmethod
# def get_advertisers(self): pass
#
# @abstractmethod
# def get_targeting_conditions(self, env, geos, os, size, white_list, black_list): pass
#
# @abstractmethod
# def create_ad_source(self, name, price, partner, tag_url, env, geos, os, size, req_cap, imp_cap, white_list=None, black_list=None): pass
#
# @abstractmethod
# def create_sr_tag(self, tag_instance): pass
#
# @abstractmethod
# def create_domain_list(self, f, list_type, adsource_name): pass
#
# @abstractmethod
# def activate_adsource(self, adsource_id): pass
#
# @abstractmethod
# def deactivate_adsource(self, adsource_id): pass
#
# @abstractmethod
# def set_caps(self, params, new_req_cap, new_imp_cap): pass
#
# @abstractmethod
# def set_geos(self, params, new_geos): pass
#
# @abstractmethod
# def edit_domain_list(self, f, list_id): pass
#
# @abstractmethod
# def set_list(self, params, new_list, list_type): pass
#
# @abstractmethod
# def set_size(self, params, size): pass
#
# @abstractmethod
# def edit_adsource(self, tag_instance, form_data): pass
#
# @abstractmethod
# def create_new_partner(self, name): pass
#
# @abstractmethod
# def sync_tag(self, tag_instance): pass
#
# @abstractmethod
# def add_new_tag_to_template(self, tag_name, price, tag_id, adv_id): pass
В человеке умер рахитектор, и в отчаянии, он закомитил эту хуйню в мастер.
gost 09.07.2017 12:56 # 0
create_universe(), упрощенный вариант?
sos 09.07.2017 15:14 # 0
wvxvw 10.07.2017 16:00 # 0
Все это сверху украшено умелым использованием системы контроля версий.
ProgRamistYshka 20.07.2017 17:37 # 0