Warning
This document is for an in-development version of Galaxy. You can alternatively view this page in the latest release if it exists or view the top of the latest release's documentation.
galaxy.config package¶
Universe configuration builder.
-
galaxy.config.
LOGGING_CONFIG_DEFAULT
= {'disable_existing_loggers': False, 'filters': {'stack': {'()': 'galaxy.web_stack.application_stack_log_filter'}}, 'formatters': {'stack': {'()': 'galaxy.web_stack.application_stack_log_formatter'}}, 'handlers': {'console': {'class': 'logging.StreamHandler', 'formatter': 'stack', 'level': 'DEBUG', 'stream': 'ext://sys.stderr', 'filters': ['stack']}}, 'loggers': {'paste.httpserver.ThreadPool': {'level': 'WARN', 'qualname': 'paste.httpserver.ThreadPool'}, 'routes.middleware': {'level': 'WARN', 'qualname': 'routes.middleware'}, 'amqp': {'level': 'INFO', 'qualname': 'amqp'}}, 'root': {'handlers': ['console'], 'level': 'DEBUG'}, 'version': 1}¶ Default value for logging configuration, passed to
logging.config.dictConfig()
-
class
galaxy.config.
GalaxyAppConfiguration
(**kwargs)[source]¶ Bases:
galaxy.config.BaseAppConfiguration
-
deprecated_options
= ('database_file', 'track_jobs_in_database')¶
-
default_config_file_name
= 'galaxy.yml'¶
-
deprecated_dirs
= {'config_dir': 'config', 'data_dir': 'database'}¶
-
admin_users
¶
-
sentry_dsn_public
¶ Sentry URL with private key removed for use in client side scripts, sentry server will need to be configured to accept events
-
parse_config_file_options
(kwargs)[source]¶ Backwards compatibility for config files moved to the config/ dir.
-
-
galaxy.config.
Configuration
¶ alias of
galaxy.config.GalaxyAppConfiguration
-
galaxy.config.
reload_config_options
(current_config)[source]¶ Reload modified reloadable config options
-
galaxy.config.
get_database_engine_options
(kwargs, model_prefix='')[source]¶ Allow options for the SQLAlchemy database engine to be passed by using the prefix “database_engine_option”.
-
galaxy.config.
init_models_from_config
(config, map_install_models=False, object_store=None, trace_logger=None)[source]¶
-
galaxy.config.
configure_logging
(config)[source]¶ Allow some basic logging configuration to be read from ini file.
This should be able to consume either a galaxy.config.Configuration object or a simple dictionary of configuration variables.
-
class
galaxy.config.
ConfiguresGalaxyMixin
[source]¶ Bases:
object
Shared code for configuring Galaxy-like app objects.
-
tool_dependency_dir
¶
-