From 39444d288e1668a6133881071bca9e478ae75362 Mon Sep 17 00:00:00 2001 From: Popkornium18 <46488511+Popkornium18@users.noreply.github.com> Date: Thu, 6 Mar 2025 13:34:32 +0100 Subject: [PATCH] Export Sqids from sqids module The previous code did not export the Sqids class leading to private import usage warnings when using `from sqids import Sqids`. One could work around it by using `from sqids.sqids import Sqids`. This workaround is now no longer necessary. --- sqids/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sqids/__init__.py b/sqids/__init__.py index 96106c0..383cdc9 100644 --- a/sqids/__init__.py +++ b/sqids/__init__.py @@ -1 +1,3 @@ -from .sqids import Sqids # noqa: F401 +from .sqids import Sqids + +__all__ = ["Sqids"]