From 81134b81f0ebe82d4aecd93278222f069b800c09 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 14 Jan 2026 09:21:57 +0000 Subject: [PATCH 1/2] Initial plan From 596c863429e8473fa29a7f2fc9a3f237f1173e54 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 14 Jan 2026 09:24:52 +0000 Subject: [PATCH 2/2] Docs: clarify correlation hook parameters in documentation Co-authored-by: xsedla1o <62329066+xsedla1o@users.noreply.github.com> --- dp3/snapshots/snapshooter.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dp3/snapshots/snapshooter.py b/dp3/snapshots/snapshooter.py index a4986d81..e7965caf 100644 --- a/dp3/snapshots/snapshooter.py +++ b/dp3/snapshots/snapshooter.py @@ -201,9 +201,9 @@ def register_correlation_hook( `entity_type` and attribute specifications are validated, `ValueError` is raised on failure. Args: - hook: `hook` callable should expect entity type as str - and its current values, including linked entities, as dict; - and its master record as dict. + hook: `hook` callable should expect three parameters: + entity_type (str), current_values (dict, including linked entities), + and master_record (dict). Can optionally return a list of DataPointTask objects to perform. entity_type: specifies entity type depends_on: each item should specify an attribute that is depended on