mirror of
https://github.com/sartography/cr-connect-workflow.git
synced 2025-02-24 13:48:30 +00:00
18 lines
698 B
Python
18 lines
698 B
Python
from crc.services.data_store_service import DataStoreBase
|
|
from crc.scripts.script import Script
|
|
|
|
|
|
class StudyDataGet(Script, DataStoreBase):
|
|
def get_description(self):
|
|
return """Gets study data from the data store."""
|
|
|
|
def do_task_validate_only(self, task, study_id, workflow_id, *args, **kwargs):
|
|
return self.get_validate_common('study_data_get', study_id, None, None, *args)
|
|
|
|
def do_task(self, task, study_id, workflow_id, *args, **kwargs):
|
|
return self.get_data_common(study_id,
|
|
None,
|
|
'study_data_get',
|
|
None,
|
|
*args)
|