コード例 #1
0
 def __init__(self, app):
     super(HistoriesController, self).__init__(app)
     self.citations_manager = citations.CitationsManager(app)
     self.user_manager = users.UserManager(app)
     self.history_manager = histories.HistoryManager(app)
     self.history_serializer = histories.HistorySerializer(app)
     self.history_deserializer = histories.HistoryDeserializer(app)
     self.history_filters = histories.HistoryFilters(app)
コード例 #2
0
 def __init__(self, app):
     super(HistoriesController, self).__init__(app)
     self.citations_manager = citations.CitationsManager(app)
     self.user_manager = users.UserManager(app)
     self.workflow_manager = workflows.WorkflowsManager(app)
     self.manager = histories.HistoryManager(app)
     self.serializer = histories.HistorySerializer(app)
     self.deserializer = histories.HistoryDeserializer(app)
     self.filters = histories.HistoryFilters(app)
コード例 #3
0
 def __init__(self, app):
     super().__init__(app)
     self.citations_manager = citations.CitationsManager(app)
     self.user_manager = users.UserManager(app)
     self.workflow_manager = workflows.WorkflowsManager(app)
     self.manager = histories.HistoryManager(app)
     self.history_export_view = histories.HistoryExportView(app)
     self.serializer = histories.HistorySerializer(app)
     self.deserializer = histories.HistoryDeserializer(app)
     self.filters = histories.HistoryFilters(app)
コード例 #4
0
    def __init__(self, app):
        super(DatasetSerializer, self).__init__(app)
        self.dataset_manager = self.manager
        # needed for admin test
        self.user_manager = users.UserManager(app)

        self.default_view = 'summary'
        self.add_view('summary', [
            'id',
            'create_time',
            'update_time',
            'state',
            'deleted',
            'purged',
            'purgable',
            # 'object_store_id',
            # 'external_filename',
            # 'extra_files_path',
            'file_size',
            'total_size',
            'uuid',
        ])
コード例 #5
0
 def __init__(self, app):
     super(UserAPIController, self).__init__(app)
     self.user_manager = users.UserManager(app)
     self.user_serializer = users.UserSerializer(app)
     self.user_deserializer = users.UserDeserializer(app)
コード例 #6
0
 def __init__(self, app):
     super().__init__(app)
     self.user_manager = users.UserManager(app)
     self.user_serializer = users.UserSerializer(app)
     self.user_deserializer = users.UserDeserializer(app)
     self.api_key_manager = api_keys.ApiKeyManager(app)
コード例 #7
0
 def __init__(self, app):
     super().__init__(app)
     # user manager is needed to check access/ownership/admin
     self.user_manager = users.UserManager(app)
コード例 #8
0
 def __init__(self, app):
     self.app = app
     self.user_manager = users.UserManager(app)
コード例 #9
0
 def __init__(self, app):
     """
     Set up and initialize other managers needed by hdas.
     """
     super(HDAManager, self).__init__(app)
     self.user_manager = users.UserManager(app)
コード例 #10
0
ファイル: authenticate.py プロジェクト: maikenp/galaxy
 def __init__(self, app):
     super().__init__(app)
     self.user_manager = users.UserManager(app)
     self.api_keys_manager = api_keys.ApiKeyManager(app)
コード例 #11
0
 def __init__(self, app):
     super(User, self).__init__(app)
     self.user_manager = users.UserManager(app)
コード例 #12
0
 def __init__(self, app):
     super(DatasetManager, self).__init__(app)
     # need for admin test
     self.user_manager = users.UserManager(app)
コード例 #13
0
ファイル: sharable.py プロジェクト: mvdbeek/galaxy
 def __init__(self, app: MinimalManagerApp):
     super().__init__(app)
     # user manager is needed to check access/ownership/admin
     self.user_manager = users.UserManager(app)
     self.tag_handler = app[GalaxyTagHandler]
コード例 #14
0
ファイル: configuration.py プロジェクト: davebx/toolshed
 def __init__(self, app):
     super(ConfigurationController, self).__init__(app)
     self.config_serializer = configuration.ConfigSerializer(app)
     self.admin_config_serializer = configuration.AdminConfigSerializer(app)
     self.user_manager = users.UserManager(app)
コード例 #15
0
ファイル: datasets.py プロジェクト: maikenp/galaxy
 def __init__(self, app):
     super().__init__(app)
     self.permissions = DatasetRBACPermissions(app)
     # needed for admin test
     self.user_manager = users.UserManager(app)
コード例 #16
0
 def __init__(self, app):
     super().__init__(app)
     self.user_manager = users.UserManager(app)
     self.user_serializer = users.UserSerializer(app)
     self.user_deserializer = users.UserDeserializer(app)
コード例 #17
0
ファイル: newAPI.py プロジェクト: aman54kumar/AnalyseDataTool
 def __init__(self, app):
     super(VisualisationController, self).__init__(app)
     self.citations_manager = citations.CitationsManager(app)
     self.user_manager = users.UserManager(app)