SurfSense/surfsense_backend/app/connectors/google_drive
CREDO23 a5935bc677 feat(connectors): add connector parameter to file processor for source tracking
- Add optional 'connector' parameter with 'type' and 'metadata' fields
- Create helper function _update_document_from_connector
- Use document_metadata column (not metadata) for JSON field
- Merge metadata with existing using dict spread operator
- Google Drive documents now marked as GOOGLE_DRIVE_CONNECTOR
- Backward compatible - no changes to existing logic
- Simple and clean implementation
2025-12-28 18:01:39 +02:00
..
__init__.py feat(connectors): add Google Drive credentials module for OAuth management 2025-12-28 15:54:26 +02:00
change_tracker.py feat(connectors): add Google Drive delta sync with change tracking 2025-12-28 15:55:06 +02:00
client.py feat(connectors): add Google Drive API client wrapper 2025-12-28 15:54:32 +02:00
content_extractor.py feat(connectors): add connector parameter to file processor for source tracking 2025-12-28 18:01:39 +02:00
credentials.py feat(connectors): add Google Drive credentials module for OAuth management 2025-12-28 15:54:26 +02:00
file_types.py feat(connectors): add Google Drive file type detection and mapping 2025-12-28 15:54:42 +02:00
folder_manager.py feat(connectors): add Google Drive folder browsing and file listing 2025-12-28 15:54:58 +02:00