[sync] updated: config based; async loop; Documents adopted to new system

This commit is contained in:
Roman Timashev committed 2017-09-10 22:12:09 +03:00
1 parent b0b518fd8c
commit 06965bebee
23 files changed
+1078 -346

No files matched your search

+20 -1
View File
@@ -1,6 +1,25 @@
class Model:
def __init__(self):
def __init__(self, provider, store, file):
super().__init__()
self.provider = provider
self.store = store
self.file = file
self.id = None
self.url = None
self.hash = None
self.init()
def init(self):
pass
def bake(self):
return None
async def is_changed(self):
return False
async def save(self):
pass