Ver Fonte

feat: Add logging for data in read_csv function

mrh há 1 ano atrás
pai
commit
56bb2663d7
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      mylib/read_encoding_cvs.py

+ 1 - 0
mylib/read_encoding_cvs.py

@@ -79,6 +79,7 @@ def read_csv(file_path: str, to_encode: str = 'utf-8') -> List[List[str]]:
                     ]
                     
                 logger.info(f"Successfully read file with encoding: {encoding}")
+                logger.info(f"Data: {data}")
                 return data
                 
         except UnicodeDecodeError as e: