summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheron Luhn <theron@luhn.com>2025-08-24 15:49:21 -0700
committerTheron Luhn <theron@luhn.com>2025-08-24 15:49:21 -0700
commitd157158564cff627e73d2942a9b929ff041b98ef (patch)
tree790fa3fa0538906d720226115201bcca895e9c0c
parent793a5d02929f136a55d3d882bfbc711e0aaef607 (diff)
downloadpyramid-d157158564cff627e73d2942a9b929ff041b98ef.tar.gz
pyramid-d157158564cff627e73d2942a9b929ff041b98ef.tar.bz2
pyramid-d157158564cff627e73d2942a9b929ff041b98ef.zip
bw compat imports.
-rw-r--r--src/pyramid/path.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pyramid/path.py b/src/pyramid/path.py
index b06ecf91b..d4909d412 100644
--- a/src/pyramid/path.py
+++ b/src/pyramid/path.py
@@ -163,3 +163,9 @@ class FSAssetDescriptor:
def exists(self):
return os.path.exists(self.path)
+
+
+# We're importing these classes for backwards compatibility, because these used
+# to exist in `pyramid.path`.
+# This must be at the bottom of the file to avoid a circular import.
+from .resolver import AssetResolver, DottedNameResolver, Resolver # noqa