Skip to content

Commit 55d9f86

Browse files
committed
eli-579 updating docstring
1 parent a412906 commit 55d9f86

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • src/eligibility_signposting_api/services/processors/derived_values

src/eligibility_signposting_api/services/processors/derived_values/base.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@ class DerivedValueContext:
99
1010
Attributes:
1111
person_data: List of person attribute dictionaries
12-
attribute_name: The condition/vaccine type (e.g., 'COVID', 'RSV') or person attribute (e.g., 'DATE_OF_BIRTH')
12+
attribute_name: The condition/vaccine type (e.g., 'COVID', 'RSV') or person/cohort attribute
13+
(e.g., 'DATE_OF_BIRTH')
1314
source_attribute: The source attribute to derive from (e.g., 'LAST_SUCCESSFUL_DATE')
1415
function_args: Arguments passed to the function (e.g., number of days)
1516
date_format: Optional date format string for output formatting
16-
attribute_level: The level of the attribute ('TARGET' or 'PERSON')
17+
attribute_level: The level of the attribute ('TARGET', 'PERSON' or 'COHORT')
1718
"""
1819

1920
person_data: list[dict[str, Any]]

0 commit comments

Comments
 (0)