Skip to content

Commit cd877b1

Browse files
committed
review comments on subject notes
1 parent 74cdefe commit cd877b1

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

utils/subject_notes.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,13 @@ def fetch_supporting_notes_from_db(
1818
) -> tuple[int, int, pd.DataFrame]:
1919
"""
2020
Retrieves supporting notes from the database using subject and note info.
21+
Args:
22+
subjects_df (pd.DataFrame): Dataframe containing subject information
23+
nhs_no (str): NHS Number of the subject
24+
note_status (str): Status of the note (e.g., active)
2125
22-
:param subjects_df: DataFrame containing subject information
23-
:param nhs_no: NHS Number of the subject
24-
:param note_status: Status of the note (e.g., active)
25-
:return: Tuple of (screening_subject_id, type_id, notes_df)
26+
Returns:
27+
Tuple of (screening_subject_id, type_id, notes_df)
2628
"""
2729
logging.info(
2830
f"Retrieving supporting notes for the subject with NHS Number: {nhs_no}."

0 commit comments

Comments
 (0)