From b2d26411081ec4c40a41c79cf2fe03fe953cccc4 Mon Sep 17 00:00:00 2001 From: yzh <2653009137@qq.com> Date: Sun, 12 Jan 2025 21:27:53 +0800 Subject: [PATCH] fix: add StringAdapter's statement in init.py --- casbin/persist/adapters/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/casbin/persist/adapters/__init__.py b/casbin/persist/adapters/__init__.py index 46f177e..c10546f 100644 --- a/casbin/persist/adapters/__init__.py +++ b/casbin/persist/adapters/__init__.py @@ -12,6 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. +from .string_adapter import StringAdapter from .file_adapter import FileAdapter from .filtered_file_adapter import FilteredFileAdapter from ..update_adapter import UpdateAdapter @@ -19,4 +20,4 @@ # alias import for backwards compatibility FilteredAdapter = FilteredFileAdapter -__all__ = ["FileAdapter", "FilteredFileAdapter", "FilteredAdapter", "UpdateAdapter"] +__all__ = ["StringAdapter", "FileAdapter", "FilteredFileAdapter", "FilteredAdapter", "UpdateAdapter"]