bridge.core.github_latest_release module#
Auto-generated Pydantic models for the GitHub latest release schema. Do not edit this file manually — it is generated by scripts/gen_models.py from the JSON schema at schemas/github_latest_release.json.
- class bridge.core.github_latest_release.Asset(**data)[source]#
Bases:
BaseModel- Parameters:
- browser_download_url: AnyUrl#
- content_type: str#
- created_at: AwareDatetime#
- digest: str | None#
- download_count: int#
- id: int#
- label: str | None#
- name: str#
- node_id: str#
- size: int#
- state: State#
- updated_at: AwareDatetime#
- uploader: Uploader | None#
- url: AnyUrl#
- class bridge.core.github_latest_release.Author(**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#
- class bridge.core.github_latest_release.Reactions(**data)[source]#
Bases:
BaseModel- Parameters:
url (AnyUrl)
total_count (int)
field_1 (int)
field_1_1 (int)
laugh (int)
confused (int)
heart (int)
hooray (int)
eyes (int)
rocket (int)
- confused: int#
- eyes: int#
- field_1: int#
- field_1_1: int#
- heart: int#
- hooray: int#
- laugh: int#
- rocket: int#
- total_count: int#
- url: AnyUrl#
- class bridge.core.github_latest_release.Release(**data)[source]#
Bases:
BaseModel- Parameters:
url (AnyUrl)
html_url (AnyUrl)
assets_url (AnyUrl)
upload_url (str)
tarball_url (AnyUrl | None)
zipball_url (AnyUrl | None)
id (int)
node_id (str)
tag_name (str)
target_commitish (str)
name (str | None)
body (str | None)
draft (bool)
prerelease (bool)
immutable (bool | None)
created_at (AwareDatetime)
published_at (AwareDatetime | None)
updated_at (AwareDatetime | None)
author (Author)
assets (list[Asset])
body_html (str | None)
body_text (str | None)
mentions_count (int | None)
discussion_url (AnyUrl | None)
reactions (Reactions | None)
- assets: list[Asset]#
- assets_url: AnyUrl#
- author: Author#
- body: str | None#
- body_html: str | None#
- body_text: str | None#
- created_at: AwareDatetime#
- discussion_url: AnyUrl | None#
- draft: bool#
- html_url: AnyUrl#
- id: int#
- immutable: bool | None#
- mentions_count: int | None#
- name: str | None#
- node_id: str#
- prerelease: bool#
- published_at: AwareDatetime | None#
- reactions: Reactions | None#
- tag_name: str#
- tarball_url: AnyUrl | None#
- target_commitish: str#
- updated_at: AwareDatetime | None#
- upload_url: str#
- url: AnyUrl#
- zipball_url: AnyUrl | None#