aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstuppie2026-10-08 08:42:12 -0600
committerstuppie2026-10-08 08:42:12 -0600
commit44ab6a709bbfabac1192a3b2cd3303c53b9566d2 (patch)
tree6c661f7b2d1ea9d13e28d0eb42910a9d34a60d9b
parent9fae0a974dbb97fef1221950e5f6c89803095133 (diff)
downloadgeneralresearch-3.7.2.tar.gz
generalresearch-3.7.2.zip
product model_dump_json(exclude={payouts, pop_financial})v3.7.2
-rw-r--r--generalresearch/models/thl/product.py2
-rw-r--r--pyproject.toml2
2 files changed, 2 insertions, 2 deletions
diff --git a/generalresearch/models/thl/product.py b/generalresearch/models/thl/product.py
index 9d826fa..e7b4e31 100644
--- a/generalresearch/models/thl/product.py
+++ b/generalresearch/models/thl/product.py
@@ -1494,7 +1494,7 @@ class Product(BaseModel, validate_assignment=True):
with rc.pipeline() as pipe:
pipe.set(
name=self.cache_key,
- value=self.model_dump_json(),
+ value=self.model_dump_json(exclude={"payouts", "pop_financial"}),
ex=timedelta(days=3),
)
if self.balance is not None:
diff --git a/pyproject.toml b/pyproject.toml
index d7dec1b..1d5f903 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "generalresearch"
-version = "3.7.1"
+version = "3.7.2"
description = "Python Utilities for General Research"
readme = "README.md"
requires-python = ">=3.14"