Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /rileyseaburg_codetether /a2a_server /git_auth_models.py
| """Git authentication models for workspace registration.""" | |
| from typing import Literal, Optional | |
| from pydantic import BaseModel | |
| class GitHubAppAuth(BaseModel): | |
| """GitHub App installation metadata for a repository.""" | |
| installation_id: str | |
| owner: str | |
| repo: str | |
| app_id: Optional[str] = None | |
| class GitAuthConfig(BaseModel): | |
| """Structured Git authentication configuration.""" | |
| type: Literal['pat', 'oauth', 'github_app'] = 'pat' | |
| token: Optional[str] = None | |
| github_app: Optional[GitHubAppAuth] = None | |
Xet Storage Details
- Size:
- 538 Bytes
- Xet hash:
- 6dedde8896189ed49117b1c31261fe57ea36bf147cbf4f5e40881046cd5a431f
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.