From 1188f8bdda768bc332dcc52dfa7a46960290848c Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Wed, 10 Jan 2024 17:43:30 +0100 Subject: [PATCH] Drop unused code from dump_openapi_schema.py --- scripts/dump_openapi_schema.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/dump_openapi_schema.py b/scripts/dump_openapi_schema.py index 6446b6bf103d..252be830bb1c 100644 --- a/scripts/dump_openapi_schema.py +++ b/scripts/dump_openapi_schema.py @@ -6,7 +6,7 @@ import click import yaml -from pydantic.networks import AnyUrl # url_regex, +from pydantic.networks import AnyUrl from galaxy.webapps.galaxy.fast_app import get_openapi_schema @@ -20,7 +20,6 @@ class YamlDumper(yaml.SafeDumper): YamlDumper.add_representer(AnyUrl, _any_url_representer) -# YamlDumper.add_implicit_resolver("!anyurl", url_regex(), None) @click.command("Write openapi schema to path")