From d157158564cff627e73d2942a9b929ff041b98ef Mon Sep 17 00:00:00 2001 From: Theron Luhn Date: Sun, 24 Aug 2025 15:49:21 -0700 Subject: bw compat imports. --- src/pyramid/path.py | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.2.3