Revert "Feat: github connector (#12292)"

This reverts commit f099bc1236.
This commit is contained in:
Kevin Hu
2025-12-29 17:06:28 +08:00
committed by GitHub
parent c3ae1aaecd
commit 17dac3ff4f
10 changed files with 9 additions and 1322 deletions

View File

@ -237,13 +237,16 @@ class BaseConnector(abc.ABC, Generic[CT]):
def validate_perm_sync(self) -> None:
"""
Permission-sync validation hook.
RAGFlow doesn't ship the Onyx EE permission-sync validation package.
Connectors that support permission sync should override
`validate_connector_settings()` as needed.
Don't override this; add a function to perm_sync_valid.py in the ee package
to do permission sync validation
"""
return None
"""
validate_connector_settings_fn = fetch_ee_implementation_or_noop(
"onyx.connectors.perm_sync_valid",
"validate_perm_sync",
noop_return_value=None,
)
validate_connector_settings_fn(self)"""
def set_allow_images(self, value: bool) -> None:
"""Implement if the underlying connector wants to skip/allow image downloading