diff --git a/scripts/dump_openapi_schema.py b/scripts/dump_openapi_schema.py index c112733513f..6446b6bf103 100644 --- a/scripts/dump_openapi_schema.py +++ b/scripts/dump_openapi_schema.py @@ -6,10 +6,7 @@ sys.path.insert(1, os.path.abspath(os.path.join(os.path.dirname(__file__), os.pa import click import yaml -from pydantic.networks import ( - AnyUrl, - url_regex, -) +from pydantic.networks import AnyUrl # url_regex, from galaxy.webapps.galaxy.fast_app import get_openapi_schema @@ -23,7 +20,7 @@ class YamlDumper(yaml.SafeDumper): YamlDumper.add_representer(AnyUrl, _any_url_representer) -YamlDumper.add_implicit_resolver("!anyurl", url_regex(), None) +# YamlDumper.add_implicit_resolver("!anyurl", url_regex(), None) @click.command("Write openapi schema to path")