galaxy.webapps.galaxy package
Subpackages
- galaxy.webapps.galaxy.api package
get_app()get_app_with_request_session()GalaxyTypeDependsdepends()get_session_manager()get_session()get_api_user()get_user()get_required_user()UrlBuilderGalaxyASGIRequestGalaxyASGIResponseget_current_history_from_session()fix_url_for()get_trans()get_admin_user()cors_preflight()BaseGalaxyAPIControllerRestVerbFrameworkRouterRouterAPICorsRouteAPIContentTypeRouteas_form()json_schema_response_for_tool_state_model()try_get_request_body_as_json()IndexQueryTagsearch_query_param()- Submodules
- galaxy.webapps.galaxy.api.annotations module
- galaxy.webapps.galaxy.api.authenticate module
- galaxy.webapps.galaxy.api.cloud module
- galaxy.webapps.galaxy.api.cloudauthz module
- galaxy.webapps.galaxy.api.common module
- galaxy.webapps.galaxy.api.configuration module
FastAPIConfigurationFastAPIConfiguration.configuration_managerFastAPIConfiguration.whoami()FastAPIConfiguration.index()FastAPIConfiguration.version()FastAPIConfiguration.dynamic_tool_confs()FastAPIConfiguration.decode_id()FastAPIConfiguration.encode_id()FastAPIConfiguration.tool_lineages()FastAPIConfiguration.reload_toolbox()FastAPIConfiguration.__init__()
- galaxy.webapps.galaxy.api.container_resolution module
ContainerResolutionAPIControllerContainerResolutionAPIController.__init__()ContainerResolutionAPIController.index()ContainerResolutionAPIController.show()ContainerResolutionAPIController.resolve()ContainerResolutionAPIController.resolve_toolbox()ContainerResolutionAPIController.resolve_toolbox_with_install()ContainerResolutionAPIController.resolve_with_install()
- galaxy.webapps.galaxy.api.dataset_collections module
FastAPIDatasetCollectionsFastAPIDatasetCollections.serviceFastAPIDatasetCollections.create()FastAPIDatasetCollections.create_workbook()FastAPIDatasetCollections.parse_workbook()FastAPIDatasetCollections.create_workbook_for_collection()FastAPIDatasetCollections.parse_workbook_for_collection()FastAPIDatasetCollections.copy()FastAPIDatasetCollections.attributes()FastAPIDatasetCollections.suitable_converters()FastAPIDatasetCollections.show()FastAPIDatasetCollections.contents()FastAPIDatasetCollections.content()FastAPIDatasetCollections.__init__()
- galaxy.webapps.galaxy.api.datasets module
FastAPIDatasetsFastAPIDatasets.serviceFastAPIDatasets.index()FastAPIDatasets.show_storage()FastAPIDatasets.show_inheritance_chain()FastAPIDatasets.get_content_as_text()FastAPIDatasets.converted_ext()FastAPIDatasets.converted()FastAPIDatasets.update_permissions()FastAPIDatasets.extra_files_history()FastAPIDatasets.extra_files()FastAPIDatasets.extra_file_raw()FastAPIDatasets.display_history_content()FastAPIDatasets.display()FastAPIDatasets.get_metadata_file_history_content()FastAPIDatasets.get_metadata_file_datasets()FastAPIDatasets.show()FastAPIDatasets.get_structured_content()FastAPIDatasets.delete_batch()FastAPIDatasets.compute_hash()FastAPIDatasets.report()FastAPIDatasets.update_object_store_id()FastAPIDatasets.__init__()
- galaxy.webapps.galaxy.api.datatypes module
FastAPIDatatypesFastAPIDatatypes.datatypes_registryFastAPIDatatypes.appFastAPIDatatypes.index()FastAPIDatatypes.mapping()FastAPIDatatypes.types_and_mapping()FastAPIDatatypes.sniffers()FastAPIDatatypes.converters()FastAPIDatatypes.edam_formats()FastAPIDatatypes.edam_formats_detailed()FastAPIDatatypes.edam_data()FastAPIDatatypes.edam_data_detailed()FastAPIDatatypes.visualization_for_datatype()FastAPIDatatypes.show()FastAPIDatatypes.__init__()
- galaxy.webapps.galaxy.api.display_applications module
- galaxy.webapps.galaxy.api.dynamic_tools module
UnprivilegedToolResponseUnprivilegedToolResponse.idUnprivilegedToolResponse.uuidUnprivilegedToolResponse.activeUnprivilegedToolResponse.hiddenUnprivilegedToolResponse.tool_idUnprivilegedToolResponse.tool_formatUnprivilegedToolResponse.create_timeUnprivilegedToolResponse.representationUnprivilegedToolResponse.representation_statusUnprivilegedToolResponse.representation_errorsUnprivilegedToolResponse.model_config
UnprivilegedToolsApiDynamicToolApi
- galaxy.webapps.galaxy.api.extended_metadata module
- galaxy.webapps.galaxy.api.folder_contents module
- galaxy.webapps.galaxy.api.folders module
- galaxy.webapps.galaxy.api.forms module
- galaxy.webapps.galaxy.api.genomes module
- galaxy.webapps.galaxy.api.group_roles module
- galaxy.webapps.galaxy.api.group_users module
- galaxy.webapps.galaxy.api.groups module
- galaxy.webapps.galaxy.api.histories module
DeleteHistoryPayloadDeleteHistoriesPayloadUndeleteHistoriesPayloadCreateHistoryFormDataFastAPIHistoriesFastAPIHistories.serviceFastAPIHistories.workflows_serviceFastAPIHistories.index()FastAPIHistories.count()FastAPIHistories.index_deleted()FastAPIHistories.published()FastAPIHistories.shared_with_me()FastAPIHistories.get_archived_histories()FastAPIHistories.show_recent()FastAPIHistories.show()FastAPIHistories.graph()FastAPIHistories.prepare_store_download()FastAPIHistories.write_store()FastAPIHistories.citations()FastAPIHistories.tool_requests()FastAPIHistories.create()FastAPIHistories.delete()FastAPIHistories.batch_delete()FastAPIHistories.undelete()FastAPIHistories.batch_undelete()FastAPIHistories.update()FastAPIHistories.create_from_store()FastAPIHistories.create_from_store_async()FastAPIHistories.index_exports()FastAPIHistories.archive_export()FastAPIHistories.archive_download()FastAPIHistories.get_custom_builds_metadata()FastAPIHistories.archive_history()FastAPIHistories.restore_archived_history()FastAPIHistories.sharing()FastAPIHistories.enable_link_access()FastAPIHistories.disable_link_access()FastAPIHistories.publish()FastAPIHistories.unpublish()FastAPIHistories.share_with_users()FastAPIHistories.set_slug()FastAPIHistories.extraction_summary()FastAPIHistories.extract_workflow_from_history()FastAPIHistories.__init__()
- galaxy.webapps.galaxy.api.history_contents module
- galaxy.webapps.galaxy.api.item_tags module
- galaxy.webapps.galaxy.api.job_files module
- galaxy.webapps.galaxy.api.job_lock module
- galaxy.webapps.galaxy.api.job_ports module
- galaxy.webapps.galaxy.api.jobs module
ShowFullJobResponseShowFullJobResponse.tool_stdoutShowFullJobResponse.tool_stderrShowFullJobResponse.job_stdoutShowFullJobResponse.job_stderrShowFullJobResponse.stdoutShowFullJobResponse.stderrShowFullJobResponse.job_messagesShowFullJobResponse.dependenciesShowFullJobResponse.job_metricsShowFullJobResponse.model_config
FastAPIJobsFastAPIJobs.serviceFastAPIJobs.create()FastAPIJobs.index()FastAPIJobs.common_problems()FastAPIJobs.resume()FastAPIJobs.error()FastAPIJobs.inputs()FastAPIJobs.outputs()FastAPIJobs.console_output()FastAPIJobs.parameters_display_by_job()FastAPIJobs.parameters_display_by_dataset()FastAPIJobs.metrics_by_job()FastAPIJobs.metrics_by_dataset()FastAPIJobs.destination_params()FastAPIJobs.search()FastAPIJobs.show()FastAPIJobs.stdout()FastAPIJobs.stderr()FastAPIJobs.delete()FastAPIJobs.__init__()
JobController
- galaxy.webapps.galaxy.api.libraries module
FastAPILibrariesFastAPILibraries.serviceFastAPILibraries.index()FastAPILibraries.index_deleted()FastAPILibraries.show()FastAPILibraries.create()FastAPILibraries.create_from_store()FastAPILibraries.update()FastAPILibraries.delete()FastAPILibraries.get_permissions()FastAPILibraries.set_permissions()FastAPILibraries.__init__()
- galaxy.webapps.galaxy.api.library_contents module
- galaxy.webapps.galaxy.api.library_datasets module
LibraryDatasetsControllerLibraryDatasetsController.__init__()LibraryDatasetsController.show()LibraryDatasetsController.show_version()LibraryDatasetsController.show_roles()LibraryDatasetsController.update()LibraryDatasetsController.update_permissions()LibraryDatasetsController.delete()LibraryDatasetsController.load()LibraryDatasetsController.download()
- galaxy.webapps.galaxy.api.licenses module
- galaxy.webapps.galaxy.api.metrics module
- galaxy.webapps.galaxy.api.page_revisions module
- galaxy.webapps.galaxy.api.pages module
FastAPIPagesFastAPIPages.serviceFastAPIPages.index()FastAPIPages.create()FastAPIPages.delete()FastAPIPages.undelete()FastAPIPages.show_pdf()FastAPIPages.prepare_pdf()FastAPIPages.show()FastAPIPages.sharing()FastAPIPages.enable_link_access()FastAPIPages.disable_link_access()FastAPIPages.publish()FastAPIPages.unpublish()FastAPIPages.share_with_users()FastAPIPages.set_slug()FastAPIPages.update()FastAPIPages.list_revisions()FastAPIPages.show_revision()FastAPIPages.revert_revision()FastAPIPages.__init__()
- galaxy.webapps.galaxy.api.plugins module
ChatTextPartChatMessageChatToolFunctionChatToolChatCompletionRequestChatCompletionRequest.messagesChatCompletionRequest.toolsChatCompletionRequest.streamChatCompletionRequest.stream_optionsChatCompletionRequest.max_tokensChatCompletionRequest.parallel_tool_callsChatCompletionRequest.reasoning_effortChatCompletionRequest.tool_choiceChatCompletionRequest.model_config
PluginDatasetEntryPluginDatasetsResponseFastAPIPlugins
- galaxy.webapps.galaxy.api.provenance module
- galaxy.webapps.galaxy.api.quotas module
- galaxy.webapps.galaxy.api.remote_files module
- galaxy.webapps.galaxy.api.roles module
- galaxy.webapps.galaxy.api.sanitize_allow module
- galaxy.webapps.galaxy.api.search module
- galaxy.webapps.galaxy.api.short_term_storage module
- galaxy.webapps.galaxy.api.tags module
- galaxy.webapps.galaxy.api.tasks module
- galaxy.webapps.galaxy.api.tool_data module
- galaxy.webapps.galaxy.api.tool_dependencies module
ToolDependenciesAPIControllerToolDependenciesAPIController.__init__()ToolDependenciesAPIController.index()ToolDependenciesAPIController.show()ToolDependenciesAPIController.update()ToolDependenciesAPIController.resolver_dependency()ToolDependenciesAPIController.install_dependency()ToolDependenciesAPIController.manager_dependency()ToolDependenciesAPIController.resolver_requirements()ToolDependenciesAPIController.manager_requirements()ToolDependenciesAPIController.clean()ToolDependenciesAPIController.summarize_toolbox()ToolDependenciesAPIController.toolbox_install()ToolDependenciesAPIController.toolbox_uninstall()ToolDependenciesAPIController.unused_dependency_paths()ToolDependenciesAPIController.delete_unused_dependency_paths()
- galaxy.webapps.galaxy.api.tool_entry_points module
- galaxy.webapps.galaxy.api.tool_shed_repositories module
get_message_for_no_shed_tool_config()parse_repository_from_payload()ToolShedRepositoriesControllerToolShedRepositoriesController.serviceToolShedRepositoriesController.install_repository_revision()ToolShedRepositoriesController.install_repository_revisions()ToolShedRepositoriesController.uninstall_repository()ToolShedRepositoriesController.reset_metadata_on_selected_installed_repositories()ToolShedRepositoriesController.reset_metadata_on_installed_repositories()
FastAPIToolShedRepositories
- galaxy.webapps.galaxy.api.tools module
FormDataApiRouteJsonApiRoutePNGIconResponseget_files()FetchToolsFetchTools.serviceFetchTools.landing_managerFetchTools.fetch_json()FetchTools.fetch_form()FetchTools.fetch_workbook()FetchTools.parse_workbook()FetchTools.get_icon()FetchTools.create_file_landing()FetchTools.create_data_landing()FetchTools.get_tool_request()FetchTools.tool_request_state()FetchTools.tool_inputs()FetchTools.create_landing()FetchTools.claim_landing()FetchTools.get_landing()FetchTools.tool_state_request()FetchTools.tool_state_landing_request()FetchTools.tool_state_test_case_xml()FetchTools.tool_tags()FetchTools.__init__()
ToolsControllerToolsController.citations_managerToolsController.history_managerToolsController.hda_managerToolsController.hdca_managerToolsController.serviceToolsController.index()ToolsController.panel_views()ToolsController.panel_view()ToolsController.show()ToolsController.build()ToolsController.test_data_path()ToolsController.test_data_download()ToolsController.tests_summary()ToolsController.test_data()ToolsController.reload()ToolsController.all_requirements()ToolsController.requirements()ToolsController.install_dependencies()ToolsController.uninstall_dependencies()ToolsController.build_dependency_cache()ToolsController.diagnostics()ToolsController.citations()ToolsController.conversion()ToolsController.xrefs()ToolsController.download()ToolsController.raw_tool_source()ToolsController.error_stack()ToolsController.create()
- galaxy.webapps.galaxy.api.toolshed module
- galaxy.webapps.galaxy.api.tours module
- galaxy.webapps.galaxy.api.trs_consumer module
- galaxy.webapps.galaxy.api.trs_search module
- galaxy.webapps.galaxy.api.uploads module
- galaxy.webapps.galaxy.api.users module
FastAPIUsersFastAPIUsers.serviceFastAPIUsers.user_serializerFastAPIUsers.favorites_managerFastAPIUsers.hda_managerFastAPIUsers.recalculate_disk_usage()FastAPIUsers.recalculate_disk_usage_by_user_id()FastAPIUsers.index_deleted()FastAPIUsers.undelete()FastAPIUsers.show_deleted()FastAPIUsers.get_or_create_api_key()FastAPIUsers.get_api_key()FastAPIUsers.create_api_key()FastAPIUsers.delete_api_key()FastAPIUsers.usage()FastAPIUsers.objectstore_usage()FastAPIUsers.usage_for()FastAPIUsers.get_beacon()FastAPIUsers.set_beacon()FastAPIUsers.remove_favorite()FastAPIUsers.set_favorite_order()FastAPIUsers.set_favorite()FastAPIUsers.set_theme()FastAPIUsers.add_custom_builds()FastAPIUsers.get_custom_builds()FastAPIUsers.delete_custom_builds()FastAPIUsers.create()FastAPIUsers.index()FastAPIUsers.show()FastAPIUsers.update()FastAPIUsers.delete()FastAPIUsers.send_activation_email()FastAPIUsers.get_user_roles()FastAPIUsers.__init__()
UserAPIControllerUserAPIController.serviceUserAPIController.user_managerUserAPIController.get_information()UserAPIController.set_information()UserAPIController.get_password()UserAPIController.set_password()UserAPIController.get_permissions()UserAPIController.set_permissions()UserAPIController.get_toolbox_filters()UserAPIController.set_toolbox_filters()
- galaxy.webapps.galaxy.api.visualizations module
FastAPIVisualizationsFastAPIVisualizations.serviceFastAPIVisualizations.index()FastAPIVisualizations.sharing()FastAPIVisualizations.enable_link_access()FastAPIVisualizations.disable_link_access()FastAPIVisualizations.publish()FastAPIVisualizations.unpublish()FastAPIVisualizations.share_with_users()FastAPIVisualizations.set_slug()FastAPIVisualizations.show()FastAPIVisualizations.create()FastAPIVisualizations.update()FastAPIVisualizations.__init__()
- galaxy.webapps.galaxy.api.webhooks module
- galaxy.webapps.galaxy.api.workflows module
WorkflowsAPIControllerWorkflowsAPIController.serviceWorkflowsAPIController.__init__()WorkflowsAPIController.set_workflow_menu()WorkflowsAPIController.create()WorkflowsAPIController.workflow_dict()WorkflowsAPIController.import_new_workflow_deprecated()WorkflowsAPIController.update()WorkflowsAPIController.build_module()WorkflowsAPIController.get_tool_predictions()WorkflowsAPIController.import_shared_workflow_deprecated()
FastAPIWorkflowsFastAPIWorkflows.serviceFastAPIWorkflows.landing_managerFastAPIWorkflows.index()FastAPIWorkflows.sharing()FastAPIWorkflows.enable_link_access()FastAPIWorkflows.disable_link_access()FastAPIWorkflows.refactor()FastAPIWorkflows.publish()FastAPIWorkflows.unpublish()FastAPIWorkflows.share_with_users()FastAPIWorkflows.set_slug()FastAPIWorkflows.delete_workflow()FastAPIWorkflows.undelete_workflow()FastAPIWorkflows.extract_by_ids()FastAPIWorkflows.invoke()FastAPIWorkflows.show_versions()FastAPIWorkflows.invocation_counts()FastAPIWorkflows.get_workflow_menu()FastAPIWorkflows.show_workflow()FastAPIWorkflows.create_landing()FastAPIWorkflows.claim_landing()FastAPIWorkflows.get_landing()FastAPIWorkflows.__init__()
FastAPIInvocationsFastAPIInvocations.invocations_serviceFastAPIInvocations.create_invocations_from_store()FastAPIInvocations.index_invocations()FastAPIInvocations.index_workflow_invocations()FastAPIInvocations.prepare_store_download()FastAPIInvocations.write_store()FastAPIInvocations.report_error()FastAPIInvocations.show_invocation()FastAPIInvocations.invocation_as_request()FastAPIInvocations.show_workflow_invocation()FastAPIInvocations.cancel_invocation()FastAPIInvocations.cancel_workflow_invocation()FastAPIInvocations.show_invocation_report()FastAPIInvocations.show_workflow_invocation_report()FastAPIInvocations.show_invocation_report_pdf()FastAPIInvocations.show_workflow_invocation_report_pdf()FastAPIInvocations.step()FastAPIInvocations.invocation_step()FastAPIInvocations.workflow_invocation_step()FastAPIInvocations.update_invocation_step()FastAPIInvocations.update_workflow_invocation_step()FastAPIInvocations.invocation_step_jobs_summary()FastAPIInvocations.workflow_invocation_step_jobs_summary()FastAPIInvocations.invocation_jobs_summary()FastAPIInvocations.workflow_invocation_jobs_summary()FastAPIInvocations.get_invocation_metrics()FastAPIInvocations.show_invocation_completion()FastAPIInvocations.__init__()
- galaxy.webapps.galaxy.controllers package
- Submodules
- galaxy.webapps.galaxy.controllers.admin module
UserListGridRoleListGridGroupListGridQuotaListGridDatatypesEntryTAdminGalaxyAdminGalaxy.user_list_gridAdminGalaxy.role_list_gridAdminGalaxy.group_list_gridAdminGalaxy.quota_list_gridAdminGalaxy.__init__()AdminGalaxy.data_tables_list()AdminGalaxy.data_types_list()AdminGalaxy.users_list()AdminGalaxy.quotas_list()AdminGalaxy.rename_quota()AdminGalaxy.edit_quota()AdminGalaxy.set_quota_default()AdminGalaxy.impersonate()AdminGalaxy.roles_list()AdminGalaxy.rename_role()AdminGalaxy.manage_users_and_groups_for_role()AdminGalaxy.groups_list()AdminGalaxy.rename_group()AdminGalaxy.create_new_user()AdminGalaxy.reset_user_password()AdminGalaxy.manage_roles_and_groups_for_user()
build_select_input()get_user()get_role()get_group()get_quota()
- galaxy.webapps.galaxy.controllers.admin_toolshed module
- galaxy.webapps.galaxy.controllers.async module
- galaxy.webapps.galaxy.controllers.authnz module
- galaxy.webapps.galaxy.controllers.data_manager module
- galaxy.webapps.galaxy.controllers.dataset module
DatasetInterfaceDatasetInterface.history_managerDatasetInterface.hda_managerDatasetInterface.hda_deserializerDatasetInterface.serviceDatasetInterface.__init__()DatasetInterface.default()DatasetInterface.get_metadata_file()DatasetInterface.display()DatasetInterface.get_edit()DatasetInterface.set_edit()DatasetInterface.display_at()DatasetInterface.display_application()
- galaxy.webapps.galaxy.controllers.forms module
- galaxy.webapps.galaxy.controllers.history module
HistoryControllerHistoryController.history_managerHistoryController.history_serializerHistoryController.slug_builderHistoryController.serviceHistoryController.__init__()HistoryController.index()HistoryController.view()HistoryController.permissions()HistoryController.make_private()HistoryController.purge_deleted_datasets()HistoryController.resume_paused_jobs()HistoryController.rename()HistoryController.switch_to_history()HistoryController.get_item()HistoryController.history_data()HistoryController.set_as_current()HistoryController.current_history_json()HistoryController.create_new_current()
- galaxy.webapps.galaxy.controllers.library module
- galaxy.webapps.galaxy.controllers.page module
- galaxy.webapps.galaxy.controllers.root module
- galaxy.webapps.galaxy.controllers.shed_tool_static module
- galaxy.webapps.galaxy.controllers.tool_runner module
- galaxy.webapps.galaxy.controllers.user module
- galaxy.webapps.galaxy.controllers.visualization module
- galaxy.webapps.galaxy.controllers.workflow module
- galaxy.webapps.galaxy.services package
- Submodules
- galaxy.webapps.galaxy.services.authenticate module
- galaxy.webapps.galaxy.services.base module
ensure_celery_tasks_enabled()SecurityNotProvidedErrorServiceBaseServiceBase.__init__()ServiceBase.securityServiceBase.decode_id()ServiceBase.encode_id()ServiceBase.decode_ids()ServiceBase.encode_all_ids()ServiceBase.build_order_by()ServiceBase.get_class()ServiceBase.get_object()ServiceBase.check_user_is_authenticated()ServiceBase.get_authenticated_user()
ServedExportStoremodel_store_storage_target()ServesExportStoresConsumesModelStorestool_request_to_model()tool_request_detailed_to_model()
- galaxy.webapps.galaxy.services.dataset_collections module
UpdateCollectionAttributePayloadDatasetCollectionAttributesResultDatasetCollectionAttributesResult.dbkeyDatasetCollectionAttributesResult.extensionDatasetCollectionAttributesResult.model_classDatasetCollectionAttributesResult.dbkeysDatasetCollectionAttributesResult.extensionsDatasetCollectionAttributesResult.tagsDatasetCollectionAttributesResult.model_config
SuitableConverterSuitableConvertersDatasetCollectionContentElementsCreateWorkbookForCollectionApiParseWorkbookForCollectionApiParsedWorkbookHdaParsedWorkbookCollectionParsedWorkbookElementParsedWorkbookForCollectionDatasetCollectionsServiceDatasetCollectionsService.__init__()DatasetCollectionsService.create()DatasetCollectionsService.copy()DatasetCollectionsService.attributes()DatasetCollectionsService.suitable_converters()DatasetCollectionsService.show()DatasetCollectionsService.dce_content()DatasetCollectionsService.contents()DatasetCollectionsService.create_workbook()DatasetCollectionsService.create_workbook_for_collection()DatasetCollectionsService.parse_workbook()DatasetCollectionsService.parse_workbook_for_collection()
- galaxy.webapps.galaxy.services.datasets module
RequestDataTypeDatasetContentTypeConcreteObjectStoreQuotaSourceDetailsDatasetStorageDetailsDatasetStorageDetails.object_store_idDatasetStorageDetails.nameDatasetStorageDetails.descriptionDatasetStorageDetails.percent_usedDatasetStorageDetails.dataset_stateDatasetStorageDetails.hashesDatasetStorageDetails.sourcesDatasetStorageDetails.shareableDatasetStorageDetails.quotaDatasetStorageDetails.badgesDatasetStorageDetails.relocatableDatasetStorageDetails.privateDatasetStorageDetails.model_config
DatasetInheritanceChainEntryDatasetInheritanceChainExtraFilesEntryClassExtraFileEntryDatasetExtraFilesDatasetTextContentDetailsConvertedDatasetsMapDataModeDataResultBamDataResultDeleteDatasetBatchPayloadComputeDatasetHashPayloadUpdateObjectStoreIdPayloadDatasetErrorMessageDeleteDatasetBatchResultDatasetsServiceDatasetsService.__init__()DatasetsService.serializer_by_typeDatasetsService.dataset_manager_by_typeDatasetsService.index()DatasetsService.show()DatasetsService.show_storage()DatasetsService.show_inheritance_chain()DatasetsService.compute_hash()DatasetsService.report()DatasetsService.drs_dataset_instance()DatasetsService.get_drs_object()DatasetsService.update_permissions()DatasetsService.extra_files()DatasetsService.display()DatasetsService.get_content_as_text()DatasetsService.get_metadata_file()DatasetsService.converted_ext()DatasetsService.converted()DatasetsService.delete_batch()DatasetsService.get_structured_content()DatasetsService.update_object_store_id()
- galaxy.webapps.galaxy.services.histories module
ShareableHistoryServiceHistoriesServiceHistoriesService.__init__()HistoriesService.index()HistoriesService.index_query()HistoriesService.create()HistoriesService.create_from_store()HistoriesService.create_from_store_async()HistoriesService.show()HistoriesService.graph()HistoriesService.prepare_download()HistoriesService.write_store()HistoriesService.update()HistoriesService.delete()HistoriesService.undelete()HistoriesService.shared_with_me()HistoriesService.count()HistoriesService.published()HistoriesService.tool_requests()HistoriesService.citations()HistoriesService.index_exports()HistoriesService.archive_export()HistoriesService.get_ready_history_export()HistoriesService.get_archive_download_path()HistoriesService.get_archive_media_type()HistoriesService.legacy_archive_download()HistoriesService.get_custom_builds_metadata()HistoriesService.archive_history()HistoriesService.create_workflow_extraction_summary()HistoriesService.restore_archived_history()HistoriesService.get_archived_histories()
get_fasta_hdas_by_history()
- galaxy.webapps.galaxy.services.history_contents module
- galaxy.webapps.galaxy.services.invocations module
PrepareStoreDownloadPayloadWriteInvocationStoreToPayloadInvocationsServiceInvocationsService.__init__()InvocationsService.index()InvocationsService.show()InvocationsService.get_invocation()InvocationsService.as_request()InvocationsService.cancel()InvocationsService.show_invocation_report()InvocationsService.show_invocation_step()InvocationsService.show_invocation_metrics()InvocationsService.update_invocation_step()InvocationsService.show_invocation_step_jobs_summary()InvocationsService.show_invocation_jobs_summary()InvocationsService.prepare_store_download()InvocationsService.write_store()InvocationsService.report_error()InvocationsService.serialize_workflow_invocation()InvocationsService.serialize_workflow_invocations()InvocationsService.serialize_workflow_invocation_step()InvocationsService.create_from_store()InvocationsService.serialize_workflow_invocation_to_request()
- galaxy.webapps.galaxy.services.jobs module
JobRequestJobRequest.tool_idJobRequest.tool_uuidJobRequest.tool_versionJobRequest.history_idJobRequest.inputsJobRequest.strictJobRequest.use_cached_jobsJobRequest.rerun_remap_job_idJobRequest.send_email_notificationJobRequest.preferred_object_store_idJobRequest.tagsJobRequest.data_manager_modeJobRequest.credentials_contextJobRequest.model_config
JobCreateResponseJobIndexViewEnumJobIndexPayloadJobsService
- galaxy.webapps.galaxy.services.libraries module
LibrariesServiceLibrariesService.__init__()LibrariesService.index()LibrariesService.show()LibrariesService.create()LibrariesService.create_from_store()LibrariesService.update()LibrariesService.delete()LibrariesService.get_permissions()LibrariesService.set_permissions()LibrariesService.set_permissions_old()
- galaxy.webapps.galaxy.services.library_folder_contents module
- galaxy.webapps.galaxy.services.library_folders module
- galaxy.webapps.galaxy.services.pages module
- galaxy.webapps.galaxy.services.quotas module
- galaxy.webapps.galaxy.services.sharable module
- galaxy.webapps.galaxy.services.tools module
- galaxy.webapps.galaxy.services.users module
UsersServiceUsersService.__init__()UsersService.recalculate_disk_usage()UsersService.get_api_key()UsersService.get_or_create_api_key()UsersService.create_api_key()UsersService.delete_api_key()UsersService.get_user()UsersService.get_non_anonymous_user_full()UsersService.get_user_full()UsersService.show_user()UsersService.user_to_detailed_model()UsersService.get_index()UsersService.get_user_roles()
- galaxy.webapps.galaxy.services.visualizations module
- galaxy.webapps.galaxy.services.workflows module
WorkflowsServiceWorkflowsService.__init__()WorkflowsService.index()WorkflowsService.invoke_workflow()WorkflowsService.extract_from_history()WorkflowsService.extract_by_ids()WorkflowsService.delete()WorkflowsService.undelete()WorkflowsService.get_versions()WorkflowsService.invocation_counts()WorkflowsService.get_workflow_menu()WorkflowsService.refactor()WorkflowsService.show_workflow()
Submodules
galaxy.webapps.galaxy.buildapp module
Provides factory methods to assemble the Galaxy web application
- class galaxy.webapps.galaxy.buildapp.GalaxyWebApplication(galaxy_app: MinimalApp, session_cookie: str = 'galaxysession', name: str | None = None)[source]
Bases:
WebApplication- __init__(galaxy_app: MinimalApp, session_cookie: str = 'galaxysession', name: str | None = None) None[source]
Create a new web application object. To actually connect some controllers use add_controller and add_route. Call finalize_config when all controllers and routes have been added and __call__ to handle a request (WSGI style).
- galaxy.webapps.galaxy.buildapp.app_factory(*args, **kwargs)[source]
Return a wsgi application serving the root object
- galaxy.webapps.galaxy.buildapp.app_pair(global_conf, load_app_kwds=None, wsgi_preflight=True, **kwargs)[source]
Return a wsgi application serving the root object and the Galaxy application.
When creating an app for asgi, set wsgi_preflight to False to allow FastAPI middleware to handle CORS options, etc..
galaxy.webapps.galaxy.fast_app module
galaxy.webapps.galaxy.fast_factory module
Module containing factory class for building uvicorn app for Galaxy.
Information on uvicorn, its various settings, and how to invoke it can be found at https://www.uvicorn.org/.
Galaxy can be launched with uvicorn using the following invocation:
uvicorn --app-dir lib --factory galaxy.webapps.galaxy.fast_factory:factory
Use the environment variable GALAXY_CONFIG_FILE to specify a Galaxy
configuration file. Galaxy configuration can be loading from a YAML
or an .ini file (reads app:main currently but can be overridden with
GALAXY_CONFIG_SECTION).
GALAXY_CONFIG_FILE=config/galaxy.yml uvicorn --app-dir lib --factory galaxy.webapps.galaxy.fast_factory:factory
Note
Information on additional ways to configure uvicorn can be found at https://www.uvicorn.org/.
Warning
If an ini file is supplied via GALAXY_CONFIG_FILE, the server properties such as host and port are not read from the file like older forms of configuring Galaxy.
Gunicorn is a server with more complex management options.
This factory function can be executed as a uvicorn worker managed with gunicorn with the following command-line.
gunicorn 'galaxy.webapps.galaxy.fast_factory:factory()' --env GALAXY_CONFIG_FILE=config/galaxy.ini --pythonpath lib -w 4 -k uvicorn.workers.UvicornWorker --config lib/galaxy/web_stack/gunicorn_config.py
- class galaxy.webapps.galaxy.fast_factory.GalaxyWebApp(galaxy_app: UniverseApplication, wsgi_app: Any, asgi_app: FastAPI)[source]
Bases:
objectThe application objects assembled for a Galaxy web process.
- galaxy_app: UniverseApplication
- asgi_app: FastAPI
- __init__(galaxy_app: UniverseApplication, wsgi_app: Any, asgi_app: FastAPI) None
- galaxy.webapps.galaxy.fast_factory.build_galaxy_web_app(galaxy_config: ~collections.abc.Mapping[str, ~typing.Any] | None = None, *, global_conf: ~collections.abc.Mapping[str, ~typing.Any] | None = None, load_app_kwds: ~collections.abc.Mapping[str, ~typing.Any] | None = None, wsgi_preflight: bool = False, register_shutdown_at_exit: bool = True, init_fast_app: ~collections.abc.Callable[[~typing.Any, ~galaxy.app.UniverseApplication], ~fastapi.applications.FastAPI] = <function initialize_fast_app>) GalaxyWebApp[source]
Build Galaxy’s application objects from programmatic configuration.
Unlike the uvicorn
factorybelow, this entry point does not require a configuration file or environment-variable setup. It also returns the underlying Galaxy application so embedding callers can own its lifecycle. Application construction exceptions are allowed to propagate to the caller.
galaxy.webapps.galaxy.workers module
Gunicorn worker class used to run the Galaxy ASGI application.
uvicorn’s gunicorn worker makes two choices that together turn an ordinary worker
recycle (--max-requests) into an unexplained core dump:
Server.shutdown()waits indefinitely for in-flight requests, becausetimeout_graceful_shutdownis never set, and it stops notifying the arbiter while it waits (callback_notifyonly fires frommain_loop, which has already exited). The arbiter eventually decides the worker is hung.init_signals()resetsSIGABRTtoSIG_DFL, so the arbiter’s timeout kill dumps core instead of running gunicorn’sworker_aborthook, and skips theatexithandler that shuts Galaxy down.
This worker bounds the drain, puts the SIGABRT handler back, and reports what
was still in flight whenever a worker is torn down the hard way. Requests that never
finish by themselves, such as event streams, can be ended when the drain starts via
galaxy.web_stack.on_drain_start().
- galaxy.webapps.galaxy.workers.DRAIN_REPORT_INTERVAL = 10
How often to report on a drain that is still in progress.
- galaxy.webapps.galaxy.workers.DRAIN_POLL_INTERVAL = 0.25
How often the drain reporter wakes up.
- galaxy.webapps.galaxy.workers.DRAIN_DEADLINE_LEAD = 1.0
How far ahead of uvicorn’s own cancellation to report the requests it will cancel.
- galaxy.webapps.galaxy.workers.STACK_FRAME_LIMIT = 30
Frames to keep per thread in the stack dump.
- class galaxy.webapps.galaxy.workers.Worker(*args, **kwargs)[source]
Bases:
UvicornWorkerGalaxy’s gunicorn worker. Referenced by name in gravity and startup scripts.
- __init__(*args, **kwargs)[source]
This is called pre-fork so it shouldn’t do anything to the current process. If there’s a need to make process wide changes you’ll want to do that in
self.init_process().
- async report_drain(server)[source]
Log what is holding a graceful shutdown open, while it is still open.
- in_flight_summary()[source]
Compact description of what this worker is still serving.
Kept small enough to survive as a Sentry event message. Called from a signal handler on the abort path, so it must never raise.
- in_flight_stacks()[source]
Full stacks for the request tasks and every thread.
The thread pass is the important one: Galaxy’s sync and legacy WSGI endpoints run in a threadpool, so a request task stack usually bottoms out at
run_in_threadpooland the code that is actually stuck is only visible here.