def __init__(self, dao, api_name):
     '''
         Initialize.
     '''
     Resource.__init__(self, api_name=api_name)
     self.dao = dao
Exemple #2
0
 def __init__(self):
     Resource.__init__(self)
     self.staf_obj = wrapper_STAF.staf_obj
Exemple #3
0
 def __init__(self):
     Resource.__init__(self)
     self.staf_obj = wrapper_STAF.staf_obj
Exemple #4
0
 def __init__(self, *args, **kwargs):
     Resource.__init__(self, *args, **kwargs)
     self.base_uri = os.path.join(QUESTIONNAIRE_APP_URI, 'api/')