summaryrefslogtreecommitdiff
path: root/dev-python/flask-restx/files
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
commita3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-python/flask-restx/files
parentbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff)
downloadbaldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip
Adding metadata
Diffstat (limited to 'dev-python/flask-restx/files')
-rw-r--r--dev-python/flask-restx/files/flask-restx-avoid-importlib_resources.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/dev-python/flask-restx/files/flask-restx-avoid-importlib_resources.patch b/dev-python/flask-restx/files/flask-restx-avoid-importlib_resources.patch
deleted file mode 100644
index cda8a054f7f5..000000000000
--- a/dev-python/flask-restx/files/flask-restx-avoid-importlib_resources.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff --git a/flask_restx/schemas/__init__.py b/flask_restx/schemas/__init__.py
-index 27b9866..4369737 100644
---- a/flask_restx/schemas/__init__.py
-+++ b/flask_restx/schemas/__init__.py
-@@ -7,7 +7,7 @@ and allows to validate specs against them.
- import io
- import json
-
--import importlib_resources
-+import importlib.resources
-
- from collections.abc import Mapping
- from jsonschema import Draft4Validator
-@@ -57,7 +57,7 @@ class LazySchema(Mapping):
-
- def _load(self):
- if not self._schema:
-- ref = importlib_resources.files(__name__) / self.filename
-+ ref = importlib.resources.files(__name__) / self.filename
-
- with io.open(ref) as infile:
- self._schema = json.load(infile)