示例#1
0
文件: comments.py 项目: markob/knaipa
    def __init__(self):
        """ Initializes object handler with the comments specific data """
        ObjectHandler.__init__(self, Comment)

        # add command handlers
        self._cmd_handlers_ = { 'get': None,
                                'add': None,
                                'info': None}
示例#2
0
文件: services.py 项目: markob/knaipa
 def __init__(self):
     ObjectHandler.__init__(self, Service)