Skip to content
This repository was archived by the owner on Feb 18, 2026. It is now read-only.

Commit b1037a7

Browse files
committed
fix actor propagation get tag summary
1 parent 4c6d1e2 commit b1037a7

4 files changed

Lines changed: 15 additions & 6 deletions

File tree

gsrest/config.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ class GSRestConfig(BaseSettings):
5858
default=True,
5959
description="Include pubkey derived tags in tag summaries and lists",
6060
)
61+
tag_summary_only_propagate_high_confidence_actors: bool = Field(
62+
default=True,
63+
description="Only propagate high confidence actors in tag summaries",
64+
)
6165
user_tag_reporting_acl_group: str = Field(
6266
default="develop",
6367
alias="user-tag-reporting-acl-group",

gsrest/service/addresses_service.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,19 @@ async def get_tag_summary_by_address(
4444
):
4545
services = get_service_container(request)
4646
tagstore_groups = get_tagstore_access_groups(request)
47-
include_pubkey_derived_tags = request.app["config"].include_pubkey_derived_tags
47+
config = request.app["config"]
48+
include_pubkey_derived_tags = config.include_pubkey_derived_tags
49+
tag_summary_only_propagate_high_confidence_actors = (
50+
config.tag_summary_only_propagate_high_confidence_actors
51+
)
4852

4953
pydantic_result = await services.addresses_service.get_tag_summary_by_address(
5054
currency,
5155
address,
5256
tagstore_groups,
5357
include_best_cluster_tag,
5458
include_pubkey_derived_tags=include_pubkey_derived_tags,
59+
only_propagate_high_confidence_actors=tag_summary_only_propagate_high_confidence_actors,
5560
)
5661

5762
return pydantic_to_openapi(pydantic_result)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ exclude = [
9494
extend-select = ["T201"]
9595

9696
[tool.uv.sources]
97-
graphsense-lib = { git = "https://github.com/graphsense/graphsense-lib", rev = "v2.8.0-dev7" }
97+
graphsense-lib = { git = "https://github.com/graphsense/graphsense-lib", rev = "v2.8.0-dev10" }
9898

9999
[dependency-groups]
100100
dev = [

uv.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)