[Feature] Gmail Loader (#841)

This commit is contained in:
Deven Patel
2023-10-27 18:05:08 -07:00
committed by GitHub
parent 78ec91a3a9
commit 68183e9dce
12 changed files with 354 additions and 91 deletions

View File

@@ -259,6 +259,8 @@ def detect_datatype(source: Any) -> DataType:
else:
# Source is not a URL.
# TODO: check if source is gmail query
# Use text as final fallback.
logging.debug(f"Source of `{formatted_source}` detected as `text`.")
return DataType.TEXT