Refactor: Github Service (#6580)

Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
This commit is contained in:
Rohit Malhotra
2025-02-03 12:21:36 -05:00
committed by GitHub
parent 7d09a158c3
commit 4adef574c0
10 changed files with 199 additions and 112 deletions

View File

@@ -0,0 +1,17 @@
from pydantic import BaseModel
class GitHubUser(BaseModel):
id: int
login: str
avatar_url: str
company: str | None = None
name: str | None = None
email: str | None = None
class GitHubRepository(BaseModel):
id: int
full_name: str
stargazers_count: int | None = None
link_header: str | None = None