1
class FetchClient(object):
2
'''The fetch client, will be usable both with local and remote.
3
The auto-fetch and auto-check feature will be used through the global preference.
6
def __init__(self, model):
7
'''model represent the model name, such as scripts, templates'''
10
def _fetch_data(self, model):
13
def check_connection(self):
16
def check_remote_data(self):
19
def fetch_remote_data(self):
22
def check_local_data(self):
25
def fetch_local_data(self):