aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstuppie2026-10-11 13:42:05 -0600
committerstuppie2026-10-11 13:42:05 -0600
commit64a93f0874381d19212e1af4c0beacaeb36323d9 (patch)
tree608a7cb915bcc07d53fd5a8cd8149f42a4a7ed6e
parentd95960396373d7c200e96f2e0743ccd3693e79d1 (diff)
downloadgeneralresearch-3.7.6.tar.gz
generalresearch-3.7.6.zip
fix gr user prefetch productsHEADv3.7.6master
-rw-r--r--generalresearch/models/gr/authentication.py4
-rw-r--r--pyproject.toml2
2 files changed, 3 insertions, 3 deletions
diff --git a/generalresearch/models/gr/authentication.py b/generalresearch/models/gr/authentication.py
index 41c3eaa..142f842 100644
--- a/generalresearch/models/gr/authentication.py
+++ b/generalresearch/models/gr/authentication.py
@@ -176,9 +176,9 @@ class GRUser(BaseModel):
pm = ProductManager(pg_config=thl_pg_config)
business_products = (
- pm.fetch_uuids(business_uuids=business_uuids) if business_uuids else []
+ pm.filter_paginated(business_uuids=business_uuids) if business_uuids else []
)
- team_products = pm.fetch_uuids(team_uuids=team_uuids) if team_uuids else []
+ team_products = pm.filter_paginated(team_uuids=team_uuids) if team_uuids else []
products = {p.id: p for p in business_products + team_products}
self.products = sorted(products.values(), key=lambda x: x.created)
diff --git a/pyproject.toml b/pyproject.toml
index d1b13e7..5839d26 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "generalresearch"
-version = "3.7.5"
+version = "3.7.6"
description = "Python Utilities for General Research"
readme = "README.md"
requires-python = ">=3.14"