bridge.core.github_repo module#
Auto-generated Pydantic models for the GitHub repository schema. Do not edit this file manually — it is generated by scripts/gen_models.py from the JSON schema at schemas/github_repo.json.
- class bridge.core.github_repo.AdvancedSecurity(**data)[source]#
Bases:
BaseModel- Parameters:
status (Status | None)
- status: Status | None#
- class bridge.core.github_repo.CodeOfConduct(**data)[source]#
Bases:
BaseModel- Parameters:
url (AnyUrl)
key (str)
name (str)
html_url (AnyUrl | None)
- html_url: AnyUrl | None#
- key: str#
- name: str#
- url: AnyUrl#
- class bridge.core.github_repo.CodeSearchIndexStatus(**data)[source]#
Bases:
BaseModel- Parameters:
lexical_search_ok (bool | None)
lexical_commit_sha (str | None)
- lexical_commit_sha: str | None#
- lexical_search_ok: bool | None#
- bridge.core.github_repo.CodeSecurity#
alias of
AdvancedSecurity
- class bridge.core.github_repo.DependabotSecurityUpdates(**data)[source]#
Bases:
BaseModel- Parameters:
status (Status | None)
- status: Status | None#
- class bridge.core.github_repo.FullRepository(**data)[source]#
Bases:
BaseModel- Parameters:
id (int)
node_id (str)
name (str)
full_name (str)
owner (Owner)
private (bool)
html_url (AnyUrl)
description (str | None)
fork (bool)
url (AnyUrl)
archive_url (str)
assignees_url (str)
blobs_url (str)
branches_url (str)
collaborators_url (str)
comments_url (str)
commits_url (str)
compare_url (str)
contents_url (str)
contributors_url (AnyUrl)
deployments_url (AnyUrl)
downloads_url (AnyUrl)
events_url (AnyUrl)
forks_url (AnyUrl)
git_commits_url (str)
git_refs_url (str)
git_tags_url (str)
git_url (str)
issue_comment_url (str)
issue_events_url (str)
issues_url (str)
keys_url (str)
labels_url (str)
languages_url (AnyUrl)
merges_url (AnyUrl)
milestones_url (str)
notifications_url (str)
pulls_url (str)
releases_url (str)
ssh_url (str)
stargazers_url (AnyUrl)
statuses_url (str)
subscribers_url (AnyUrl)
subscription_url (AnyUrl)
tags_url (AnyUrl)
teams_url (AnyUrl)
trees_url (str)
clone_url (str)
mirror_url (AnyUrl | None)
hooks_url (AnyUrl)
svn_url (AnyUrl)
homepage (AnyUrl | None)
language (str | None)
forks_count (int)
stargazers_count (int)
watchers_count (int)
size (int)
default_branch (str)
open_issues_count (int)
is_template (bool | None)
topics (list[str] | None)
has_issues (bool)
has_projects (bool)
has_wiki (bool)
has_pages (bool)
has_downloads (bool | None)
has_discussions (bool)
archived (bool)
disabled (bool)
visibility (str | None)
pushed_at (AwareDatetime)
created_at (AwareDatetime)
updated_at (AwareDatetime)
permissions (Permissions | None)
allow_rebase_merge (bool | None)
template_repository (TemplateRepository | None)
temp_clone_token (str | None)
allow_squash_merge (bool | None)
allow_auto_merge (bool | None)
delete_branch_on_merge (bool | None)
allow_merge_commit (bool | None)
allow_update_branch (bool | None)
use_squash_pr_title_as_default (bool | None)
squash_merge_commit_title (SquashMergeCommitTitle | None)
squash_merge_commit_message (SquashMergeCommitMessage | None)
merge_commit_title (MergeCommitTitle | None)
merge_commit_message (MergeCommitMessage | None)
allow_forking (bool | None)
web_commit_signoff_required (bool | None)
subscribers_count (int)
network_count (int)
license (License | None)
organization (Owner | None)
parent (TemplateRepository | None)
source (TemplateRepository | None)
forks (int)
master_branch (str | None)
open_issues (int)
watchers (int)
anonymous_access_enabled (bool | None)
code_of_conduct (CodeOfConduct | None)
security_and_analysis (SecurityAndAnalysis | None)
custom_properties (dict[str, Any] | None)
- allow_auto_merge: bool | None#
- allow_forking: bool | None#
- allow_merge_commit: bool | None#
- allow_rebase_merge: bool | None#
- allow_squash_merge: bool | None#
- allow_update_branch: bool | None#
- anonymous_access_enabled: bool | None#
- archive_url: str#
- archived: bool#
- assignees_url: str#
- blobs_url: str#
- branches_url: str#
- clone_url: str#
- code_of_conduct: CodeOfConduct | None#
- collaborators_url: str#
- comments_url: str#
- commits_url: str#
- compare_url: str#
- contents_url: str#
- contributors_url: AnyUrl#
- created_at: AwareDatetime#
- custom_properties: dict[str, Any] | None#
- default_branch: str#
- delete_branch_on_merge: bool | None#
- deployments_url: AnyUrl#
- description: str | None#
- disabled: bool#
- downloads_url: AnyUrl#
- events_url: AnyUrl#
- fork: bool#
- forks: int#
- forks_count: int#
- forks_url: AnyUrl#
- full_name: str#
- git_commits_url: str#
- git_refs_url: str#
- git_tags_url: str#
- git_url: str#
- has_discussions: bool#
- has_downloads: bool | None#
- has_issues: bool#
- has_pages: bool#
- has_projects: bool#
- has_wiki: bool#
- homepage: AnyUrl | None#
- hooks_url: AnyUrl#
- html_url: AnyUrl#
- id: int#
- is_template: bool | None#
- issue_comment_url: str#
- issue_events_url: str#
- issues_url: str#
- keys_url: str#
- labels_url: str#
- language: str | None#
- languages_url: AnyUrl#
- license: License | None#
- master_branch: str | None#
- merge_commit_message: MergeCommitMessage | None#
- merge_commit_title: MergeCommitTitle | None#
- merges_url: AnyUrl#
- milestones_url: str#
- mirror_url: AnyUrl | None#
- name: str#
- network_count: int#
- node_id: str#
- notifications_url: str#
- open_issues: int#
- open_issues_count: int#
- organization: Organization | None#
- owner: Owner#
- parent: Parent | None#
- permissions: Permissions | None#
- private: bool#
- pulls_url: str#
- pushed_at: AwareDatetime#
- releases_url: str#
- security_and_analysis: SecurityAndAnalysis | None#
- size: int#
- source: Source | None#
- squash_merge_commit_message: SquashMergeCommitMessage | None#
- squash_merge_commit_title: SquashMergeCommitTitle | None#
- ssh_url: str#
- stargazers_count: int#
- stargazers_url: AnyUrl#
- statuses_url: str#
- subscribers_count: int#
- subscribers_url: AnyUrl#
- subscription_url: AnyUrl#
- svn_url: AnyUrl#
- tags_url: AnyUrl#
- teams_url: AnyUrl#
- temp_clone_token: str | None#
- template_repository: TemplateRepository | None#
- topics: list[str] | None#
- trees_url: str#
- updated_at: AwareDatetime#
- url: AnyUrl#
- use_squash_pr_title_as_default: bool | None#
- visibility: str | None#
- watchers: int#
- watchers_count: int#
- web_commit_signoff_required: bool | None#
- class bridge.core.github_repo.License(**data)[source]#
Bases:
BaseModel- Parameters:
key (str)
name (str)
url (AnyUrl | None)
spdx_id (str | None)
node_id (str)
html_url (AnyUrl | None)
- html_url: AnyUrl | None#
- key: str#
- name: str#
- node_id: str#
- spdx_id: str | None#
- url: AnyUrl | None#
- class bridge.core.github_repo.Owner(**data)[source]#
Bases:
BaseModel- Parameters:
name (str | None)
email (str | None)
login (str)
id (int)
node_id (str)
avatar_url (AnyUrl)
gravatar_id (str | None)
url (AnyUrl)
html_url (AnyUrl)
followers_url (AnyUrl)
following_url (str)
gists_url (str)
starred_url (str)
subscriptions_url (AnyUrl)
organizations_url (AnyUrl)
repos_url (AnyUrl)
events_url (str)
received_events_url (AnyUrl)
type (str)
site_admin (bool)
starred_at (str | None)
user_view_type (str | None)
- avatar_url: AnyUrl#
- email: str | None#
- events_url: str#
- followers_url: AnyUrl#
- following_url: str#
- gists_url: str#
- gravatar_id: str | None#
- html_url: AnyUrl#
- id: int#
- login: str#
- name: str | None#
- node_id: str#
- organizations_url: AnyUrl#
- received_events_url: AnyUrl#
- repos_url: AnyUrl#
- site_admin: bool#
- starred_at: str | None#
- starred_url: str#
- subscriptions_url: AnyUrl#
- type: str#
- url: AnyUrl#
- user_view_type: str | None#
- bridge.core.github_repo.Parent#
alias of
TemplateRepository
- class bridge.core.github_repo.Permissions(**data)[source]#
Bases:
BaseModel- Parameters:
admin (bool)
maintain (bool | None)
push (bool)
triage (bool | None)
pull (bool)
- admin: bool#
- maintain: bool | None#
- pull: bool#
- push: bool#
- triage: bool | None#
- class bridge.core.github_repo.Permissions1(**data)[source]#
Bases:
BaseModel- Parameters:
admin (bool)
pull (bool)
triage (bool | None)
push (bool)
maintain (bool | None)
- admin: bool#
- maintain: bool | None#
- pull: bool#
- push: bool#
- triage: bool | None#
- bridge.core.github_repo.SecretScanning#
alias of
AdvancedSecurity
- bridge.core.github_repo.SecretScanningAiDetection#
alias of
AdvancedSecurity
- bridge.core.github_repo.SecretScanningNonProviderPatterns#
alias of
AdvancedSecurity
- bridge.core.github_repo.SecretScanningPushProtection#
alias of
AdvancedSecurity
- class bridge.core.github_repo.SecurityAndAnalysis(**data)[source]#
Bases:
BaseModel- Parameters:
advanced_security (AdvancedSecurity | None)
code_security (AdvancedSecurity | None)
dependabot_security_updates (DependabotSecurityUpdates | None)
secret_scanning (AdvancedSecurity | None)
secret_scanning_push_protection (AdvancedSecurity | None)
secret_scanning_non_provider_patterns (AdvancedSecurity | None)
secret_scanning_ai_detection (AdvancedSecurity | None)
- advanced_security: AdvancedSecurity | None#
- code_security: CodeSecurity | None#
- dependabot_security_updates: DependabotSecurityUpdates | None#
- secret_scanning: SecretScanning | None#
- secret_scanning_ai_detection: SecretScanningAiDetection | None#
- secret_scanning_non_provider_patterns: SecretScanningNonProviderPatterns | None#
- secret_scanning_push_protection: SecretScanningPushProtection | None#
- bridge.core.github_repo.Source#
alias of
TemplateRepository
- class bridge.core.github_repo.TemplateRepository(**data)[source]#
Bases:
BaseModel- Parameters:
id (int)
node_id (str)
name (str)
full_name (str)
license (License | None)
forks (int)
permissions (Permissions1 | None)
owner (Owner)
private (bool)
html_url (AnyUrl)
description (str | None)
fork (bool)
url (AnyUrl)
archive_url (str)
assignees_url (str)
blobs_url (str)
branches_url (str)
collaborators_url (str)
comments_url (str)
commits_url (str)
compare_url (str)
contents_url (str)
contributors_url (AnyUrl)
deployments_url (AnyUrl)
downloads_url (AnyUrl)
events_url (AnyUrl)
forks_url (AnyUrl)
git_commits_url (str)
git_refs_url (str)
git_tags_url (str)
git_url (str)
issue_comment_url (str)
issue_events_url (str)
issues_url (str)
keys_url (str)
labels_url (str)
languages_url (AnyUrl)
merges_url (AnyUrl)
milestones_url (str)
notifications_url (str)
pulls_url (str)
releases_url (str)
ssh_url (str)
stargazers_url (AnyUrl)
statuses_url (str)
subscribers_url (AnyUrl)
subscription_url (AnyUrl)
tags_url (AnyUrl)
teams_url (AnyUrl)
trees_url (str)
clone_url (str)
mirror_url (AnyUrl | None)
hooks_url (AnyUrl)
svn_url (AnyUrl)
homepage (AnyUrl | None)
language (str | None)
forks_count (int)
stargazers_count (int)
watchers_count (int)
size (int)
default_branch (str)
open_issues_count (int)
is_template (bool | None)
topics (list[str] | None)
has_issues (bool)
has_projects (bool)
has_wiki (bool)
has_pages (bool)
has_downloads (bool)
has_discussions (bool | None)
archived (bool)
disabled (bool)
visibility (str | None)
pushed_at (AwareDatetime | None)
created_at (AwareDatetime | None)
updated_at (AwareDatetime | None)
allow_rebase_merge (bool | None)
temp_clone_token (str | None)
allow_squash_merge (bool | None)
allow_auto_merge (bool | None)
delete_branch_on_merge (bool | None)
allow_update_branch (bool | None)
use_squash_pr_title_as_default (bool | None)
squash_merge_commit_title (SquashMergeCommitTitle | None)
squash_merge_commit_message (SquashMergeCommitMessage | None)
merge_commit_title (MergeCommitTitle | None)
merge_commit_message (MergeCommitMessage | None)
allow_merge_commit (bool | None)
allow_forking (bool | None)
web_commit_signoff_required (bool | None)
open_issues (int)
watchers (int)
master_branch (str | None)
starred_at (str | None)
anonymous_access_enabled (bool | None)
code_search_index_status (CodeSearchIndexStatus | None)
- allow_auto_merge: bool | None#
- allow_forking: bool | None#
- allow_merge_commit: bool | None#
- allow_rebase_merge: bool | None#
- allow_squash_merge: bool | None#
- allow_update_branch: bool | None#
- anonymous_access_enabled: bool | None#
- archive_url: str#
- archived: bool#
- assignees_url: str#
- blobs_url: str#
- branches_url: str#
- clone_url: str#
- code_search_index_status: CodeSearchIndexStatus | None#
- collaborators_url: str#
- comments_url: str#
- commits_url: str#
- compare_url: str#
- contents_url: str#
- contributors_url: AnyUrl#
- created_at: AwareDatetime | None#
- default_branch: str#
- delete_branch_on_merge: bool | None#
- deployments_url: AnyUrl#
- description: str | None#
- disabled: bool#
- downloads_url: AnyUrl#
- events_url: AnyUrl#
- fork: bool#
- forks: int#
- forks_count: int#
- forks_url: AnyUrl#
- full_name: str#
- git_commits_url: str#
- git_refs_url: str#
- git_tags_url: str#
- git_url: str#
- has_discussions: bool | None#
- has_downloads: bool#
- has_issues: bool#
- has_pages: bool#
- has_projects: bool#
- has_wiki: bool#
- homepage: AnyUrl | None#
- hooks_url: AnyUrl#
- html_url: AnyUrl#
- id: int#
- is_template: bool | None#
- issue_comment_url: str#
- issue_events_url: str#
- issues_url: str#
- keys_url: str#
- labels_url: str#
- language: str | None#
- languages_url: AnyUrl#
- license: License | None#
- master_branch: str | None#
- merge_commit_message: MergeCommitMessage | None#
- merge_commit_title: MergeCommitTitle | None#
- merges_url: AnyUrl#
- milestones_url: str#
- mirror_url: AnyUrl | None#
- name: str#
- node_id: str#
- notifications_url: str#
- open_issues: int#
- open_issues_count: int#
- owner: Owner#
- permissions: Permissions1 | None#
- private: bool#
- pulls_url: str#
- pushed_at: AwareDatetime | None#
- releases_url: str#
- size: int#
- squash_merge_commit_message: SquashMergeCommitMessage | None#
- squash_merge_commit_title: SquashMergeCommitTitle | None#
- ssh_url: str#
- stargazers_count: int#
- stargazers_url: AnyUrl#
- starred_at: str | None#
- statuses_url: str#
- subscribers_url: AnyUrl#
- subscription_url: AnyUrl#
- svn_url: AnyUrl#
- tags_url: AnyUrl#
- teams_url: AnyUrl#
- temp_clone_token: str | None#
- topics: list[str] | None#
- trees_url: str#
- updated_at: AwareDatetime | None#
- url: AnyUrl#
- use_squash_pr_title_as_default: bool | None#
- visibility: str | None#
- watchers: int#
- watchers_count: int#
- web_commit_signoff_required: bool | None#