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