From 21b045d8bfd0d11db9f2511ea55e9c5eae4c58e7 Mon Sep 17 00:00:00 2001 From: advaithsrao Date: Wed, 18 Oct 2023 00:20:14 -0400 Subject: [PATCH] Updated data_fetch.py for issue fix with poi --- utils/data_fetch.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/utils/data_fetch.py b/utils/data_fetch.py index 73cb6a0..4a5eca9 100644 --- a/utils/data_fetch.py +++ b/utils/data_fetch.py @@ -1,3 +1,4 @@ +from typing import List, Optional import os import pandas as pd import glob @@ -18,8 +19,8 @@ class PersonOfInterest: def __init__( self, - name_list: list[str] | None = None, - email_list: list[str] | None = None, + name_list: Optional[List[str]] = None, + email_list: Optional[List[str]] = None, ): """Class to operate with the person of interest data from config.ini file """