Skip to content

Commit

Permalink
Annotate deprecated options
Browse files Browse the repository at this point in the history
  • Loading branch information
davelopez committed Aug 23, 2023
1 parent f1f9352 commit 7a20cd0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/galaxy/schema/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ class ComputedGalaxyConfig(Model):
server_startttime: Annotated[
int,
Field(
deprecated=True, # TODO: This option seems to be unused in the codebase (?)
title="Server Start Time",
description="""The time when the Galaxy server was started (seconds since Epoch).""",
),
Expand All @@ -117,6 +118,7 @@ class ComputedGalaxyConfig(Model):
python: Annotated[
List[int],
Field(
deprecated=True, # TODO: This option seems to be unused in the codebase (?)
title="Python Version",
description="""The Python version used by Galaxy as a tuple of integers [mayor, minor].""",
),
Expand Down Expand Up @@ -1308,6 +1310,7 @@ class FullGalaxyConfig(AdminExposableGalaxyConfig, SchemaCompatibleConfigValues)
migrated_tools_config: Annotated[
Optional[str],
Field(
deprecated=True,
title="Migrated Tools Config",
description="""This option is deprecated.
In previous releases this file was maintained by tool migration scripts that are no
Expand Down Expand Up @@ -2564,6 +2567,7 @@ class FullGalaxyConfig(AdminExposableGalaxyConfig, SchemaCompatibleConfigValues)
display_galaxy_brand: Annotated[
Optional[bool],
Field(
deprecated=True,
title="Display Galaxy Brand",
description="""This option has been deprecated, use the `logo_src` instead to change the
default logo including the galaxy brand title.
Expand Down Expand Up @@ -4191,6 +4195,7 @@ class FullGalaxyConfig(AdminExposableGalaxyConfig, SchemaCompatibleConfigValues)
track_jobs_in_database: Annotated[
Optional[bool],
Field(
deprecated=True,
title="Track Jobs In Database",
description="""This option is deprecated, use the `mem-self` handler assignment option in the
job configuration instead.
Expand Down

0 comments on commit 7a20cd0

Please sign in to comment.