Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for model_validate_json (0.19 seconds)

  1. scripts/notify_translations.py

            raise RuntimeError(
                f"No github event file available at: {settings.github_event_path}"
            )
        contents = settings.github_event_path.read_text("utf-8")
        github_event = PartialGitHubEvent.model_validate_json(contents)
        logging.info(f"Using GitHub event: {github_event}")
        number = (
            github_event.pull_request and github_event.pull_request.number
        ) or settings.number
        if number is None:
    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)
Back to Top