SaaSConnector (connectors/saas.py)

CSV-AI · backend/app/connectors/saas.py · python · MIT
email

SaaS connectors: Google Drive, OneDrive, SharePoint, Dropbox, Notion, Confluence Cloud, Slack, Microsoft Teams, GitLab and email (IMAP). Every connector lists items with a stable ``external_id`` and a ``version`` hint (vendor content hash, etag, revision or edit time) so incremen

# Source: https://github.com/Safiullah-Rahu/knowledge-intelligence | License: MIT | Copyright 2023-2026 Safiullah Rahu
# Provided via justclaw.it.com; keep this notice with the code.
"""SaaS connectors: Google Drive, OneDrive, SharePoint, Dropbox, Notion,
Confluence Cloud, Slack, Microsoft Teams, GitLab and email (IMAP).

Every connector lists items with a stable ``external_id`` and a ``version``
hint (vendor content hash, etag, revision or edit time) so incremental syncs
only fetch what changed, pages through the vendor API up to ``max_items``, and
goes through :class:`VendorHTTP` (timeouts, ``Retry-After``, ``MAX_BYTES``,
safe redirects). User-supplied hosts (GitLab ``base_url``, Confluence
``site_url``, IMAP ``host``) pass the SSRF guard. OAuth tokens come from
``app.connectors.oauth`` 

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key