Sapan Bhatia | 26d40bc | 2014-05-12 15:28:02 -0400 | [diff] [blame] | 1 | import os |
2 | import base64 | ||||
Scott Baker | 76a840e | 2015-02-11 21:38:09 -0800 | [diff] [blame] | 3 | from xos.config import Config |
Sapan Bhatia | 26d40bc | 2014-05-12 15:28:02 -0400 | [diff] [blame] | 4 | |
5 | class Deleter: | ||||
6 | model=None # Must be overridden | ||||
7 | |||||
8 | def __init__(self, *args, **kwargs): | ||||
9 | pass | ||||
10 | |||||
11 | def call(self, pk, model_dict): | ||||
12 | # Fetch object from PlanetStack db and delete it | ||||
13 | pass | ||||
14 | |||||
15 | def __call__(self, *args, **kwargs): | ||||
16 | return self.call(*args, **kwargs) |