- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for GITHUB_REPOSITORY (0.07 sec)
-
scripts/deploy_docs_status.py
import logging import re from typing import Literal from github import Auth, Github from pydantic import BaseModel, SecretStr from pydantic_settings import BaseSettings class Settings(BaseSettings): github_repository: str github_token: SecretStr deploy_url: str | None = None commit_sha: str run_id: int state: Literal["pending", "success", "error"] = "pending" class LinkData(BaseModel):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 30 05:56:53 UTC 2025 - 4.4K bytes - Viewed (0) -
scripts/label_approved.py
class LabelSettings(BaseModel): await_label: str | None = None number: int default_config = {"approved-2": LabelSettings(await_label="awaiting-review", number=2)} class Settings(BaseSettings): github_repository: str token: SecretStr debug: bool | None = False config: dict[str, LabelSettings] | Literal[""] = default_config settings = Settings() if settings.debug:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Jun 17 07:50:19 UTC 2025 - 2.2K bytes - Viewed (0) -
scripts/topic_repos.py
g = Github(settings.github_token.get_secret_value(), per_page=100) r = g.get_repo(settings.github_repository) repos = g.search_repositories(query="topic:fastapi") repos_list = list(repos) final_repos: list[Repo] = [] for repo in repos_list[:100]: if repo.full_name == settings.github_repository: continue final_repos.append( Repo( name=repo.name,
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 12:34:01 UTC 2025 - 2.7K bytes - Viewed (0) -
scripts/sponsors.py
user: SponsorsUser class SponsorsResponse(BaseModel): data: SponsorsResponseData class Settings(BaseSettings): sponsors_token: SecretStr pr_token: SecretStr github_repository: str httpx_timeout: int = 30 def get_graphql_response( *, settings: Settings, query: str, after: str | None = None, ) -> dict[str, Any]:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 12:34:01 UTC 2025 - 6.1K bytes - Viewed (0) -
scripts/contributors.py
class PRsResponseData(BaseModel): repository: PRsRepository class PRsResponse(BaseModel): data: PRsResponseData class Settings(BaseSettings): github_token: SecretStr github_repository: str httpx_timeout: int = 30 def get_graphql_response( *, settings: Settings, query: str, after: str | None = None, ) -> dict[str, Any]:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 12:34:01 UTC 2025 - 8.6K bytes - Viewed (0) -
scripts/people.py
repository: DiscussionsRepository class DiscussionsResponse(BaseModel): data: DiscussionsResponseData class Settings(BaseSettings): github_token: SecretStr github_repository: str httpx_timeout: int = 30 sleep_interval: int = 5 def get_graphql_response( *, settings: Settings, query: str, after: Union[str, None] = None,
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 12.3K bytes - Viewed (0) -
scripts/notify_translations.py
class AllDiscussionsResponse(BaseModel): data: AllDiscussionsData class Settings(BaseSettings): model_config = {"env_ignore_empty": True} github_repository: str github_token: SecretStr github_event_path: Path github_event_name: Union[str, None] = None httpx_timeout: int = 30 debug: Union[bool, None] = False number: int | None = None
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 12.7K bytes - Viewed (0) -
scripts/translate.py
command: Annotated[str | None, typer.Option(envvar="COMMAND")] = None, github_token: Annotated[str, typer.Option(envvar="GITHUB_TOKEN")], github_repository: Annotated[str, typer.Option(envvar="GITHUB_REPOSITORY")], ) -> None: print("Setting up GitHub Actions git user") repo = git.Repo(Path(__file__).absolute().parent.parent) if not repo.is_dirty(untracked_files=True):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 19:05:53 UTC 2025 - 34.1K bytes - Viewed (0)