From fbf6e40f4e3c5e2e80e5309e7a910a40020d8bfa Mon Sep 17 00:00:00 2001 From: edknv Date: Thu, 27 Feb 2025 12:09:02 -0800 Subject: [PATCH] lint --- client/src/nv_ingest_client/util/file_processing/extract.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client/src/nv_ingest_client/util/file_processing/extract.py b/client/src/nv_ingest_client/util/file_processing/extract.py index d82ad6c7..ab430d67 100644 --- a/client/src/nv_ingest_client/util/file_processing/extract.py +++ b/client/src/nv_ingest_client/util/file_processing/extract.py @@ -33,7 +33,8 @@ class DocumentTypeEnum(str, Enum): tiff = "tiff" txt = "text" mp3 = "mp3" - wav = "wav" + wav = "wav" + # Maps MIME types to DocumentTypeEnum MIME_TO_DOCUMENT_TYPE = { @@ -66,7 +67,7 @@ class DocumentTypeEnum(str, Enum): "tiff": DocumentTypeEnum.tiff, "txt": DocumentTypeEnum.txt, "mp3": DocumentTypeEnum.mp3, - "wav": DocumentTypeEnum.wav, + "wav": DocumentTypeEnum.wav, # Add more as needed }