We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c93053 commit 738790bCopy full SHA for 738790b
1 file changed
dp3/common/callback_registrar.py
@@ -392,9 +392,9 @@ def register_correlation_hook_with_master_record(
392
`entity_type` and attribute specifications are validated, `ValueError` is raised on failure.
393
394
Args:
395
- hook: `hook` callable should expect entity type as str;
396
- its current values, including linked entities, as dict;
397
- and its master record as dict.
+ hook: `hook` callable should have the signature
+ `hook(entity_type: str, current_values: dict, master_record: dict)`.
+ where `current_values` includes linked entities.
398
Can optionally return a list of DataPointTask objects to perform.
399
entity_type: specifies entity type
400
depends_on: each item should specify an attribute that is depended on
0 commit comments