def _init_managers(self, app): return bunch.Bunch( visualization=visualization_manager.VisualizationManager(app), hda=hda_manager.HDAManager(app) )
def __init__(self, app, *args, **kwargs): super(HistoryManager, self).__init__(app, *args, **kwargs) self.hda_manager = hdas.HDAManager(app) self.contents_manager = history_contents.HistoryContentsManager(app) self.contents_filters = history_contents.HistoryContentsFilters(app)
def set_up_managers(self): super(HistorySerializerTestCase, self).set_up_managers() self.history_manager = HistoryManager(self.app) self.hda_manager = hdas.HDAManager(self.app) self.history_serializer = HistorySerializer(self.app)
def set_up_managers(self): super().set_up_managers() self.hda_manager = hdas.HDAManager(self.app) self.history_manager = HistoryManager(self.app) self.dataset_manager = DatasetManager(self.app)
def __init__(self, app, **kwargs): super(HistorySerializer, self).__init__(app, **kwargs) self.history_manager = self.manager self.hda_manager = hdas.HDAManager(app) self.hda_serializer = hdas.HDASerializer(app) self.history_contents_serializer = history_contents.HistoryContentsSerializer( app) self.default_view = 'summary' self.add_view( 'summary', [ 'id', 'model_class', 'name', 'deleted', 'purged', # 'count' 'url', # TODO: why these? 'published', 'annotation', 'tags', ]) self.add_view( 'detailed', [ 'contents_url', 'empty', 'size', 'user_id', 'create_time', 'update_time', 'importable', 'slug', 'username_and_slug', 'genome_build', # TODO: remove the next three - instead getting the same info from the 'hdas' list 'state', 'state_details', 'state_ids', # 'community_rating', # 'user_rating', ], include_keys_from='summary') # in the Historys' case, each of these views includes the keys from the previous #: ..note: this is a custom view for newer (2016/3) UI and should be considered volatile self.add_view( 'dev-detailed', [ 'contents_url', 'size', 'user_id', 'create_time', 'update_time', 'importable', 'slug', 'username_and_slug', 'genome_build', # 'contents_states', 'contents_active', 'hid_counter', ], include_keys_from='summary')
def __init__(self, app): super(HistoryContentsController, self).__init__(app) self.hda_manager = hdas.HDAManager(app) self.history_manager = histories.HistoryManager(app) self.hda_serializer = hdas.HDASerializer(app) self.hda_deserializer = hdas.HDADeserializer(app)
def __init__(self, app): super().__init__(app) self.job_manager = JobManager(app) self.job_search = JobSearch(app) self.hda_manager = hdas.HDAManager(app)
def __init__(self, app, *args, **kwargs): super(HistoryManager, self).__init__(app, *args, **kwargs) self.hda_manager = hdas.HDAManager(app)
def set_up_managers(self): super(HistoryAsContainerTestCase, self).set_up_managers() self.history_manager = HistoryManager(self.app) self.hda_manager = hdas.HDAManager(self.app) self.collection_manager = collections.DatasetCollectionManager( self.app)
def __init__( self, app ): super( HistoryContentsController, self ).__init__( app ) self.mgrs = util.bunch.Bunch( histories=histories.HistoryManager(), hdas=hdas.HDAManager() )
def __init__(self, app): super(PluginsController, self).__init__(app) self.hda_manager = hdas.HDAManager(app) self.history_manager = histories.HistoryManager(app)
def __init__(self, app): super().__init__(app) self.hda_manager = hdas.HDAManager(app) self.history_manager = histories.HistoryManager(app)