Skip to content

Commit

Permalink
Move config parsing to util package
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Sep 22, 2023
1 parent 3087717 commit 225e7ec
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 25 deletions.
2 changes: 1 addition & 1 deletion lib/galaxy/config/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@

import yaml

from galaxy.config.parsers import parse_allowlist_ips
from galaxy.config.schema import AppSchema
from galaxy.exceptions import ConfigurationError
from galaxy.util import (
Expand All @@ -42,6 +41,7 @@
string_as_bool,
unicodify,
)
from galaxy.util.config_parsers import parse_allowlist_ips
from galaxy.util.custom_logging import LOGLV_TRACE
from galaxy.util.dynamic import HasDynamicProperties
from galaxy.util.facts import get_facts
Expand Down
21 changes: 0 additions & 21 deletions lib/galaxy/config/parsers.py

This file was deleted.

2 changes: 1 addition & 1 deletion lib/galaxy/files/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
)

from galaxy import exceptions
from galaxy.config.parsers import parse_allowlist_ips
from galaxy.util import plugin_config
from galaxy.util.config_parsers import parse_allowlist_ips
from galaxy.util.dictifiable import Dictifiable

log = logging.getLogger(__name__)
Expand Down
2 changes: 1 addition & 1 deletion lib/galaxy/files/uris.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
)
from urllib.parse import urlparse

from galaxy.config.parsers import IpAllowedListEntryT
from galaxy.exceptions import (
AdminRequiredException,
ConfigDoesNotAllowException,
Expand All @@ -23,6 +22,7 @@
stream_to_open_named_file,
unicodify,
)
from galaxy.util.config_parsers import IpAllowedListEntryT

log = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion lib/galaxy_test/api/test_drs.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@

import requests

from galaxy.config.parsers import parse_allowlist_ips
from galaxy.files import (
ConfiguredFileSources,
ConfiguredFileSourcesConfig,
DictFileSourcesUserContext,
)
from galaxy.util.config_parsers import parse_allowlist_ips
from galaxy.util.drs import (
fetch_drs_to_file,
RetryOptions,
Expand Down

0 comments on commit 225e7ec

Please sign in to comment.