Ejemplo n.º 1
0
 def _rc_oversight(self, rng, engine):
     opts = self.get_options(redcap_connect.OPTIONS + ('project_id', ),
                             OVERSIGHT_CONFIG_SECTION)
     return redcap_connect.SurveySetup(opts,
                                       engine.connect,
                                       rng,
                                       survey_id=opts.survey_id,
                                       project_id=opts.project_id)
Ejemplo n.º 2
0
 def _rc_oversight(self):
     opts = redcap_connect._test_settings
     return redcap_connect.SurveySetup(opts,
                                       self.io.connect,
                                       self.io.rng,
                                       project_id=opts.project_id)
Ejemplo n.º 3
0
 def _rc_dua(self, rng, engine):
     opts = self.get_options(redcap_connect.OPTIONS, DUA_CONFIG_SECTION)
     return redcap_connect.SurveySetup(opts,
                                       engine.connect,
                                       rng,
                                       survey_id=opts.survey_id)
Ejemplo n.º 4
0
 def _rc_dua(self):
     opts = redcap_connect._test_settings
     return redcap_connect.SurveySetup(opts,
                                       self.io.connect,
                                       self.io.rng,
                                       survey_id=opts.survey_id)