Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for get_repo (0.05 seconds)

  1. scripts/notify_translations.py

        else:
            logging.basicConfig(level=logging.INFO)
        logging.debug(f"Using config: {settings.model_dump_json()}")
        g = Github(settings.github_token.get_secret_value())
        repo = g.get_repo(settings.github_repository)
        if not settings.github_event_path.is_file():
            raise RuntimeError(
                f"No github event file available at: {settings.github_event_path}"
            )
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  2. scripts/people.py

        settings = Settings()
        logging.info(f"Using config: {settings.model_dump_json()}")
        rate_limiter.speed_multiplier = settings.speed_multiplier
        g = Github(settings.github_token.get_secret_value())
        repo = g.get_repo(settings.github_repository)
    
        discussion_nodes = get_discussion_nodes(settings=settings)
        experts_results = get_discussions_experts(discussion_nodes=discussion_nodes)
    
        authors = experts_results.authors
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 13:51:24 GMT 2026
    - 15K bytes
    - Click Count (0)
  3. scripts/translate.py

        print("Pushing branch")
        subprocess.run(["git", "push", "origin", branch_name], check=True)
        if not commit_in_place:
            print("Creating PR")
            g = Github(github_token)
            gh_repo = g.get_repo(github_repository)
            body = (
                message
                + "\n\nThis PR was created automatically using LLMs."
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:37:41 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  4. tests/test_repeated_dependency_schema.py

    app = FastAPI()
    
    
    def get_header(*, someheader: str = Header()):
        return someheader
    
    
    def get_something_else(*, someheader: str = Depends(get_header)):
        return f"{someheader}123"
    
    
    @app.get("/")
    def get_deps(dep1: str = Depends(get_header), dep2: str = Depends(get_something_else)):
        return {"dep1": dep1, "dep2": dep2}
    
    
    client = TestClient(app)
    
    
    def test_response():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 4K bytes
    - Click Count (0)
Back to Top