new method 'delete' in storage and config
This commit is contained in:
parent
bf754b1859
commit
ebe29a061f
6 changed files with 37 additions and 0 deletions
|
|
@ -44,6 +44,10 @@ class ApplicationStorage(object):
|
|||
if self.storage:
|
||||
return self.storage.set('applications', self.name, *args)
|
||||
|
||||
def delete(self, *args):
|
||||
if self.storage:
|
||||
return self.storage.delete('applications', self.name, *args)
|
||||
|
||||
def get(self, *args, **kwargs):
|
||||
if self.storage:
|
||||
return self.storage.get('applications', self.name, *args, **kwargs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue