aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstuppie2026-09-22 22:03:50 -0600
committerstuppie2026-09-22 22:03:50 -0600
commite4ba113252cdf3e7e039e2a57ea7ec9372360190 (patch)
treea539a9a7736437396483c171c8869357605198ad
parent53d2adc6d28f3a312fc397b0657da514d60ae4f7 (diff)
downloadgeneralresearch-3.5.6.tar.gz
generalresearch-3.5.6.zip
fix hidden type checking import in UserManager change_product_user_idv3.5.6
-rw-r--r--generalresearch/managers/thl/user_manager/user_manager.py2
-rw-r--r--pyproject.toml2
2 files changed, 3 insertions, 1 deletions
diff --git a/generalresearch/managers/thl/user_manager/user_manager.py b/generalresearch/managers/thl/user_manager/user_manager.py
index 15fd291..f322d2b 100644
--- a/generalresearch/managers/thl/user_manager/user_manager.py
+++ b/generalresearch/managers/thl/user_manager/user_manager.py
@@ -101,6 +101,8 @@ class UserManager:
This does not rewrite historical or derived data that copied the old ID,
such as leaderboards and activity counters.
"""
+ from generalresearch.models.thl.user import User
+
assert Permission.UPDATE in self.sql_permissions, "permission error"
assert self.mysql_user_manager is not None
assert user.product_id is not None
diff --git a/pyproject.toml b/pyproject.toml
index 2b8aee9..d9f59a9 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "generalresearch"
-version = "3.5.5"
+version = "3.5.6"
description = "Python Utilities for General Research"
readme = "README.md"
requires-python = ">=3.14"