blob: e088558d0cfae443219ababaa556cc725847aeed [file] [log] [blame]
Sapan Bhatiadbaf1932013-09-03 11:28:52 -04001import os
2import base64
3from planetstack.config import Config
4
5class Deleter:
6 model=None # Must be overridden
7
Scott Baker6ecd4262014-01-21 23:15:21 -08008 def __init__(self, *args, **kwargs):
9 pass
10
11 def call(self, pk, model_dict):
Sapan Bhatiadbaf1932013-09-03 11:28:52 -040012 # Fetch object from PlanetStack db and delete it
13 pass
14
Scott Baker6ecd4262014-01-21 23:15:21 -080015 def __call__(self, *args, **kwargs):
16 return self.call(*args, **kwargs)