[sync] updated: config based; async loop; Documents adopted to new system
This commit is contained in:
1 parent
b0b518fd8c
commit
06965bebee
23 files changed
+1078
-346
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user