Revert "Feat: github connector" (#12296)

Reverts infiniflow/ragflow#12292
This commit is contained in:
Kevin Hu
2025-12-29 17:06:40 +08:00
committed by GitHub
parent c3ae1aaecd
commit c2c079886f
10 changed files with 9 additions and 1322 deletions

View File

@ -1,17 +0,0 @@
from typing import Any
from github import Repository
from github.Requester import Requester
from pydantic import BaseModel
class SerializedRepository(BaseModel):
# id is part of the raw_data as well, just pulled out for convenience
id: int
headers: dict[str, str | int]
raw_data: dict[str, Any]
def to_Repository(self, requester: Requester) -> Repository.Repository:
return Repository.Repository(
requester, self.headers, self.raw_data, completed=True
)