mirror of
https://github.com/StanGirard/quivr.git
synced 2024-10-10 19:58:08 +03:00
d0cd634d7c
This commit adds a new optional boolean field, force_sync, to the SyncsActiveUpdateInput class in the sync module. The force_sync field allows users to manually trigger a sync operation, bypassing the regular sync interval. By default, force_sync is set to False. The force_sync field is used in the GoogleSyncUtils and AzureSyncUtils classes to determine whether to perform a sync operation even if the regular sync interval has not elapsed. If force_sync is True, the last_synced timestamp is updated and the sync operation is executed. This enhancement provides more flexibility and control over the synchronization process, allowing users to manually trigger sync operations when needed. |
||
---|---|---|
.. | ||
.vscode | ||
middlewares | ||
models | ||
modules | ||
packages | ||
playground | ||
routes | ||
supabase | ||
tests | ||
vectorstore | ||
__init__.py | ||
.dockerignore | ||
celery_config.py | ||
celery_worker.py | ||
ci-migration.sh | ||
Dockerfile | ||
Dockerfile.dev | ||
logger.py | ||
main.py | ||
manage_services.sh | ||
Porter.yaml | ||
pyrightconfig.json | ||
requirements.txt | ||
tach.yml |