From 1844f51ac2e2e0ca5b601d6d6ffe1e0ea00362a8 Mon Sep 17 00:00:00 2001 From: Om_Kesharwani <151512585+Om-Beast@users.noreply.github.com> Date: Sat, 14 Nov 2026 19:33:34 +0000 Subject: [PATCH 1/8] Run the async client on trio as well as asyncio AsyncProoflineClient bounds I/O with anyio, but its Retry-After backoff and wait_for_review polling slept with asyncio.sleep. Under trio a retried request surfaced as a status-0 invalid-response problem and wait_for_review raised "no running event loop". Sleep with anyio so both paths run on any backend that anyio and httpx support, and test the sleeping and deadline paths on asyncio and trio. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_017GA2KNDKv463GeBmDCYL95 --- README.md | 2 +- proofline/_transport.py | 2 +- proofline/client.py | 2 +- pyproject.toml | 1 + requirements-dev.txt | 116 +++++++++++++++++++++++++++++++++++ tests/test_async_backends.py | 81 ++++++++++++++++++++++++ 6 files changed, 201 insertions(+), 3 deletions(-) create mode 100644 tests/test_async_backends.py diff --git a/README.md b/README.md index 1bc220e3..f3eb050f 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ with ProoflineClient(os.environ["PROOFLINE_TOKEN"]) as client: ... ``` -When no token is passed, the clients read `PROOFLINE_TOKEN` from the environment, keep the token in memory, and redact it from diagnostic output. `AsyncProoflineClient` exposes the same methods as coroutines that you call with `await`. The [SDK guide](https://proofline.sh/docs/sdks/) and [API reference](https://proofline.sh/docs/api/) cover every operation. +When no token is passed, the clients read `PROOFLINE_TOKEN` from the environment, keep the token in memory, and redact it from diagnostic output. `AsyncProoflineClient` exposes the same methods as coroutines that you call with `await`, and runs on asyncio or trio. The [SDK guide](https://proofline.sh/docs/sdks/) and [API reference](https://proofline.sh/docs/api/) cover every operation. ## Errors and refusals diff --git a/proofline/_transport.py b/proofline/_transport.py index c5c2c51d..8f3dc128 100644 --- a/proofline/_transport.py +++ b/proofline/_transport.py @@ -6,7 +6,6 @@ import math import os import re -from asyncio import sleep as async_sleep from collections.abc import AsyncIterator, Callable, Generator, Iterator from contextlib import contextmanager from contextvars import ContextVar @@ -18,6 +17,7 @@ import anyio import httpx +from anyio import sleep as async_sleep from pydantic import SecretStr from ._generated.models import ( diff --git a/proofline/client.py b/proofline/client.py index 0a8239b4..1d7c9e3d 100644 --- a/proofline/client.py +++ b/proofline/client.py @@ -3,7 +3,6 @@ from __future__ import annotations import math -from asyncio import sleep as async_sleep from collections.abc import AsyncIterator, Awaitable, Callable, Iterator from time import monotonic, sleep from types import TracebackType @@ -12,6 +11,7 @@ from uuid import UUID import httpx +from anyio import sleep as async_sleep from pydantic import SecretStr from . import _transport diff --git a/pyproject.toml b/pyproject.toml index 3f559729..9d5c7a42 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,6 +39,7 @@ dev = [ "mypy==1.18.2", "pytest==8.4.2", "pytest-asyncio==1.2.0", + "trio==0.35.0", "build==1.3.0", "hatchling==1.27.0", ] diff --git a/requirements-dev.txt b/requirements-dev.txt index ab3aafff..4af4ec00 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -16,6 +16,107 @@ build==1.3.0 \ certifi==2026.7.22 \ --hash=sha256:62f22742b58a1a33014a2b6b706588a8d7e2a88ae7bd1a6ebe8c992928483775 \ --hash=sha256:741e2c3b351ddf169a738da9f2c048608ff7f2c5cc02f1ebc6b118bb090d5d55 +cffi==2.1.1 ; implementation_name != 'pypy' and os_name == 'nt' \ + --hash=sha256:046bfc24911b37851ee1b51aab8bffe713d89c68c6a057b09484ce9fd5f69b4e \ + --hash=sha256:06c72bb76605a4b0cd0aad6930b69d4baf7dd5d806cfc409b824191099700e66 \ + --hash=sha256:0beceaabe56af686895136a2de78db54ecd8e4046b236b8fd6d6cb61389e9bf2 \ + --hash=sha256:154852545011f779917b11c78db2358d095da62a9a172b78ad0a583ee5adc0d0 \ + --hash=sha256:194cffa889098ced9976c3fc6340305e43f6303657d298da55366907c05c22d6 \ + --hash=sha256:19ee6127ee34de7d83ce3d371ebc5ed91addbdcc39f9ab15ce4eb35a4e534971 \ + --hash=sha256:1a18a57b58cfb21fc28d72e876acf10eaed67a1ed96226f92af4df681d571c4c \ + --hash=sha256:1aa5645c30469b09530c4ebca77ebf8f17618293c58f8549cb1a543a50236e7d \ + --hash=sha256:1dea0e4d7d4f11f619fe8c1d76caf49e24405b4b5743c0e3be16a500ecd930c9 \ + --hash=sha256:208f941bb9d18e768138677f0a6d2ce01f590df56043dda1df1535ac57c88517 \ + --hash=sha256:210019b6c7cf07f081b4c54635c8cf744377001350e29cc0f81c4377b4797735 \ + --hash=sha256:246fa40ce8645a614ff682e0b70f37134e460eaf93a775e0cbe3cca585a67a80 \ + --hash=sha256:25792eac27877609e7bb06d42ff88278a6624fff2ba9bbb523c09616b117e80f \ + --hash=sha256:27350daa11d4f10c540e6e89dada4c54feb7256ad03e9a4dc075ebad7ba360d1 \ + --hash=sha256:28907ab9bfb6aa13184cfc17c6b8e1023c5ab6fd7076d8c20a35e59fe04f8f29 \ + --hash=sha256:2ae64be792b8966f2c69538199728b290e34726562896df1e5dc8ffd8d8188e8 \ + --hash=sha256:31348097ff5bbe827ccc41795d4dd099d9f0625e7def00ee653c137a490c2a6c \ + --hash=sha256:3143d81e29e1e20a9ce10901ec369012947876596f75a222235965f2b7ae832e \ + --hash=sha256:3222ba5d678f80a030e6afbcc33dc1ae5cb45facabb61cee2c7016b8432fde48 \ + --hash=sha256:3311ed60d36f83378794e1009ac6258bafbf81f7888b4caa7b35a521e3f95813 \ + --hash=sha256:334644fbac4eff73d985a17a91226df55d0f394160c4cfb880e084c8f7161cac \ + --hash=sha256:34e261f78cb6ceaaa36f42f2613f4380d94d9c759a9c73c769ee6e0247364632 \ + --hash=sha256:363e05fa78e15116c3c32c210ee36884fd6b9afa6d440e47112c3bd511d64cb6 \ + --hash=sha256:398aff33cee2767e3e781d2554c54bd0dff386bb437581e0d8011fde1a942ec1 \ + --hash=sha256:3d22a20b1fb1632cc72c22f95f7b0d2961c3e1c235f245ba4c606c4771035659 \ + --hash=sha256:42a494cee34437f05546455144f2b5d9ac09b1face62bcfce597d2e521066688 \ + --hash=sha256:42e2f76b9455f5a9a844f770bf3e200ed3da0e15f5df3db9c31fe80b04b3d004 \ + --hash=sha256:42f6930c31dc7f50732c9ae793c2786c7b6b044195967bbdde40bb9be81c4cc0 \ + --hash=sha256:456a61fa52d579ebf9df2e9552ead5129855dbaff6c1e5a9b1bc408809bdc062 \ + --hash=sha256:471cee653ae88de62096552e6d24ccb4a5adb8c8c9f10b5054d0122c15bf2779 \ + --hash=sha256:49cbc70e6542d4ccccb936558d1064a8012541e78f821f955cff24e357776c94 \ + --hash=sha256:4a7c934f7360e8cd64fe9efadcbd10c7c6364f531e432b9a4bf5ccbc9e0e8b50 \ + --hash=sha256:4be96343e422f2dfcd12ab5c9f5aebe03f82f737c6bffeca6830b3875cb44aab \ + --hash=sha256:4f42141fc14250de6dde5ee7ea4432be017252d91f19c5ad043c084cea629cac \ + --hash=sha256:507a24c282e0f42f8ed737cf048572cbf580468da5555764a8331735e9c736b6 \ + --hash=sha256:51b31d1c98274844cfd7838ce00bfc27c7423a4dc00fc0772fc3331c2cc90676 \ + --hash=sha256:58acb8ab8e295e6c5ea12f888cbb13cf21511ef2a3303a23f4325c29d17fe5c1 \ + --hash=sha256:5a59cc1c4442bc3d5c703bf720b51138d0bfc173618807c9ee2490a7541dd3d9 \ + --hash=sha256:5bb4e7ea95dcd6a014a6fef62e62467d67d8e582326443f3d68e71d6320a9fcf \ + --hash=sha256:5c58fe613dc5e5336357eff555824a314d8e43282600435c8d1cb6a7a2fedd13 \ + --hash=sha256:5e7cecbaadb83884793e05828cee59b210b24583b9c7425d0ba6a754fe22eb4e \ + --hash=sha256:616f097f2fe415bc92a247f02e11f634e1f9e9a83d327e3c915c15089c87869e \ + --hash=sha256:63bbfd5ded17c4840ac07cd8f1c21ba9d9708141f840b324f422f41b207e3973 \ + --hash=sha256:64faea20f4e2613363a1a9b9c7dd73058f3ecd00133a511e72ad7c511658f527 \ + --hash=sha256:661c298b4821edebead0c91edd2b00374d67ad7c5a1f7a91d4442633b79d6a72 \ + --hash=sha256:68e62fe11f30d5ca8289242866f0a5291402d8529ca2178ab8afc5c9694ae890 \ + --hash=sha256:6a8dddef476fab96d066d578fc88526767b836ab5ab21754e1d5bf3879c31c7c \ + --hash=sha256:6e192623c49c94421616a5778fba35cf0d5a8d000650c1967ef4448ee5cdd990 \ + --hash=sha256:7225e4514edb64eb6740324353e0da0711954fd8d7da4576755b1c6e09b697cd \ + --hash=sha256:75f80557d1389eddbd0de2681f6a390a0c5338c31ddaa821381c203fc3fd50d9 \ + --hash=sha256:770de9db11e84213beec501cfcaa013b019820ca881e03344dea5844f7876d94 \ + --hash=sha256:7750c6449dff7864bb9bb27ddfb0267756189201a3afc911d82b3caacd70dfc3 \ + --hash=sha256:7bde5e4cc5c10140859842b9d383af292b22639a4dffb725314baf45968cef80 \ + --hash=sha256:7ce713ace7c0e4520535b42b77eaa742c16dab813978064913e5a3cf82973b41 \ + --hash=sha256:7da0c5eff80f0197f3b3d1232ec5a682a9325f4ae9016a78f5f5ca35f9ced1f5 \ + --hash=sha256:7dbb61fe3a7699468030f71bbe5f8a0e326a151daa91beb11a6fc1f980c55e1c \ + --hash=sha256:811bd1e21d32de12efca32393a0ab3f5133b54fce9bd44b8bd77ab07da14bf6a \ + --hash=sha256:8ef53b2de9bcb9197d31854256575d59dbac0cba72ac627bb291ef5eceb74be4 \ + --hash=sha256:937c0052c05a31ca1daf18de3158eed4dbfcb9cc107adbea227728d647be701e \ + --hash=sha256:9d2055050ea716bd38b7f7f1579c275386646b4894c155a3e2f3cd62ed41b7c6 \ + --hash=sha256:9f8d177621de5cb38ee3e731eda45d421db093ec0739f46a5594babda7987a98 \ + --hash=sha256:a2d7755bef5a12ed488f4ef1f1b69ee9191d7396083b755a5d2295f6edb4768b \ + --hash=sha256:a48d62ab9d6f4f98c983223a547af44be6ca3691074c31cecced6facd3ba2dc1 \ + --hash=sha256:a4f00aa42f75d6e4595e8866e748cc1705adc0cddfeb2ca86d0d03993d63ba03 \ + --hash=sha256:a6e721d4b0e45d5b65e87534470e67b18dcd092c83f68fba09f152b9cbc061af \ + --hash=sha256:a730a083190634c65cca36ba5f489531576ebd79bcd5c8e172130f6453127231 \ + --hash=sha256:a931079504ecc49efed7744c476a5c343a92fabf66dec2db95edb1b2fdc770e2 \ + --hash=sha256:aa9511c62d14da7aacc9b4bf51f3f697a621e83b2d6919008243c3aad168eea3 \ + --hash=sha256:ab36d55f9ed2d067327667c2fea18dda018eb628dd6347aa01dda6cf1f5d3836 \ + --hash=sha256:ad2c86c495b899d862ea0f4b42891b8713a3bd45dd4105c7fd51c2a72f39f3a5 \ + --hash=sha256:aeae0e330c9f6acd681f647d46cefd30c29f93e3392882e792e82080c9691399 \ + --hash=sha256:b0431303acaea1089ad4b3e9ce4e6518193def1118d4073ca848635ee4ea2e96 \ + --hash=sha256:b5bdfd1c873d4e093aabc0ca84c4ca6dbc4f752afb5c86f146d9742580c9da2e \ + --hash=sha256:baed1e86cc735622097354b9d1281406caf42ff42a886d29faa8e8d1630333be \ + --hash=sha256:c1453022f490d2459a11819d83ad1d586e9ff65a12ac3e705ffebd46d3685dcf \ + --hash=sha256:c26608d2222fb1e94487e4a387d85f13eb55d5ed725cb25a0c589ac4ee60e7bc \ + --hash=sha256:c7659f22557c5a0bc4855cd635f55edec690cc008a40768527762cb9fb263455 \ + --hash=sha256:c8c69575568085ba0b1b10c0249d779a214aea6f6522e949a0fc9fb0fcb449d0 \ + --hash=sha256:c8d2c9fd1f2d16f780d15127abb050d13d1a76c03a4bd87d7e4980e45e511e12 \ + --hash=sha256:ca82be1a1d406ecfe1d25dc16cb33488e5a16bf4438c9fb590484ea29d92478b \ + --hash=sha256:cc572dace3f60ef98d7b12ff411d20f5362feb31a0439eab0085bbfd349982d7 \ + --hash=sha256:d18e5ac0f2f03f4f518d3e23db0f0cad7faa1da8620e9c09461d443bbf6e6692 \ + --hash=sha256:d28630f5854ab07ab1fd4aba756de52326c82e6be15d414b12793f1975048b54 \ + --hash=sha256:d9c275eaacd24aa73f94ffd6de08fc3f932424d8b6c376f4bed7cde376fe7bc3 \ + --hash=sha256:da0e573f9f97159390c89d9f1a9e41908b66d408cc5b58d08cf3847d844c531b \ + --hash=sha256:dd31f52ea1086513bb9df30f8fcee9b8918323ae067a3d5b78bc826a000712be \ + --hash=sha256:dddad92b554513a31f272570678ba307fb9f618f05e3d4a5eacafff9eae03e1d \ + --hash=sha256:df423d40ee8654634421812bc3b196da3f9bd7d32929da813f8394c4348a5358 \ + --hash=sha256:df913725b79db7bcf03448f36b7bf8815363417d5b58deecf9305e3e30f0f21a \ + --hash=sha256:e0bcb7e0f677f543555d2adff3bf19c05f66cdb4796e5ff602442ab2fe3c4ef7 \ + --hash=sha256:e2d65b31f36619cda3999b78b2aa9632e76b78448e7a56fc4240824200e7c4fc \ + --hash=sha256:e6e8cff14d6fb0be70a09c0bdc58096f501952d04624ebf867e0e56da2df8960 \ + --hash=sha256:f16c709686a78c727bbbf059f92b0bf41c6fc60deec706d2dc19f529175a6125 \ + --hash=sha256:f24fb43132a4c6b4cb4eb029492919b2db645be6808d738f244fd146c03c32cb \ + --hash=sha256:f53e442b08449d42821fa4a4fba000095af9f62742a500f978a9f557ec44339a \ + --hash=sha256:f5cfbc5fe74540d335175b656c725d74d90e3730c626d92575eea35029d9afaa \ + --hash=sha256:f81b3b8f3d4e343550fa4baa0e479bba9f2d29ce9c2e9b51d1ce1718d7442fcf \ + --hash=sha256:f8ec5e643a9a937f64e1999eb9f75d072263751912dc5cd06d3c85f8f44be7c3 \ + --hash=sha256:fb92203a88b3d3053034db775110081c49d28be6551923805e039924093761e4 \ + --hash=sha256:fcd22650c908d7b7da162bbfaab594a1227a15d1643a98c68b122ac642fa2264 colorama==0.4.6 ; os_name == 'nt' or sys_platform == 'win32' \ --hash=sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44 \ --hash=sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6 @@ -181,6 +282,9 @@ mypy-extensions==1.1.0 \ openapi-python-client==0.29.1 \ --hash=sha256:7e05c904fb4840c17b4a9fff05cc53dfd97d45b486d9462ffb7ecf9c98e67e25 \ --hash=sha256:9820490a2872dc56ce77ffbdea87f4562dae530a70a7207c66e39315ad20a89e +outcome==1.3.0.post0 \ + --hash=sha256:9dcf02e65f2971b80047b377468e72a268e15c0af3cf1238e6ff14f7f91143b8 \ + --hash=sha256:e771c5ce06d1415e356078d3bdd68523f284b4ce5419828922b6871e65eda82b packaging==26.3 \ --hash=sha256:94edc256424af38762eb31306eed28beb9f0efc50a8837492c9d6fd6004aed79 \ --hash=sha256:d7193f7c8e4e93f444fde0262bf90af30e16fa0ad0ad44cb553c87339b23cd1c @@ -190,6 +294,9 @@ pathspec==1.1.1 \ pluggy==1.6.0 \ --hash=sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3 \ --hash=sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746 +pycparser==3.12 ; implementation_name != 'PyPy' and implementation_name != 'pypy' and os_name == 'nt' \ + --hash=sha256:a076f3f489b39b43ed13563a1dafe42447445bec2e294154ec5c57fcdda4c85e \ + --hash=sha256:f03387877eab82ce01bbdfd0ba7252ee55a90b1c708d5129e2ce915475cf1db6 pydantic==2.13.5 \ --hash=sha256:346a034f080da3755d8e9cb5e00e8b07de1d39e4f6e2c87d8ab7cafa0b269a73 \ --hash=sha256:51a9c5f7b2f8e636f04c6cada605d9b6a3bf1348fdf945a3d8869b19bba0ee08 @@ -361,6 +468,15 @@ shellingham==1.5.4 \ six==1.17.0 \ --hash=sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274 \ --hash=sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81 +sniffio==1.3.1 \ + --hash=sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2 \ + --hash=sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc +sortedcontainers==2.4.0 \ + --hash=sha256:25caa5a06cc30b6b83d11423433f65d1f9d76c4c6a0c90e3379eaa43b9bfdb88 \ + --hash=sha256:a163dcaede0f1c021485e957a39245190e74249897e2ae4b2aa38595db237ee0 +trio==0.35.0 \ + --hash=sha256:7efb295c78a0ecd1235c5759e620b5da564ca80d2efcb0055423588547248b96 \ + --hash=sha256:9a062a029487c1bdbcc1b2543b729a0bde857ce478b1512c84f391f628e0c5c9 trove-classifiers==2026.9.21.13 \ --hash=sha256:0a9ebc8d4e2f3e8a22848c5258033035bec17a3012ac3fea16dbaa764489eb71 \ --hash=sha256:8b1ff4f9c191b1040b71c37f1e445ab99732911e3cd91de52838453a854d7a17 diff --git a/tests/test_async_backends.py b/tests/test_async_backends.py new file mode 100644 index 00000000..fba3fbfa --- /dev/null +++ b/tests/test_async_backends.py @@ -0,0 +1,81 @@ +"""The async client runs on every event loop that anyio and httpx support. + +The transport already bounds I/O with anyio, so a sleep tied to one event loop +breaks the client on the others. These tests drive the paths that sleep or +time out on each backend instead of only under pytest's asyncio loop. +""" + +from __future__ import annotations + +import time +from collections.abc import Awaitable, Callable + +import anyio +import pytest +from pydantic import SecretStr + +from proofline import AsyncProoflineClient, ProoflineError + +from .fixtures import FINDING, ORG, REVIEW, TOKEN, finding, review +from .http_server import Reply, Server + +BACKENDS = pytest.mark.parametrize("backend", ["asyncio", "trio"]) + + +def run(backend: str, scenario: Callable[[], Awaitable[None]]) -> None: + anyio.run(scenario, backend=backend) + + +@BACKENDS +def test_retry_after_waits_on_every_backend(backend: str) -> None: + with Server( + lambda request, index: ( + Reply(503, {"detail": "Unavailable."}, {"Retry-After": "1"}) + if index == 0 + else Reply(body=finding()) + ) + ) as server: + + async def scenario() -> None: + async with AsyncProoflineClient(SecretStr(TOKEN), base_url=server.url) as client: + started = time.monotonic() + result = await client.get_finding(ORG, FINDING) + assert result.id == FINDING + assert time.monotonic() - started >= 1 + + run(backend, scenario) + assert len(server.requests) == 2 + + +@BACKENDS +def test_wait_for_review_sleeps_between_polls_on_every_backend(backend: str) -> None: + with Server(lambda request, index: Reply(body=review("RUNNING"))) as server: + + async def scenario() -> None: + async with AsyncProoflineClient(SecretStr(TOKEN), base_url=server.url) as client: + started = time.monotonic() + result = await client.wait_for_review(ORG, REVIEW, timeout=1) + assert result.status == "TIMED_OUT" + assert result.review is not None + assert result.review.id == REVIEW + # The poll interval is clamped to the remaining deadline, so the + # wait sleeps until the deadline instead of failing or returning early. + assert time.monotonic() - started >= 0.9 + + run(backend, scenario) + assert len(server.requests) == 1 + + +@BACKENDS +def test_stalled_body_times_out_on_every_backend(backend: str) -> None: + with Server(lambda request, index: Reply(body=review(), split=8, pause=3)) as server: + + async def scenario() -> None: + async with AsyncProoflineClient( + SecretStr(TOKEN), base_url=server.url, timeout=0.5 + ) as client: + with pytest.raises(ProoflineError) as caught: + await client.get_review(ORG, REVIEW) + assert caught.value.type == "urn:proofline:sdk:timeout" + + run(backend, scenario) From c2454f7718569cecc5ac2b7863a7dfaf975705fe Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 24 Nov 2026 18:09:06 +0000 Subject: [PATCH 2/8] Update distribution --- openapi.public.json | 4 ++-- proofline/_generated/models/customer_review_detail.py | 3 ++- proofline/_generated/models/review_summary.py | 3 ++- proofline/_transport.py | 2 +- pyproject.toml | 2 +- 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/openapi.public.json b/openapi.public.json index 35289012..4baae59d 100644 --- a/openapi.public.json +++ b/openapi.public.json @@ -2042,7 +2042,7 @@ "type": "array" }, "finding_count": { - "description": "How many findings this review's assessments recorded, across all of them.", + "description": "How many findings this review's assessments recorded, across all of\n them, with the supported findings its KIAN assessments published.", "format": "int64", "type": "integer" }, @@ -5793,7 +5793,7 @@ "type": "array" }, "finding_count": { - "description": "How many findings this review's assessments recorded, across all of them.", + "description": "How many findings this review's assessments recorded, across all of\n them, with the supported findings its KIAN assessments published.", "format": "int64", "type": "integer" }, diff --git a/proofline/_generated/models/customer_review_detail.py b/proofline/_generated/models/customer_review_detail.py index 441467aa..155e0d5a 100644 --- a/proofline/_generated/models/customer_review_detail.py +++ b/proofline/_generated/models/customer_review_detail.py @@ -52,7 +52,8 @@ class CustomerReviewDetail: created_at (datetime.datetime): When the review was created. environment_display_names (list[str]): Display names of this review's assessed environments, not current repository links. - finding_count (int): How many findings this review's assessments recorded, across all of them. + finding_count (int): How many findings this review's assessments recorded, across all of + them, with the supported findings its KIAN assessments published. id (UUID): The review's identifier. kind (str): `PULL_REQUEST`, `DEPLOYMENT`, `PATCH`, a review of local changes sent as a patch, `COMMIT`, a review of pushed commits, `FILES`, diff --git a/proofline/_generated/models/review_summary.py b/proofline/_generated/models/review_summary.py index dd124c94..9c770624 100644 --- a/proofline/_generated/models/review_summary.py +++ b/proofline/_generated/models/review_summary.py @@ -27,7 +27,8 @@ class ReviewSummary: created_at (datetime.datetime): When the review was created. environment_display_names (list[str]): Display names of this review's assessed environments, not current repository links. - finding_count (int): How many findings this review's assessments recorded, across all of them. + finding_count (int): How many findings this review's assessments recorded, across all of + them, with the supported findings its KIAN assessments published. id (UUID): The review's identifier. kind (str): `PULL_REQUEST`, `DEPLOYMENT`, `PATCH`, a review of local changes sent as a patch, `COMMIT`, a review of pushed commits, `FILES`, diff --git a/proofline/_transport.py b/proofline/_transport.py index bfb36763..1b0a1f48 100644 --- a/proofline/_transport.py +++ b/proofline/_transport.py @@ -38,7 +38,7 @@ from ._sync_http import IO_DEADLINE from ._sync_http import Transport as SyncHTTPTransport -VERSION = "9.3.1" +VERSION = "9.3.2" MAX_RESPONSE_BYTES = 8 * 1024 * 1024 WEEKDAY = r"(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)" FULL_WEEKDAY = r"(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday)" diff --git a/pyproject.toml b/pyproject.toml index bb1fd6d5..16566f1b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "proofline-sdk" -version = "9.3.1" +version = "9.3.2" description = "Typed synchronous and asynchronous clients for the Proofline review API" readme = "README.md" license = "Apache-2.0 AND MIT" From 746c2d4a96e7d484c63fbe340b58b30d80acfc6f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 24 Nov 2026 20:05:40 +0000 Subject: [PATCH 3/8] Update distribution --- openapi.public.json | 29 ++++- proofline/_generated/models/commit_deploy.py | 122 +++++++++++++++--- .../models/customer_review_detail.py | 40 ++++-- .../models/deploy_coverage_checkpoint.py | 79 +++++++++--- proofline/_generated/models/review_summary.py | 40 ++++-- proofline/_transport.py | 2 +- pyproject.toml | 2 +- scripts/generate.py | 13 +- tests/test_generated_operation.py | 15 +++ 9 files changed, 278 insertions(+), 64 deletions(-) diff --git a/openapi.public.json b/openapi.public.json index 4baae59d..9a55e866 100644 --- a/openapi.public.json +++ b/openapi.public.json @@ -834,6 +834,14 @@ }, "type": "array" }, + "github_deployment_ids": { + "description": "The ID of each GitHub deployment the deploy holds, ascending: the\n deployment a pipeline created, or each one an Actions run's jobs\n created. A deployment outside Actions is a deploy of its own, so two\n of one commit, GitHub Environment and task read apart by this ID.\n Every listed deploy holds one; a server from before the field existed\n omits it.", + "items": { + "format": "int64", + "type": "integer" + }, + "type": "array" + }, "github_environment": { "description": "The GitHub Environment the deployment named.", "type": [ @@ -1022,9 +1030,12 @@ }, { "$ref": "#/components/schemas/CreditRefusalCause" + }, + { + "$ref": "#/components/schemas/InstallationRefusalCause" } ], - "description": "What a review is counted under: the cause its assessments recorded,\n `SPEND_LIMIT_REACHED` where an assessment recorded a spend limit's code, or\n `OUT_OF_CREDITS` where an assessment recorded the credit refusal. An\n assessment's detail names that refusal by the rule `public_reason_codes`\n applies; no other detail is read into the summary." + "description": "What a review is counted under: the cause its assessments recorded,\n `SPEND_LIMIT_REACHED` where an assessment recorded a spend limit's code,\n `OUT_OF_CREDITS` where an assessment recorded the credit refusal, or\n `GITHUB_REFUSED` where a code assessment ended on GitHub's refusal of a\n source read. An assessment's detail names the credit refusal by the rule\n `public_reason_codes` applies; no other detail is read into the summary." }, "CoverageRefused": { "description": "An upload refused for its content: a symbolic or unknown commit, or a\n report that cannot be read. Nothing is stored.", @@ -1987,7 +1998,7 @@ ] }, "counted_incomplete_causes": { - "description": "`incomplete_causes` as the Inbox and the reviews `cause:` search\n count them: `OUT_OF_CREDITS` or `SPEND_LIMIT_REACHED` in place of the\n `NOT_CONFIGURED` an assessment records when credits or a monthly spend\n limit refused it. Present exactly when\n `incomplete_causes` is.", + "description": "`incomplete_causes` as the Inbox and the reviews `cause:` search\n count them: `OUT_OF_CREDITS` or `SPEND_LIMIT_REACHED` in place of the\n `NOT_CONFIGURED` an assessment records when credits or a monthly spend\n limit refused it, and `GITHUB_REFUSED` in place of the\n `EVIDENCE_UNAVAILABLE` a code assessment records when GitHub refused\n its source read. Present exactly when\n `incomplete_causes` is.", "items": { "$ref": "#/components/schemas/CountedCause" }, @@ -4165,6 +4176,16 @@ } ] }, + "InstallationRefusalCause": { + "description": "A GitHub refusal the App installation repairs, named apart from the\n `EVIDENCE_UNAVAILABLE` it records.", + "oneOf": [ + { + "const": "GITHUB_REFUSED", + "description": "GitHub refused the code lane's read of the repository's files with a\n 403 that named no rate limit, so the code assessment stopped.", + "type": "string" + } + ] + }, "KianFindingSource": { "description": "What published a supported Kian finding.", "oneOf": [ @@ -5767,7 +5788,7 @@ ] }, "counted_incomplete_causes": { - "description": "`incomplete_causes` as the Inbox and the reviews `cause:` search\n count them: `OUT_OF_CREDITS` or `SPEND_LIMIT_REACHED` in place of the\n `NOT_CONFIGURED` an assessment records when credits or a monthly spend\n limit refused it. Present exactly when\n `incomplete_causes` is.", + "description": "`incomplete_causes` as the Inbox and the reviews `cause:` search\n count them: `OUT_OF_CREDITS` or `SPEND_LIMIT_REACHED` in place of the\n `NOT_CONFIGURED` an assessment records when credits or a monthly spend\n limit refused it, and `GITHUB_REFUSED` in place of the\n `EVIDENCE_UNAVAILABLE` a code assessment records when GitHub refused\n its source read. Present exactly when\n `incomplete_causes` is.", "items": { "$ref": "#/components/schemas/CountedCause" }, @@ -7234,7 +7255,7 @@ }, "info": { "title": "Proofline Review API", - "version": "9.3.0" + "version": "10.0.0" }, "openapi": "3.1.0", "paths": { diff --git a/proofline/_generated/models/commit_deploy.py b/proofline/_generated/models/commit_deploy.py index 01db053e..6179b78e 100644 --- a/proofline/_generated/models/commit_deploy.py +++ b/proofline/_generated/models/commit_deploy.py @@ -40,12 +40,13 @@ class CommitDeploy: Literal['SIGNAL_BUCKET_UNEXPECTED'] | Literal['SIGNAL_CONFIGURATION_INVALID'] | Literal['SIGNAL_NO_DATA'] | Literal['SIGNAL_NOT_SINGLE_SERIES'] | Literal['SIGNAL_PROJECT_NOT_CONNECTED'] | Literal['SIGNAL_READ_PARTIAL'] | Literal['SIGNAL_READ_UNAVAILABLE'] | Literal['SIGNAL_RESPONSE_INVALID'] | - Literal['TELEMETRY_CONNECTION_UNAVAILABLE'] | Literal['TELEMETRY_CREDENTIAL_UNAVAILABLE']]): What the checks - that leave the deploy unproven name. + Literal['TELEMETRY_CONNECTION_UNAVAILABLE'] | Literal['TELEMETRY_CREDENTIAL_UNAVAILABLE'] | str]): What the + checks that leave the deploy unproven name. regressed (bool): Whether any check recorded `REGRESSED`, whatever its gaps. state (Literal['FAILED'] | Literal['INACTIVE'] | Literal['INCOMPLETE'] | Literal['NOT_YET_DUE'] | Literal['SUPERSEDED'] | Literal['UNRECORDED'] | Literal['UNVERIFIED'] | Literal['VERIFIED'] | - Literal['VERIFIED_UNTIL_SUPERSEDED']): Where one deploy's verification stands. Each deploy has exactly one, so + Literal['VERIFIED_UNTIL_SUPERSEDED'] | str): Where one deploy's verification stands. Each deploy has exactly + one, so the counts add up to the population. deploy_url (None | str | Unset): The deploy's console page. deployment_task (None | str | Unset): The GitHub deployment's task, such as `deploy` or `deploy:web`. @@ -68,6 +69,12 @@ class CommitDeploy: an earlier deploy again, as its console page reads it. A later check that finds none clears it, while `regressed` keeps an earlier regression. Older responses omit it, which reads as false. Default: False. + github_deployment_ids (list[int] | Unset): The ID of each GitHub deployment the deploy holds, ascending: the + deployment a pipeline created, or each one an Actions run's jobs + created. A deployment outside Actions is a deploy of its own, so two + of one commit, GitHub Environment and task read apart by this ID. + Every listed deploy holds one; a server from before the field existed + omits it. """ checkpoints: list[DeployCoverageCheckpoint] @@ -106,6 +113,7 @@ class CommitDeploy: | Literal["SIGNAL_RESPONSE_INVALID"] | Literal["TELEMETRY_CONNECTION_UNAVAILABLE"] | Literal["TELEMETRY_CREDENTIAL_UNAVAILABLE"] + | str ] regressed: bool state: ( @@ -118,6 +126,7 @@ class CommitDeploy: | Literal["UNVERIFIED"] | Literal["VERIFIED"] | Literal["VERIFIED_UNTIL_SUPERSEDED"] + | str ) deploy_url: None | str | Unset = UNSET deployment_task: None | str | Unset = UNSET @@ -127,6 +136,7 @@ class CommitDeploy: workflow_run_attempts: list[int] | Unset = UNSET workflow_run_id: int | None | Unset = UNSET rolled_back: bool | Unset = False + github_deployment_ids: list[int] | Unset = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: @@ -175,6 +185,7 @@ def to_dict(self) -> dict[str, Any]: | Literal["SIGNAL_RESPONSE_INVALID"] | Literal["TELEMETRY_CONNECTION_UNAVAILABLE"] | Literal["TELEMETRY_CREDENTIAL_UNAVAILABLE"] + | str ) gaps_item = gaps_item_data gaps.append(gaps_item) @@ -191,6 +202,7 @@ def to_dict(self) -> dict[str, Any]: | Literal["UNVERIFIED"] | Literal["VERIFIED"] | Literal["VERIFIED_UNTIL_SUPERSEDED"] + | str ) state = self.state @@ -238,6 +250,10 @@ def to_dict(self) -> dict[str, Any]: rolled_back = self.rolled_back + github_deployment_ids: list[int] | Unset = UNSET + if not isinstance(self.github_deployment_ids, Unset): + github_deployment_ids = self.github_deployment_ids + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) field_dict.update( @@ -265,6 +281,8 @@ def to_dict(self) -> dict[str, Any]: field_dict["workflow_run_id"] = workflow_run_id if rolled_back is not UNSET: field_dict["rolled_back"] = rolled_back + if github_deployment_ids is not UNSET: + field_dict["github_deployment_ids"] = github_deployment_ids return field_dict @@ -323,6 +341,7 @@ def _parse_gaps_item( | Literal["SIGNAL_RESPONSE_INVALID"] | Literal["TELEMETRY_CONNECTION_UNAVAILABLE"] | Literal["TELEMETRY_CREDENTIAL_UNAVAILABLE"] + | str ): try: if not (type(data) is str and data == "CHANGE_CHECK_MISSING"): @@ -817,16 +836,59 @@ def _parse_gaps_item( return componentsschemas_deploy_verification_gap_type_31 except (TypeError, ValueError, AttributeError, KeyError): pass - if not (type(data) is str and data == "BASELINE_HELD_REGRESSION"): - raise TypeError() - componentsschemas_deploy_verification_gap_type_32 = cast( - Literal["BASELINE_HELD_REGRESSION"], data - ) - if componentsschemas_deploy_verification_gap_type_32 != "BASELINE_HELD_REGRESSION": - raise ValueError( - f"/components/schemas/DeployVerificationGap_type_32 must match const 'BASELINE_HELD_REGRESSION', got '{componentsschemas_deploy_verification_gap_type_32}'" + try: + if not (type(data) is str and data == "BASELINE_HELD_REGRESSION"): + raise TypeError() + componentsschemas_deploy_verification_gap_type_32 = cast( + Literal["BASELINE_HELD_REGRESSION"], data ) - return componentsschemas_deploy_verification_gap_type_32 + if ( + componentsschemas_deploy_verification_gap_type_32 + != "BASELINE_HELD_REGRESSION" + ): + raise ValueError( + f"/components/schemas/DeployVerificationGap_type_32 must match const 'BASELINE_HELD_REGRESSION', got '{componentsschemas_deploy_verification_gap_type_32}'" + ) + return componentsschemas_deploy_verification_gap_type_32 + except (TypeError, ValueError, AttributeError, KeyError): + pass + return cast( + Literal["AWS_TELEMETRY_CONNECTION_UNAVAILABLE"] + | Literal["BASELINE_HELD_REGRESSION"] + | Literal["BASELINE_UNAVAILABLE"] + | Literal["BELOW_TRAFFIC_FLOOR"] + | Literal["CHANGE_CHECK_INCOMPLETE"] + | Literal["CHANGE_CHECK_MISSING"] + | Literal["ENVIRONMENT_NOT_CHECKED"] + | Literal["NO_SIGNALS_CONFIGURED"] + | Literal["NO_SIGNALS_FOR_TASK_SERVICES"] + | Literal["RUNNING_REVISION_UNKNOWN"] + | Literal["RUNTIME_ATTESTATIONS_PERMISSION_PENDING"] + | Literal["RUNTIME_CAPABILITY_UNQUALIFIED"] + | Literal["RUNTIME_COMMIT_BINDING_MISSING"] + | Literal["RUNTIME_IMAGE_BUILT_EARLIER"] + | Literal["RUNTIME_INVENTORY_INCOMPLETE"] + | Literal["RUNTIME_INVENTORY_STALE"] + | Literal["RUNTIME_INVENTORY_UNAVAILABLE"] + | Literal["RUNTIME_REVISION_UNKNOWN"] + | Literal["RUNTIME_ROLLOUT_UNSETTLED"] + | Literal["RUNTIME_SERVICE_UNKNOWN"] + | Literal["RUNTIME_TARGET_UNAVAILABLE"] + | Literal["RUNTIME_TASK_UNMAPPED"] + | Literal["RUNTIME_TRAFFIC_UNKNOWN"] + | Literal["SIGNAL_BUCKET_UNEXPECTED"] + | Literal["SIGNAL_CONFIGURATION_INVALID"] + | Literal["SIGNAL_NO_DATA"] + | Literal["SIGNAL_NOT_SINGLE_SERIES"] + | Literal["SIGNAL_PROJECT_NOT_CONNECTED"] + | Literal["SIGNAL_READ_PARTIAL"] + | Literal["SIGNAL_READ_UNAVAILABLE"] + | Literal["SIGNAL_RESPONSE_INVALID"] + | Literal["TELEMETRY_CONNECTION_UNAVAILABLE"] + | Literal["TELEMETRY_CREDENTIAL_UNAVAILABLE"] + | str, + data, + ) gaps_item = _parse_gaps_item(gaps_item_data) @@ -846,6 +908,7 @@ def _parse_state( | Literal["UNVERIFIED"] | Literal["VERIFIED"] | Literal["VERIFIED_UNTIL_SUPERSEDED"] + | str ): try: if not (type(data) is str and data == "VERIFIED"): @@ -937,14 +1000,30 @@ def _parse_state( return componentsschemas_deploy_coverage_state_type_7 except (TypeError, ValueError, AttributeError, KeyError): pass - if not (type(data) is str and data == "INACTIVE"): - raise TypeError() - componentsschemas_deploy_coverage_state_type_8 = cast(Literal["INACTIVE"], data) - if componentsschemas_deploy_coverage_state_type_8 != "INACTIVE": - raise ValueError( - f"/components/schemas/DeployCoverageState_type_8 must match const 'INACTIVE', got '{componentsschemas_deploy_coverage_state_type_8}'" - ) - return componentsschemas_deploy_coverage_state_type_8 + try: + if not (type(data) is str and data == "INACTIVE"): + raise TypeError() + componentsschemas_deploy_coverage_state_type_8 = cast(Literal["INACTIVE"], data) + if componentsschemas_deploy_coverage_state_type_8 != "INACTIVE": + raise ValueError( + f"/components/schemas/DeployCoverageState_type_8 must match const 'INACTIVE', got '{componentsschemas_deploy_coverage_state_type_8}'" + ) + return componentsschemas_deploy_coverage_state_type_8 + except (TypeError, ValueError, AttributeError, KeyError): + pass + return cast( + Literal["FAILED"] + | Literal["INACTIVE"] + | Literal["INCOMPLETE"] + | Literal["NOT_YET_DUE"] + | Literal["SUPERSEDED"] + | Literal["UNRECORDED"] + | Literal["UNVERIFIED"] + | Literal["VERIFIED"] + | Literal["VERIFIED_UNTIL_SUPERSEDED"] + | str, + data, + ) state = _parse_state(d.pop("state")) @@ -1014,6 +1093,8 @@ def _parse_workflow_run_id(data: object) -> int | None | Unset: rolled_back = d.pop("rolled_back", UNSET) + github_deployment_ids = cast(list[int], d.pop("github_deployment_ids", UNSET)) + commit_deploy = cls( checkpoints=checkpoints, environment_id=environment_id, @@ -1028,6 +1109,7 @@ def _parse_workflow_run_id(data: object) -> int | None | Unset: workflow_run_attempts=workflow_run_attempts, workflow_run_id=workflow_run_id, rolled_back=rolled_back, + github_deployment_ids=github_deployment_ids, ) commit_deploy.additional_properties = d diff --git a/proofline/_generated/models/customer_review_detail.py b/proofline/_generated/models/customer_review_detail.py index 155e0d5a..61abad06 100644 --- a/proofline/_generated/models/customer_review_detail.py +++ b/proofline/_generated/models/customer_review_detail.py @@ -116,12 +116,14 @@ class CustomerReviewDetail: cost_microcredits (int | None | Unset): The credits this run was charged so far, in microcredits, whoever paid: the plan, the free review month or the organization's credits. Null for a caller who is not a member of the organization. - counted_incomplete_causes (list[IncompleteCauseType0 | Literal['OUT_OF_CREDITS'] | + counted_incomplete_causes (list[IncompleteCauseType0 | Literal['GITHUB_REFUSED'] | Literal['OUT_OF_CREDITS'] | Literal['SPEND_LIMIT_REACHED'] | Literal['UNKNOWN']] | Unset): `incomplete_causes` as the Inbox and the reviews `cause:` search count them: `OUT_OF_CREDITS` or `SPEND_LIMIT_REACHED` in place of the `NOT_CONFIGURED` an assessment records when credits or a monthly spend - limit refused it. Present exactly when + limit refused it, and `GITHUB_REFUSED` in place of the + `EVIDENCE_UNAVAILABLE` a code assessment records when GitHub refused + its source read. Present exactly when `incomplete_causes` is. current_head_commit_sha (None | str | Unset): The pull request's head commit as the latest provider projection reports it, which can differ from `head_commit_sha`. Set only on a single-review read, and absent for a @@ -297,6 +299,7 @@ class CustomerReviewDetail: counted_incomplete_causes: ( list[ IncompleteCauseType0 + | Literal["GITHUB_REFUSED"] | Literal["OUT_OF_CREDITS"] | Literal["SPEND_LIMIT_REACHED"] | Literal["UNKNOWN"] @@ -499,7 +502,8 @@ def to_dict(self) -> dict[str, Any]: counted_incomplete_causes: ( list[ - Literal["OUT_OF_CREDITS"] + Literal["GITHUB_REFUSED"] + | Literal["OUT_OF_CREDITS"] | Literal["SPEND_LIMIT_REACHED"] | Literal["UNKNOWN"] | str @@ -510,7 +514,8 @@ def to_dict(self) -> dict[str, Any]: counted_incomplete_causes = [] for counted_incomplete_causes_item_data in self.counted_incomplete_causes: counted_incomplete_causes_item: ( - Literal["OUT_OF_CREDITS"] + Literal["GITHUB_REFUSED"] + | Literal["OUT_OF_CREDITS"] | Literal["SPEND_LIMIT_REACHED"] | Literal["UNKNOWN"] | str @@ -1227,6 +1232,7 @@ def _parse_cost_microcredits(data: object) -> int | None | Unset: counted_incomplete_causes: ( list[ IncompleteCauseType0 + | Literal["GITHUB_REFUSED"] | Literal["OUT_OF_CREDITS"] | Literal["SPEND_LIMIT_REACHED"] | Literal["UNKNOWN"] @@ -1241,6 +1247,7 @@ def _parse_counted_incomplete_causes_item( data: object, ) -> ( IncompleteCauseType0 + | Literal["GITHUB_REFUSED"] | Literal["OUT_OF_CREDITS"] | Literal["SPEND_LIMIT_REACHED"] | Literal["UNKNOWN"] @@ -1277,16 +1284,29 @@ def _parse_counted_incomplete_causes_item( return componentsschemas_credit_refusal_cause_type_0 except (TypeError, ValueError, AttributeError, KeyError): pass - if not (type(data) is str and data == "SPEND_LIMIT_REACHED"): + try: + if not (type(data) is str and data == "SPEND_LIMIT_REACHED"): + raise TypeError() + componentsschemas_credit_refusal_cause_type_1 = cast( + Literal["SPEND_LIMIT_REACHED"], data + ) + if componentsschemas_credit_refusal_cause_type_1 != "SPEND_LIMIT_REACHED": + raise ValueError( + f"/components/schemas/CreditRefusalCause_type_1 must match const 'SPEND_LIMIT_REACHED', got '{componentsschemas_credit_refusal_cause_type_1}'" + ) + return componentsschemas_credit_refusal_cause_type_1 + except (TypeError, ValueError, AttributeError, KeyError): + pass + if not (type(data) is str and data == "GITHUB_REFUSED"): raise TypeError() - componentsschemas_credit_refusal_cause_type_1 = cast( - Literal["SPEND_LIMIT_REACHED"], data + componentsschemas_installation_refusal_cause_type_0 = cast( + Literal["GITHUB_REFUSED"], data ) - if componentsschemas_credit_refusal_cause_type_1 != "SPEND_LIMIT_REACHED": + if componentsschemas_installation_refusal_cause_type_0 != "GITHUB_REFUSED": raise ValueError( - f"/components/schemas/CreditRefusalCause_type_1 must match const 'SPEND_LIMIT_REACHED', got '{componentsschemas_credit_refusal_cause_type_1}'" + f"/components/schemas/InstallationRefusalCause_type_0 must match const 'GITHUB_REFUSED', got '{componentsschemas_installation_refusal_cause_type_0}'" ) - return componentsschemas_credit_refusal_cause_type_1 + return componentsschemas_installation_refusal_cause_type_0 counted_incomplete_causes_item = _parse_counted_incomplete_causes_item( counted_incomplete_causes_item_data diff --git a/proofline/_generated/models/deploy_coverage_checkpoint.py b/proofline/_generated/models/deploy_coverage_checkpoint.py index 1627f320..f08bb807 100644 --- a/proofline/_generated/models/deploy_coverage_checkpoint.py +++ b/proofline/_generated/models/deploy_coverage_checkpoint.py @@ -21,7 +21,7 @@ class DeployCoverageCheckpoint: checkpoint (DeployCheckpoint): One of the four checks of a deploy. due_at (datetime.datetime): When a missing check becomes overdue, allowing the workflow's read delay, landing inventory reread, successor wait and transient-read retries. - result (Literal['HEALTHY'] | Literal['INCOMPLETE'] | Literal['REGRESSED'] | Literal['SUPERSEDED'] | None | + result (Literal['HEALTHY'] | Literal['INCOMPLETE'] | Literal['REGRESSED'] | Literal['SUPERSEDED'] | None | str | Unset): The recorded result; absent while no check of this window is recorded. gaps (list[Literal['AWS_TELEMETRY_CONNECTION_UNAVAILABLE'] | Literal['BASELINE_HELD_REGRESSION'] | Literal['BASELINE_UNAVAILABLE'] | Literal['BELOW_TRAFFIC_FLOOR'] | Literal['CHANGE_CHECK_INCOMPLETE'] | @@ -36,8 +36,8 @@ class DeployCoverageCheckpoint: Literal['SIGNAL_BUCKET_UNEXPECTED'] | Literal['SIGNAL_CONFIGURATION_INVALID'] | Literal['SIGNAL_NO_DATA'] | Literal['SIGNAL_NOT_SINGLE_SERIES'] | Literal['SIGNAL_PROJECT_NOT_CONNECTED'] | Literal['SIGNAL_READ_PARTIAL'] | Literal['SIGNAL_READ_UNAVAILABLE'] | Literal['SIGNAL_RESPONSE_INVALID'] | - Literal['TELEMETRY_CONNECTION_UNAVAILABLE'] | Literal['TELEMETRY_CREDENTIAL_UNAVAILABLE']] | Unset): The gaps - this window's check recorded, beside its recorded result; + Literal['TELEMETRY_CONNECTION_UNAVAILABLE'] | Literal['TELEMETRY_CREDENTIAL_UNAVAILABLE'] | str] | Unset): The + gaps this window's check recorded, beside its recorded result; empty while no check of this window is recorded. The deploy's `gaps` unite those that leave it unproven. """ @@ -50,6 +50,7 @@ class DeployCoverageCheckpoint: | Literal["REGRESSED"] | Literal["SUPERSEDED"] | None + | str | Unset ) = UNSET gaps: ( @@ -87,6 +88,7 @@ class DeployCoverageCheckpoint: | Literal["SIGNAL_RESPONSE_INVALID"] | Literal["TELEMETRY_CONNECTION_UNAVAILABLE"] | Literal["TELEMETRY_CREDENTIAL_UNAVAILABLE"] + | str ] | Unset ) = UNSET @@ -103,6 +105,7 @@ def to_dict(self) -> dict[str, Any]: | Literal["REGRESSED"] | Literal["SUPERSEDED"] | None + | str | Unset ) if isinstance(self.result, Unset): @@ -145,6 +148,7 @@ def to_dict(self) -> dict[str, Any]: | Literal["SIGNAL_RESPONSE_INVALID"] | Literal["TELEMETRY_CONNECTION_UNAVAILABLE"] | Literal["TELEMETRY_CREDENTIAL_UNAVAILABLE"] + | str ] | Unset ) = UNSET @@ -185,6 +189,7 @@ def to_dict(self) -> dict[str, Any]: | Literal["SIGNAL_RESPONSE_INVALID"] | Literal["TELEMETRY_CONNECTION_UNAVAILABLE"] | Literal["TELEMETRY_CREDENTIAL_UNAVAILABLE"] + | str ) gaps_item = gaps_item_data gaps.append(gaps_item) @@ -219,6 +224,7 @@ def _parse_result( | Literal["REGRESSED"] | Literal["SUPERSEDED"] | None + | str | Unset ): if data is None: @@ -275,6 +281,7 @@ def _parse_result( | Literal["REGRESSED"] | Literal["SUPERSEDED"] | None + | str | Unset, data, ) @@ -317,6 +324,7 @@ def _parse_result( | Literal["SIGNAL_RESPONSE_INVALID"] | Literal["TELEMETRY_CONNECTION_UNAVAILABLE"] | Literal["TELEMETRY_CREDENTIAL_UNAVAILABLE"] + | str ] | Unset ) = UNSET @@ -360,6 +368,7 @@ def _parse_gaps_item( | Literal["SIGNAL_RESPONSE_INVALID"] | Literal["TELEMETRY_CONNECTION_UNAVAILABLE"] | Literal["TELEMETRY_CREDENTIAL_UNAVAILABLE"] + | str ): try: if not (type(data) is str and data == "CHANGE_CHECK_MISSING"): @@ -874,19 +883,59 @@ def _parse_gaps_item( return componentsschemas_deploy_verification_gap_type_31 except (TypeError, ValueError, AttributeError, KeyError): pass - if not (type(data) is str and data == "BASELINE_HELD_REGRESSION"): - raise TypeError() - componentsschemas_deploy_verification_gap_type_32 = cast( - Literal["BASELINE_HELD_REGRESSION"], data + try: + if not (type(data) is str and data == "BASELINE_HELD_REGRESSION"): + raise TypeError() + componentsschemas_deploy_verification_gap_type_32 = cast( + Literal["BASELINE_HELD_REGRESSION"], data + ) + if ( + componentsschemas_deploy_verification_gap_type_32 + != "BASELINE_HELD_REGRESSION" + ): + raise ValueError( + f"/components/schemas/DeployVerificationGap_type_32 must match const 'BASELINE_HELD_REGRESSION', got '{componentsschemas_deploy_verification_gap_type_32}'" + ) + return componentsschemas_deploy_verification_gap_type_32 + except (TypeError, ValueError, AttributeError, KeyError): + pass + return cast( + Literal["AWS_TELEMETRY_CONNECTION_UNAVAILABLE"] + | Literal["BASELINE_HELD_REGRESSION"] + | Literal["BASELINE_UNAVAILABLE"] + | Literal["BELOW_TRAFFIC_FLOOR"] + | Literal["CHANGE_CHECK_INCOMPLETE"] + | Literal["CHANGE_CHECK_MISSING"] + | Literal["ENVIRONMENT_NOT_CHECKED"] + | Literal["NO_SIGNALS_CONFIGURED"] + | Literal["NO_SIGNALS_FOR_TASK_SERVICES"] + | Literal["RUNNING_REVISION_UNKNOWN"] + | Literal["RUNTIME_ATTESTATIONS_PERMISSION_PENDING"] + | Literal["RUNTIME_CAPABILITY_UNQUALIFIED"] + | Literal["RUNTIME_COMMIT_BINDING_MISSING"] + | Literal["RUNTIME_IMAGE_BUILT_EARLIER"] + | Literal["RUNTIME_INVENTORY_INCOMPLETE"] + | Literal["RUNTIME_INVENTORY_STALE"] + | Literal["RUNTIME_INVENTORY_UNAVAILABLE"] + | Literal["RUNTIME_REVISION_UNKNOWN"] + | Literal["RUNTIME_ROLLOUT_UNSETTLED"] + | Literal["RUNTIME_SERVICE_UNKNOWN"] + | Literal["RUNTIME_TARGET_UNAVAILABLE"] + | Literal["RUNTIME_TASK_UNMAPPED"] + | Literal["RUNTIME_TRAFFIC_UNKNOWN"] + | Literal["SIGNAL_BUCKET_UNEXPECTED"] + | Literal["SIGNAL_CONFIGURATION_INVALID"] + | Literal["SIGNAL_NO_DATA"] + | Literal["SIGNAL_NOT_SINGLE_SERIES"] + | Literal["SIGNAL_PROJECT_NOT_CONNECTED"] + | Literal["SIGNAL_READ_PARTIAL"] + | Literal["SIGNAL_READ_UNAVAILABLE"] + | Literal["SIGNAL_RESPONSE_INVALID"] + | Literal["TELEMETRY_CONNECTION_UNAVAILABLE"] + | Literal["TELEMETRY_CREDENTIAL_UNAVAILABLE"] + | str, + data, ) - if ( - componentsschemas_deploy_verification_gap_type_32 - != "BASELINE_HELD_REGRESSION" - ): - raise ValueError( - f"/components/schemas/DeployVerificationGap_type_32 must match const 'BASELINE_HELD_REGRESSION', got '{componentsschemas_deploy_verification_gap_type_32}'" - ) - return componentsschemas_deploy_verification_gap_type_32 gaps_item = _parse_gaps_item(gaps_item_data) diff --git a/proofline/_generated/models/review_summary.py b/proofline/_generated/models/review_summary.py index 9c770624..3effab1c 100644 --- a/proofline/_generated/models/review_summary.py +++ b/proofline/_generated/models/review_summary.py @@ -49,12 +49,14 @@ class ReviewSummary: Null for every other review. completed_at (datetime.datetime | None | Unset): When the review reached a terminal status. Absent while it is still pending or running. - counted_incomplete_causes (list[IncompleteCauseType0 | Literal['OUT_OF_CREDITS'] | + counted_incomplete_causes (list[IncompleteCauseType0 | Literal['GITHUB_REFUSED'] | Literal['OUT_OF_CREDITS'] | Literal['SPEND_LIMIT_REACHED'] | Literal['UNKNOWN']] | Unset): `incomplete_causes` as the Inbox and the reviews `cause:` search count them: `OUT_OF_CREDITS` or `SPEND_LIMIT_REACHED` in place of the `NOT_CONFIGURED` an assessment records when credits or a monthly spend - limit refused it. Present exactly when + limit refused it, and `GITHUB_REFUSED` in place of the + `EVIDENCE_UNAVAILABLE` a code assessment records when GitHub refused + its source read. Present exactly when `incomplete_causes` is. current_head_commit_sha (None | str | Unset): The pull request's head commit as the latest provider projection reports it, which can differ from `head_commit_sha`. Set only on a single-review read, and absent for a @@ -131,6 +133,7 @@ class ReviewSummary: counted_incomplete_causes: ( list[ IncompleteCauseType0 + | Literal["GITHUB_REFUSED"] | Literal["OUT_OF_CREDITS"] | Literal["SPEND_LIMIT_REACHED"] | Literal["UNKNOWN"] @@ -202,7 +205,8 @@ def to_dict(self) -> dict[str, Any]: counted_incomplete_causes: ( list[ - Literal["OUT_OF_CREDITS"] + Literal["GITHUB_REFUSED"] + | Literal["OUT_OF_CREDITS"] | Literal["SPEND_LIMIT_REACHED"] | Literal["UNKNOWN"] | str @@ -213,7 +217,8 @@ def to_dict(self) -> dict[str, Any]: counted_incomplete_causes = [] for counted_incomplete_causes_item_data in self.counted_incomplete_causes: counted_incomplete_causes_item: ( - Literal["OUT_OF_CREDITS"] + Literal["GITHUB_REFUSED"] + | Literal["OUT_OF_CREDITS"] | Literal["SPEND_LIMIT_REACHED"] | Literal["UNKNOWN"] | str @@ -498,6 +503,7 @@ def _parse_completed_at(data: object) -> datetime.datetime | None | Unset: counted_incomplete_causes: ( list[ IncompleteCauseType0 + | Literal["GITHUB_REFUSED"] | Literal["OUT_OF_CREDITS"] | Literal["SPEND_LIMIT_REACHED"] | Literal["UNKNOWN"] @@ -512,6 +518,7 @@ def _parse_counted_incomplete_causes_item( data: object, ) -> ( IncompleteCauseType0 + | Literal["GITHUB_REFUSED"] | Literal["OUT_OF_CREDITS"] | Literal["SPEND_LIMIT_REACHED"] | Literal["UNKNOWN"] @@ -548,16 +555,29 @@ def _parse_counted_incomplete_causes_item( return componentsschemas_credit_refusal_cause_type_0 except (TypeError, ValueError, AttributeError, KeyError): pass - if not (type(data) is str and data == "SPEND_LIMIT_REACHED"): + try: + if not (type(data) is str and data == "SPEND_LIMIT_REACHED"): + raise TypeError() + componentsschemas_credit_refusal_cause_type_1 = cast( + Literal["SPEND_LIMIT_REACHED"], data + ) + if componentsschemas_credit_refusal_cause_type_1 != "SPEND_LIMIT_REACHED": + raise ValueError( + f"/components/schemas/CreditRefusalCause_type_1 must match const 'SPEND_LIMIT_REACHED', got '{componentsschemas_credit_refusal_cause_type_1}'" + ) + return componentsschemas_credit_refusal_cause_type_1 + except (TypeError, ValueError, AttributeError, KeyError): + pass + if not (type(data) is str and data == "GITHUB_REFUSED"): raise TypeError() - componentsschemas_credit_refusal_cause_type_1 = cast( - Literal["SPEND_LIMIT_REACHED"], data + componentsschemas_installation_refusal_cause_type_0 = cast( + Literal["GITHUB_REFUSED"], data ) - if componentsschemas_credit_refusal_cause_type_1 != "SPEND_LIMIT_REACHED": + if componentsschemas_installation_refusal_cause_type_0 != "GITHUB_REFUSED": raise ValueError( - f"/components/schemas/CreditRefusalCause_type_1 must match const 'SPEND_LIMIT_REACHED', got '{componentsschemas_credit_refusal_cause_type_1}'" + f"/components/schemas/InstallationRefusalCause_type_0 must match const 'GITHUB_REFUSED', got '{componentsschemas_installation_refusal_cause_type_0}'" ) - return componentsschemas_credit_refusal_cause_type_1 + return componentsschemas_installation_refusal_cause_type_0 counted_incomplete_causes_item = _parse_counted_incomplete_causes_item( counted_incomplete_causes_item_data diff --git a/proofline/_transport.py b/proofline/_transport.py index 1b0a1f48..7a4f2809 100644 --- a/proofline/_transport.py +++ b/proofline/_transport.py @@ -38,7 +38,7 @@ from ._sync_http import IO_DEADLINE from ._sync_http import Transport as SyncHTTPTransport -VERSION = "9.3.2" +VERSION = "10.0.0" MAX_RESPONSE_BYTES = 8 * 1024 * 1024 WEEKDAY = r"(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)" FULL_WEEKDAY = r"(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday)" diff --git a/pyproject.toml b/pyproject.toml index 16566f1b..d3930077 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "proofline-sdk" -version = "9.3.2" +version = "10.0.0" description = "Typed synchronous and asynchronous clients for the Proofline review API" readme = "README.md" license = "Apache-2.0 AND MIT" diff --git a/scripts/generate.py b/scripts/generate.py index a35a26b6..c620383e 100644 --- a/scripts/generate.py +++ b/scripts/generate.py @@ -99,12 +99,19 @@ def generate(destination: Path) -> None: "incident": revision["properties"]["incident"], } # CommitDeploy's optional arguments up to workflow_run_id are positional - # in the 7.4 SDK; rolled_back came later, so it follows them. + # in the 7.4 SDK; rolled_back and then github_deployment_ids came later, + # so they follow them in that order. deploy = document["components"]["schemas"]["CommitDeploy"] + later = ("rolled_back", "github_deployment_ids") deploy["properties"] = { - **{k: v for k, v in deploy["properties"].items() if k != "rolled_back"}, - "rolled_back": deploy["properties"]["rolled_back"], + **{k: v for k, v in deploy["properties"].items() if k not in later}, + **{k: deploy["properties"][k] for k in later}, } + # The server adds gaps, states and results within a minor version. A + # pinned SDK returns one it does not list as its string, which callers + # read as not established, instead of failing the whole deploy read. + for name in ("DeployVerificationGap", "DeployCoverageState", "DeployCheckResult"): + document["components"]["schemas"][name]["oneOf"].append({"type": "string"}) with tempfile.TemporaryDirectory(prefix="proofline-json-contract-") as temporary: json_document = Path(temporary) / "openapi.json" json_document.write_text(json.dumps(json_operations(document))) diff --git a/tests/test_generated_operation.py b/tests/test_generated_operation.py index a990286c..365bd05d 100644 --- a/tests/test_generated_operation.py +++ b/tests/test_generated_operation.py @@ -24,6 +24,21 @@ def test_checkpoint_keeps_its_positional_result() -> None: ) assert recorded.result == "REGRESSED" assert recorded.gaps == ["CHANGE_CHECK_MISSING"] + # A later server's gap, state or result reads as its string. + deploy = models.CommitDeploy.from_dict( + { + "environment_id": "00000000-0000-4000-8000-000000000003", + "state": "LATER_STATE", + "regressed": False, + "gaps": ["LATER_GAP", "CHANGE_CHECK_MISSING"], + "checkpoints": [ + {**checkpoint.to_dict(), "result": "LATER_RESULT", "gaps": ["LATER_GAP"]} + ], + } + ) + assert (deploy.state, deploy.gaps) == ("LATER_STATE", ["LATER_GAP", "CHANGE_CHECK_MISSING"]) + later = deploy.checkpoints[0] + assert (later.result, later.gaps) == ("LATER_RESULT", ["LATER_GAP"]) def test_new_public_operation(tmp_path: Path) -> None: From 663f4d8b0cb7f00a986d98d042332cc4b0c0fd44 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 24 Nov 2026 22:06:19 +0000 Subject: [PATCH 4/8] Update distribution --- openapi.public.json | 7 +- proofline/_generated/models/commit_deploy.py | 13 ++++ .../models/customer_review_detail.py | 67 ++++++++++++------- proofline/_generated/models/review_summary.py | 67 ++++++++++++------- proofline/_transport.py | 2 +- pyproject.toml | 2 +- scripts/generate.py | 14 +++- tests/test_generated_operation.py | 22 ++++++ 8 files changed, 140 insertions(+), 54 deletions(-) diff --git a/openapi.public.json b/openapi.public.json index 9a55e866..9128228e 100644 --- a/openapi.public.json +++ b/openapi.public.json @@ -877,6 +877,11 @@ ], "description": "Where the deploy's verification stands." }, + "verification_ended": { + "default": false, + "description": "Whether the deploy's verification ended. A check with no `result`\n then will never be recorded, while a running verification can still\n record one that is overdue; `state` reads `UNRECORDED` for both.\n False without a verification, which `state` reads as `UNVERIFIED`.\n Older responses omit it, which reads as false.", + "type": "boolean" + }, "workflow_run_attempt": { "description": "The attempt of that run that created the deployment addressing the\n deploy; above 1 for a rerun.", "format": "int64", @@ -7255,7 +7260,7 @@ }, "info": { "title": "Proofline Review API", - "version": "10.0.0" + "version": "10.1.0" }, "openapi": "3.1.0", "paths": { diff --git a/proofline/_generated/models/commit_deploy.py b/proofline/_generated/models/commit_deploy.py index 6179b78e..5a19e37b 100644 --- a/proofline/_generated/models/commit_deploy.py +++ b/proofline/_generated/models/commit_deploy.py @@ -75,6 +75,11 @@ class CommitDeploy: of one commit, GitHub Environment and task read apart by this ID. Every listed deploy holds one; a server from before the field existed omits it. + verification_ended (bool | Unset): Whether the deploy's verification ended. A check with no `result` + then will never be recorded, while a running verification can still + record one that is overdue; `state` reads `UNRECORDED` for both. + False without a verification, which `state` reads as `UNVERIFIED`. + Older responses omit it, which reads as false. Default: False. """ checkpoints: list[DeployCoverageCheckpoint] @@ -137,6 +142,7 @@ class CommitDeploy: workflow_run_id: int | None | Unset = UNSET rolled_back: bool | Unset = False github_deployment_ids: list[int] | Unset = UNSET + verification_ended: bool | Unset = False additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: @@ -254,6 +260,8 @@ def to_dict(self) -> dict[str, Any]: if not isinstance(self.github_deployment_ids, Unset): github_deployment_ids = self.github_deployment_ids + verification_ended = self.verification_ended + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) field_dict.update( @@ -283,6 +291,8 @@ def to_dict(self) -> dict[str, Any]: field_dict["rolled_back"] = rolled_back if github_deployment_ids is not UNSET: field_dict["github_deployment_ids"] = github_deployment_ids + if verification_ended is not UNSET: + field_dict["verification_ended"] = verification_ended return field_dict @@ -1095,6 +1105,8 @@ def _parse_workflow_run_id(data: object) -> int | None | Unset: github_deployment_ids = cast(list[int], d.pop("github_deployment_ids", UNSET)) + verification_ended = d.pop("verification_ended", UNSET) + commit_deploy = cls( checkpoints=checkpoints, environment_id=environment_id, @@ -1110,6 +1122,7 @@ def _parse_workflow_run_id(data: object) -> int | None | Unset: workflow_run_id=workflow_run_id, rolled_back=rolled_back, github_deployment_ids=github_deployment_ids, + verification_ended=verification_ended, ) commit_deploy.additional_properties = d diff --git a/proofline/_generated/models/customer_review_detail.py b/proofline/_generated/models/customer_review_detail.py index 61abad06..a82aaadc 100644 --- a/proofline/_generated/models/customer_review_detail.py +++ b/proofline/_generated/models/customer_review_detail.py @@ -117,8 +117,8 @@ class CustomerReviewDetail: paid: the plan, the free review month or the organization's credits. Null for a caller who is not a member of the organization. counted_incomplete_causes (list[IncompleteCauseType0 | Literal['GITHUB_REFUSED'] | Literal['OUT_OF_CREDITS'] | - Literal['SPEND_LIMIT_REACHED'] | Literal['UNKNOWN']] | Unset): `incomplete_causes` as the Inbox and the reviews - `cause:` search + Literal['SPEND_LIMIT_REACHED'] | Literal['UNKNOWN'] | str] | Unset): `incomplete_causes` as the Inbox and the + reviews `cause:` search count them: `OUT_OF_CREDITS` or `SPEND_LIMIT_REACHED` in place of the `NOT_CONFIGURED` an assessment records when credits or a monthly spend limit refused it, and `GITHUB_REFUSED` in place of the @@ -148,8 +148,8 @@ class CustomerReviewDetail: branch moves, the reviewed input does not. Absent for a patch review. head_ref (None | str | Unset): The pull request's head branch name as last recorded from GitHub, for orientation only. Null when no pull request state is recorded. - incomplete_causes (list[IncompleteCauseType0 | Literal['UNKNOWN']] | Unset): Why an `INCOMPLETE` review ended - incomplete, as its incomplete + incomplete_causes (list[IncompleteCauseType0 | Literal['UNKNOWN'] | str] | Unset): Why an `INCOMPLETE` review + ended incomplete, as its incomplete assessments recorded it, in name order. `UNKNOWN` alone when none recorded a cause. Absent for every other status, and on reads other than the reviews list and a single review. @@ -303,6 +303,7 @@ class CustomerReviewDetail: | Literal["OUT_OF_CREDITS"] | Literal["SPEND_LIMIT_REACHED"] | Literal["UNKNOWN"] + | str ] | Unset ) = UNSET @@ -314,7 +315,7 @@ class CustomerReviewDetail: head_commit_sha: None | str | Unset = UNSET head_commit_url: None | str | Unset = UNSET head_ref: None | str | Unset = UNSET - incomplete_causes: list[IncompleteCauseType0 | Literal["UNKNOWN"]] | Unset = UNSET + incomplete_causes: list[IncompleteCauseType0 | Literal["UNKNOWN"] | str] | Unset = UNSET investigation_findings: list[ReviewInvestigationFinding] | Unset = UNSET is_deep_review: bool | Unset = UNSET linked_issues: LinkedIssueCapture | None | Unset = UNSET @@ -1236,6 +1237,7 @@ def _parse_cost_microcredits(data: object) -> int | None | Unset: | Literal["OUT_OF_CREDITS"] | Literal["SPEND_LIMIT_REACHED"] | Literal["UNKNOWN"] + | str ] | Unset ) = UNSET @@ -1251,6 +1253,7 @@ def _parse_counted_incomplete_causes_item( | Literal["OUT_OF_CREDITS"] | Literal["SPEND_LIMIT_REACHED"] | Literal["UNKNOWN"] + | str ): try: if not isinstance(data, str): @@ -1297,16 +1300,28 @@ def _parse_counted_incomplete_causes_item( return componentsschemas_credit_refusal_cause_type_1 except (TypeError, ValueError, AttributeError, KeyError): pass - if not (type(data) is str and data == "GITHUB_REFUSED"): - raise TypeError() - componentsschemas_installation_refusal_cause_type_0 = cast( - Literal["GITHUB_REFUSED"], data - ) - if componentsschemas_installation_refusal_cause_type_0 != "GITHUB_REFUSED": - raise ValueError( - f"/components/schemas/InstallationRefusalCause_type_0 must match const 'GITHUB_REFUSED', got '{componentsschemas_installation_refusal_cause_type_0}'" + try: + if not (type(data) is str and data == "GITHUB_REFUSED"): + raise TypeError() + componentsschemas_installation_refusal_cause_type_0 = cast( + Literal["GITHUB_REFUSED"], data ) - return componentsschemas_installation_refusal_cause_type_0 + if componentsschemas_installation_refusal_cause_type_0 != "GITHUB_REFUSED": + raise ValueError( + f"/components/schemas/InstallationRefusalCause_type_0 must match const 'GITHUB_REFUSED', got '{componentsschemas_installation_refusal_cause_type_0}'" + ) + return componentsschemas_installation_refusal_cause_type_0 + except (TypeError, ValueError, AttributeError, KeyError): + pass + return cast( + IncompleteCauseType0 + | Literal["GITHUB_REFUSED"] + | Literal["OUT_OF_CREDITS"] + | Literal["SPEND_LIMIT_REACHED"] + | Literal["UNKNOWN"] + | str, + data, + ) counted_incomplete_causes_item = _parse_counted_incomplete_causes_item( counted_incomplete_causes_item_data @@ -1400,14 +1415,14 @@ def _parse_head_ref(data: object) -> None | str | Unset: head_ref = _parse_head_ref(d.pop("head_ref", UNSET)) _incomplete_causes = d.pop("incomplete_causes", UNSET) - incomplete_causes: list[IncompleteCauseType0 | Literal["UNKNOWN"]] | Unset = UNSET + incomplete_causes: list[IncompleteCauseType0 | Literal["UNKNOWN"] | str] | Unset = UNSET if _incomplete_causes is not UNSET: incomplete_causes = [] for incomplete_causes_item_data in _incomplete_causes: def _parse_incomplete_causes_item( data: object, - ) -> IncompleteCauseType0 | Literal["UNKNOWN"]: + ) -> IncompleteCauseType0 | Literal["UNKNOWN"] | str: try: if not isinstance(data, str): raise TypeError() @@ -1416,14 +1431,18 @@ def _parse_incomplete_causes_item( return componentsschemas_incomplete_cause_type_0 except (TypeError, ValueError, AttributeError, KeyError): pass - if not (type(data) is str and data == "UNKNOWN"): - raise TypeError() - componentsschemas_incomplete_cause_type_1 = cast(Literal["UNKNOWN"], data) - if componentsschemas_incomplete_cause_type_1 != "UNKNOWN": - raise ValueError( - f"/components/schemas/IncompleteCause_type_1 must match const 'UNKNOWN', got '{componentsschemas_incomplete_cause_type_1}'" - ) - return componentsschemas_incomplete_cause_type_1 + try: + if not (type(data) is str and data == "UNKNOWN"): + raise TypeError() + componentsschemas_incomplete_cause_type_1 = cast(Literal["UNKNOWN"], data) + if componentsschemas_incomplete_cause_type_1 != "UNKNOWN": + raise ValueError( + f"/components/schemas/IncompleteCause_type_1 must match const 'UNKNOWN', got '{componentsschemas_incomplete_cause_type_1}'" + ) + return componentsschemas_incomplete_cause_type_1 + except (TypeError, ValueError, AttributeError, KeyError): + pass + return cast(IncompleteCauseType0 | Literal["UNKNOWN"] | str, data) incomplete_causes_item = _parse_incomplete_causes_item(incomplete_causes_item_data) diff --git a/proofline/_generated/models/review_summary.py b/proofline/_generated/models/review_summary.py index 3effab1c..9b031996 100644 --- a/proofline/_generated/models/review_summary.py +++ b/proofline/_generated/models/review_summary.py @@ -50,8 +50,8 @@ class ReviewSummary: completed_at (datetime.datetime | None | Unset): When the review reached a terminal status. Absent while it is still pending or running. counted_incomplete_causes (list[IncompleteCauseType0 | Literal['GITHUB_REFUSED'] | Literal['OUT_OF_CREDITS'] | - Literal['SPEND_LIMIT_REACHED'] | Literal['UNKNOWN']] | Unset): `incomplete_causes` as the Inbox and the reviews - `cause:` search + Literal['SPEND_LIMIT_REACHED'] | Literal['UNKNOWN'] | str] | Unset): `incomplete_causes` as the Inbox and the + reviews `cause:` search count them: `OUT_OF_CREDITS` or `SPEND_LIMIT_REACHED` in place of the `NOT_CONFIGURED` an assessment records when credits or a monthly spend limit refused it, and `GITHUB_REFUSED` in place of the @@ -66,8 +66,8 @@ class ReviewSummary: which is not a commit. Absent when the review recorded none. head_commit_url (None | str | Unset): The exact revision reviewed. A commit URL, never a branch URL: the branch moves, the reviewed input does not. Absent for a patch review. - incomplete_causes (list[IncompleteCauseType0 | Literal['UNKNOWN']] | Unset): Why an `INCOMPLETE` review ended - incomplete, as its incomplete + incomplete_causes (list[IncompleteCauseType0 | Literal['UNKNOWN'] | str] | Unset): Why an `INCOMPLETE` review + ended incomplete, as its incomplete assessments recorded it, in name order. `UNKNOWN` alone when none recorded a cause. Absent for every other status, and on reads other than the reviews list and a single review. @@ -137,13 +137,14 @@ class ReviewSummary: | Literal["OUT_OF_CREDITS"] | Literal["SPEND_LIMIT_REACHED"] | Literal["UNKNOWN"] + | str ] | Unset ) = UNSET current_head_commit_sha: None | str | Unset = UNSET head_commit_sha: None | str | Unset = UNSET head_commit_url: None | str | Unset = UNSET - incomplete_causes: list[IncompleteCauseType0 | Literal["UNKNOWN"]] | Unset = UNSET + incomplete_causes: list[IncompleteCauseType0 | Literal["UNKNOWN"] | str] | Unset = UNSET merge_group_pull_request_numbers: list[int] | Unset = UNSET publication_detail: None | str | Unset = UNSET pull_request_author_avatar_url: None | str | Unset = UNSET @@ -507,6 +508,7 @@ def _parse_completed_at(data: object) -> datetime.datetime | None | Unset: | Literal["OUT_OF_CREDITS"] | Literal["SPEND_LIMIT_REACHED"] | Literal["UNKNOWN"] + | str ] | Unset ) = UNSET @@ -522,6 +524,7 @@ def _parse_counted_incomplete_causes_item( | Literal["OUT_OF_CREDITS"] | Literal["SPEND_LIMIT_REACHED"] | Literal["UNKNOWN"] + | str ): try: if not isinstance(data, str): @@ -568,16 +571,28 @@ def _parse_counted_incomplete_causes_item( return componentsschemas_credit_refusal_cause_type_1 except (TypeError, ValueError, AttributeError, KeyError): pass - if not (type(data) is str and data == "GITHUB_REFUSED"): - raise TypeError() - componentsschemas_installation_refusal_cause_type_0 = cast( - Literal["GITHUB_REFUSED"], data - ) - if componentsschemas_installation_refusal_cause_type_0 != "GITHUB_REFUSED": - raise ValueError( - f"/components/schemas/InstallationRefusalCause_type_0 must match const 'GITHUB_REFUSED', got '{componentsschemas_installation_refusal_cause_type_0}'" + try: + if not (type(data) is str and data == "GITHUB_REFUSED"): + raise TypeError() + componentsschemas_installation_refusal_cause_type_0 = cast( + Literal["GITHUB_REFUSED"], data ) - return componentsschemas_installation_refusal_cause_type_0 + if componentsschemas_installation_refusal_cause_type_0 != "GITHUB_REFUSED": + raise ValueError( + f"/components/schemas/InstallationRefusalCause_type_0 must match const 'GITHUB_REFUSED', got '{componentsschemas_installation_refusal_cause_type_0}'" + ) + return componentsschemas_installation_refusal_cause_type_0 + except (TypeError, ValueError, AttributeError, KeyError): + pass + return cast( + IncompleteCauseType0 + | Literal["GITHUB_REFUSED"] + | Literal["OUT_OF_CREDITS"] + | Literal["SPEND_LIMIT_REACHED"] + | Literal["UNKNOWN"] + | str, + data, + ) counted_incomplete_causes_item = _parse_counted_incomplete_causes_item( counted_incomplete_causes_item_data @@ -615,14 +630,14 @@ def _parse_head_commit_url(data: object) -> None | str | Unset: head_commit_url = _parse_head_commit_url(d.pop("head_commit_url", UNSET)) _incomplete_causes = d.pop("incomplete_causes", UNSET) - incomplete_causes: list[IncompleteCauseType0 | Literal["UNKNOWN"]] | Unset = UNSET + incomplete_causes: list[IncompleteCauseType0 | Literal["UNKNOWN"] | str] | Unset = UNSET if _incomplete_causes is not UNSET: incomplete_causes = [] for incomplete_causes_item_data in _incomplete_causes: def _parse_incomplete_causes_item( data: object, - ) -> IncompleteCauseType0 | Literal["UNKNOWN"]: + ) -> IncompleteCauseType0 | Literal["UNKNOWN"] | str: try: if not isinstance(data, str): raise TypeError() @@ -631,14 +646,18 @@ def _parse_incomplete_causes_item( return componentsschemas_incomplete_cause_type_0 except (TypeError, ValueError, AttributeError, KeyError): pass - if not (type(data) is str and data == "UNKNOWN"): - raise TypeError() - componentsschemas_incomplete_cause_type_1 = cast(Literal["UNKNOWN"], data) - if componentsschemas_incomplete_cause_type_1 != "UNKNOWN": - raise ValueError( - f"/components/schemas/IncompleteCause_type_1 must match const 'UNKNOWN', got '{componentsschemas_incomplete_cause_type_1}'" - ) - return componentsschemas_incomplete_cause_type_1 + try: + if not (type(data) is str and data == "UNKNOWN"): + raise TypeError() + componentsschemas_incomplete_cause_type_1 = cast(Literal["UNKNOWN"], data) + if componentsschemas_incomplete_cause_type_1 != "UNKNOWN": + raise ValueError( + f"/components/schemas/IncompleteCause_type_1 must match const 'UNKNOWN', got '{componentsschemas_incomplete_cause_type_1}'" + ) + return componentsschemas_incomplete_cause_type_1 + except (TypeError, ValueError, AttributeError, KeyError): + pass + return cast(IncompleteCauseType0 | Literal["UNKNOWN"] | str, data) incomplete_causes_item = _parse_incomplete_causes_item(incomplete_causes_item_data) diff --git a/proofline/_transport.py b/proofline/_transport.py index 7a4f2809..d372037c 100644 --- a/proofline/_transport.py +++ b/proofline/_transport.py @@ -38,7 +38,7 @@ from ._sync_http import IO_DEADLINE from ._sync_http import Transport as SyncHTTPTransport -VERSION = "10.0.0" +VERSION = "10.1.0" MAX_RESPONSE_BYTES = 8 * 1024 * 1024 WEEKDAY = r"(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)" FULL_WEEKDAY = r"(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday)" diff --git a/pyproject.toml b/pyproject.toml index d3930077..2b10f734 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "proofline-sdk" -version = "10.0.0" +version = "10.1.0" description = "Typed synchronous and asynchronous clients for the Proofline review API" readme = "README.md" license = "Apache-2.0 AND MIT" diff --git a/scripts/generate.py b/scripts/generate.py index c620383e..4f98fdca 100644 --- a/scripts/generate.py +++ b/scripts/generate.py @@ -99,10 +99,10 @@ def generate(destination: Path) -> None: "incident": revision["properties"]["incident"], } # CommitDeploy's optional arguments up to workflow_run_id are positional - # in the 7.4 SDK; rolled_back and then github_deployment_ids came later, - # so they follow them in that order. + # in the 7.4 SDK; rolled_back, github_deployment_ids and then + # verification_ended came later, so they follow them in that order. deploy = document["components"]["schemas"]["CommitDeploy"] - later = ("rolled_back", "github_deployment_ids") + later = ("rolled_back", "github_deployment_ids", "verification_ended") deploy["properties"] = { **{k: v for k, v in deploy["properties"].items() if k not in later}, **{k: deploy["properties"][k] for k in later}, @@ -112,6 +112,14 @@ def generate(destination: Path) -> None: # read as not established, instead of failing the whole deploy read. for name in ("DeployVerificationGap", "DeployCoverageState", "DeployCheckResult"): document["components"]["schemas"][name]["oneOf"].append({"type": "string"}) + # A major version can add a review cause, and one review carrying it + # would fail a whole review page. The string comes last, so a known + # cause still parses as its own value. + schemas = document["components"]["schemas"] + schemas["CountedCause"]["anyOf"].append({"type": "string"}) + for name in ("ReviewSummary", "CustomerReviewDetail"): + causes = schemas[name]["properties"]["incomplete_causes"] + causes["items"] = {"anyOf": [causes["items"], {"type": "string"}]} with tempfile.TemporaryDirectory(prefix="proofline-json-contract-") as temporary: json_document = Path(temporary) / "openapi.json" json_document.write_text(json.dumps(json_operations(document))) diff --git a/tests/test_generated_operation.py b/tests/test_generated_operation.py index 365bd05d..57622145 100644 --- a/tests/test_generated_operation.py +++ b/tests/test_generated_operation.py @@ -39,6 +39,28 @@ def test_checkpoint_keeps_its_positional_result() -> None: assert (deploy.state, deploy.gaps) == ("LATER_STATE", ["LATER_GAP", "CHANGE_CHECK_MISSING"]) later = deploy.checkpoints[0] assert (later.result, later.gaps) == ("LATER_RESULT", ["LATER_GAP"]) + # So does a later review cause, which would otherwise fail a whole review page. + review = models.ReviewSummary.from_dict( + { + "id": "00000000-0000-4000-8000-000000000004", + "public_key": "rev_00000000000040008000000000000004", + "kind": "PULL_REQUEST", + "status": "INCOMPLETE", + "assessment_count": 0, + "environment_display_names": [], + "finding_count": 0, + "trigger_origin": "AUTOMATIC", + "publication": "PUBLISHED", + "created_at": "2026-11-01T00:00:00Z", + "incomplete_causes": ["LATER_CAUSE", "EVIDENCE_UNAVAILABLE"], + "counted_incomplete_causes": ["LATER_CAUSE", "GITHUB_REFUSED"], + } + ) + assert review.incomplete_causes == [ + "LATER_CAUSE", + models.IncompleteCauseType0.EVIDENCE_UNAVAILABLE, + ] + assert review.counted_incomplete_causes == ["LATER_CAUSE", "GITHUB_REFUSED"] def test_new_public_operation(tmp_path: Path) -> None: From 3636df86b35f480c2c41bcb1b0a00203a647bbe0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 25 Nov 2026 18:09:31 +0000 Subject: [PATCH 5/8] Update distribution --- openapi.public.json | 21 ++++++++-- proofline/_generated/models/commit_deploy.py | 42 ++++++++++++++++++- .../models/finding_outcomes_selector.py | 1 + proofline/_transport.py | 2 +- pyproject.toml | 2 +- scripts/generate.py | 11 +++-- 6 files changed, 70 insertions(+), 9 deletions(-) diff --git a/openapi.public.json b/openapi.public.json index 9128228e..e5795cd8 100644 --- a/openapi.public.json +++ b/openapi.public.json @@ -801,6 +801,20 @@ "CommitDeploy": { "description": "One deploy of the commit and where its verification stands.", "properties": { + "aws_provider": { + "description": "The provider of an AWS deploy (`AWS_CODEPIPELINE` or `AWS_AMPLIFY`).", + "type": [ + "string", + "null" + ] + }, + "aws_run_id": { + "description": "The `CodePipeline` execution ID or Amplify job ID.", + "type": [ + "string", + "null" + ] + }, "checkpoints": { "description": "The four checks in order, each with its recorded result, if any, and\n when a missing one becomes overdue. Empty when no verification of\n the deploy exists.", "items": { @@ -835,7 +849,7 @@ "type": "array" }, "github_deployment_ids": { - "description": "The ID of each GitHub deployment the deploy holds, ascending: the\n deployment a pipeline created, or each one an Actions run's jobs\n created. A deployment outside Actions is a deploy of its own, so two\n of one commit, GitHub Environment and task read apart by this ID.\n Every listed deploy holds one; a server from before the field existed\n omits it.", + "description": "The ID of each GitHub deployment the deploy holds, ascending: the\n deployment a pipeline created, or each one an Actions run's jobs\n created. A deployment outside Actions is a deploy of its own, so two\n of one commit, GitHub Environment and task read apart by this ID.\n Every GitHub deploy holds one; a server from before the field existed\n omits it.", "items": { "format": "int64", "type": "integer" @@ -3688,7 +3702,8 @@ "enum": [ "outcome", "code_changed", - "post_merge" + "post_merge", + "published" ], "type": "string" }, @@ -7260,7 +7275,7 @@ }, "info": { "title": "Proofline Review API", - "version": "10.1.0" + "version": "10.2.0" }, "openapi": "3.1.0", "paths": { diff --git a/proofline/_generated/models/commit_deploy.py b/proofline/_generated/models/commit_deploy.py index 5a19e37b..cb1c5377 100644 --- a/proofline/_generated/models/commit_deploy.py +++ b/proofline/_generated/models/commit_deploy.py @@ -73,13 +73,15 @@ class CommitDeploy: deployment a pipeline created, or each one an Actions run's jobs created. A deployment outside Actions is a deploy of its own, so two of one commit, GitHub Environment and task read apart by this ID. - Every listed deploy holds one; a server from before the field existed + Every GitHub deploy holds one; a server from before the field existed omits it. verification_ended (bool | Unset): Whether the deploy's verification ended. A check with no `result` then will never be recorded, while a running verification can still record one that is overdue; `state` reads `UNRECORDED` for both. False without a verification, which `state` reads as `UNVERIFIED`. Older responses omit it, which reads as false. Default: False. + aws_provider (None | str | Unset): The provider of an AWS deploy (`AWS_CODEPIPELINE` or `AWS_AMPLIFY`). + aws_run_id (None | str | Unset): The `CodePipeline` execution ID or Amplify job ID. """ checkpoints: list[DeployCoverageCheckpoint] @@ -143,6 +145,8 @@ class CommitDeploy: rolled_back: bool | Unset = False github_deployment_ids: list[int] | Unset = UNSET verification_ended: bool | Unset = False + aws_provider: None | str | Unset = UNSET + aws_run_id: None | str | Unset = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: @@ -262,6 +266,18 @@ def to_dict(self) -> dict[str, Any]: verification_ended = self.verification_ended + aws_provider: None | str | Unset + if isinstance(self.aws_provider, Unset): + aws_provider = UNSET + else: + aws_provider = self.aws_provider + + aws_run_id: None | str | Unset + if isinstance(self.aws_run_id, Unset): + aws_run_id = UNSET + else: + aws_run_id = self.aws_run_id + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) field_dict.update( @@ -293,6 +309,10 @@ def to_dict(self) -> dict[str, Any]: field_dict["github_deployment_ids"] = github_deployment_ids if verification_ended is not UNSET: field_dict["verification_ended"] = verification_ended + if aws_provider is not UNSET: + field_dict["aws_provider"] = aws_provider + if aws_run_id is not UNSET: + field_dict["aws_run_id"] = aws_run_id return field_dict @@ -1107,6 +1127,24 @@ def _parse_workflow_run_id(data: object) -> int | None | Unset: verification_ended = d.pop("verification_ended", UNSET) + def _parse_aws_provider(data: object) -> None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(None | str | Unset, data) + + aws_provider = _parse_aws_provider(d.pop("aws_provider", UNSET)) + + def _parse_aws_run_id(data: object) -> None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(None | str | Unset, data) + + aws_run_id = _parse_aws_run_id(d.pop("aws_run_id", UNSET)) + commit_deploy = cls( checkpoints=checkpoints, environment_id=environment_id, @@ -1123,6 +1161,8 @@ def _parse_workflow_run_id(data: object) -> int | None | Unset: rolled_back=rolled_back, github_deployment_ids=github_deployment_ids, verification_ended=verification_ended, + aws_provider=aws_provider, + aws_run_id=aws_run_id, ) commit_deploy.additional_properties = d diff --git a/proofline/_generated/models/finding_outcomes_selector.py b/proofline/_generated/models/finding_outcomes_selector.py index 4ac06018..5d8846ba 100644 --- a/proofline/_generated/models/finding_outcomes_selector.py +++ b/proofline/_generated/models/finding_outcomes_selector.py @@ -5,6 +5,7 @@ class FindingOutcomesSelector(StrEnum): CODE_CHANGED = "code_changed" OUTCOME = "outcome" POST_MERGE = "post_merge" + PUBLISHED = "published" def __str__(self) -> str: return str(self.value) diff --git a/proofline/_transport.py b/proofline/_transport.py index d372037c..d7b971c0 100644 --- a/proofline/_transport.py +++ b/proofline/_transport.py @@ -38,7 +38,7 @@ from ._sync_http import IO_DEADLINE from ._sync_http import Transport as SyncHTTPTransport -VERSION = "10.1.0" +VERSION = "10.2.0" MAX_RESPONSE_BYTES = 8 * 1024 * 1024 WEEKDAY = r"(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)" FULL_WEEKDAY = r"(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday)" diff --git a/pyproject.toml b/pyproject.toml index 2b10f734..14e5e486 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "proofline-sdk" -version = "10.1.0" +version = "10.2.0" description = "Typed synchronous and asynchronous clients for the Proofline review API" readme = "README.md" license = "Apache-2.0 AND MIT" diff --git a/scripts/generate.py b/scripts/generate.py index 4f98fdca..c11093e8 100644 --- a/scripts/generate.py +++ b/scripts/generate.py @@ -99,10 +99,15 @@ def generate(destination: Path) -> None: "incident": revision["properties"]["incident"], } # CommitDeploy's optional arguments up to workflow_run_id are positional - # in the 7.4 SDK; rolled_back, github_deployment_ids and then - # verification_ended came later, so they follow them in that order. + # in the 7.4 SDK. Append newer optional arguments in release order. deploy = document["components"]["schemas"]["CommitDeploy"] - later = ("rolled_back", "github_deployment_ids", "verification_ended") + later = ( + "rolled_back", + "github_deployment_ids", + "verification_ended", + "aws_provider", + "aws_run_id", + ) deploy["properties"] = { **{k: v for k, v in deploy["properties"].items() if k not in later}, **{k: deploy["properties"][k] for k in later}, From cd0eba8c8b3a716300d35523b95cb2a25b2a3c58 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 25 Nov 2026 23:15:07 +0000 Subject: [PATCH 6/8] Update distribution --- proofline/_transport.py | 2 +- pyproject.toml | 2 +- requirements-dev.txt | 534 +++++++++++++++++++++++----------------- 3 files changed, 310 insertions(+), 228 deletions(-) diff --git a/proofline/_transport.py b/proofline/_transport.py index d7b971c0..4d168039 100644 --- a/proofline/_transport.py +++ b/proofline/_transport.py @@ -38,7 +38,7 @@ from ._sync_http import IO_DEADLINE from ._sync_http import Transport as SyncHTTPTransport -VERSION = "10.2.0" +VERSION = "10.2.1" MAX_RESPONSE_BYTES = 8 * 1024 * 1024 WEEKDAY = r"(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)" FULL_WEEKDAY = r"(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday)" diff --git a/pyproject.toml b/pyproject.toml index 14e5e486..b1e55370 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "proofline-sdk" -version = "10.2.0" +version = "10.2.1" description = "Typed synchronous and asynchronous clients for the Proofline review API" readme = "README.md" license = "Apache-2.0 AND MIT" diff --git a/requirements-dev.txt b/requirements-dev.txt index 01bcd258..8cd8bc6b 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -4,9 +4,9 @@ annotated-doc==0.0.5 \ annotated-types==0.8.0 \ --hash=sha256:13b2beaad985e05e2d6407ee4c4f35590b11f8d693a258a561055cac8f64cab7 \ --hash=sha256:f072f4d804ea359e4eaf198b1af7a8b0943881a87f31bb764f8bf219bb9419e0 -anyio==4.15.1 \ - --hash=sha256:6152fdbbf9a77fdec97731721bebf7c4c44f7c29b424b0065826173efc7ed101 \ - --hash=sha256:9f28306018cbd6d329e64a36d58256edff76dd996fe423bc957326e578b82a94 +anyio==4.16.0 \ + --hash=sha256:59bb03251907983d1603d27c3087ddb1e93299ea2163adcdba37899a4fb12ffb \ + --hash=sha256:c66ae634e0b8228396b801741beb3294326d4b6102f7bba4041c0dfb58c29026 ast-serialize==0.13.1 \ --hash=sha256:02686b281ec9b8e9614f6f0db27e12e4cac515f336c5d05b678bc9eb73ff2af5 \ --hash=sha256:032b09d86c785c3984e975378b7861f2a68ac44e22ba7b07b93a536b2524eeb8 \ @@ -236,99 +236,161 @@ librt==0.16.0 ; platform_python_implementation != 'PyPy' \ --hash=sha256:fe4372c52d4849096c6cc1cda2817d293ec51440c890474ed59ef38d46556f18 \ --hash=sha256:fe52bf4641069e7978a14253b036cb9002def1926317e710f2e249f8a8c47742 \ --hash=sha256:ff7baa55f8e7c69851419e50a666015d02a74198716fd45c0125a2112e0a389f -markdown-it-py==4.2.0 \ - --hash=sha256:04a21681d6fbb623de53f6f364d352309d4094dd4194040a10fd51833e418d49 \ - --hash=sha256:9f7ebbcd14fe59494226453aed97c1070d83f8d24b6fc3a3bcf9a38092641c4a -markupsafe==3.0.3 \ - --hash=sha256:0303439a41979d9e74d18ff5e2dd8c43ed6c6001fd40e5bf2e43f7bd9bbc523f \ - --hash=sha256:068f375c472b3e7acbe2d5318dea141359e6900156b5b2ba06a30b169086b91a \ - --hash=sha256:0bf2a864d67e76e5c9a34dc26ec616a66b9888e25e7b9460e1c76d3293bd9dbf \ - --hash=sha256:0db14f5dafddbb6d9208827849fad01f1a2609380add406671a26386cdf15a19 \ - --hash=sha256:0eb9ff8191e8498cca014656ae6b8d61f39da5f95b488805da4bb029cccbfbaf \ - --hash=sha256:0f4b68347f8c5eab4a13419215bdfd7f8c9b19f2b25520968adfad23eb0ce60c \ - --hash=sha256:1085e7fbddd3be5f89cc898938f42c0b3c711fdcb37d75221de2666af647c175 \ - --hash=sha256:116bb52f642a37c115f517494ea5feb03889e04df47eeff5b130b1808ce7c219 \ - --hash=sha256:12c63dfb4a98206f045aa9563db46507995f7ef6d83b2f68eda65c307c6829eb \ - --hash=sha256:133a43e73a802c5562be9bbcd03d090aa5a1fe899db609c29e8c8d815c5f6de6 \ - --hash=sha256:1353ef0c1b138e1907ae78e2f6c63ff67501122006b0f9abad68fda5f4ffc6ab \ - --hash=sha256:15d939a21d546304880945ca1ecb8a039db6b4dc49b2c5a400387cdae6a62e26 \ - --hash=sha256:177b5253b2834fe3678cb4a5f0059808258584c559193998be2601324fdeafb1 \ - --hash=sha256:1872df69a4de6aead3491198eaf13810b565bdbeec3ae2dc8780f14458ec73ce \ - --hash=sha256:1b4b79e8ebf6b55351f0d91fe80f893b4743f104bff22e90697db1590e47a218 \ - --hash=sha256:1b52b4fb9df4eb9ae465f8d0c228a00624de2334f216f178a995ccdcf82c4634 \ - --hash=sha256:1ba88449deb3de88bd40044603fafffb7bc2b055d626a330323a9ed736661695 \ - --hash=sha256:1cc7ea17a6824959616c525620e387f6dd30fec8cb44f649e31712db02123dad \ - --hash=sha256:218551f6df4868a8d527e3062d0fb968682fe92054e89978594c28e642c43a73 \ - --hash=sha256:26a5784ded40c9e318cfc2bdb30fe164bdb8665ded9cd64d500a34fb42067b1c \ - --hash=sha256:2713baf880df847f2bece4230d4d094280f4e67b1e813eec43b4c0e144a34ffe \ - --hash=sha256:2a15a08b17dd94c53a1da0438822d70ebcd13f8c3a95abe3a9ef9f11a94830aa \ - --hash=sha256:2f981d352f04553a7171b8e44369f2af4055f888dfb147d55e42d29e29e74559 \ - --hash=sha256:32001d6a8fc98c8cb5c947787c5d08b0a50663d139f1305bac5885d98d9b40fa \ - --hash=sha256:3524b778fe5cfb3452a09d31e7b5adefeea8c5be1d43c4f810ba09f2ceb29d37 \ - --hash=sha256:3537e01efc9d4dccdf77221fb1cb3b8e1a38d5428920e0657ce299b20324d758 \ - --hash=sha256:35add3b638a5d900e807944a078b51922212fb3dedb01633a8defc4b01a3c85f \ - --hash=sha256:38664109c14ffc9e7437e86b4dceb442b0096dfe3541d7864d9cbe1da4cf36c8 \ - --hash=sha256:3a7e8ae81ae39e62a41ec302f972ba6ae23a5c5396c8e60113e9066ef893da0d \ - --hash=sha256:3b562dd9e9ea93f13d53989d23a7e775fdfd1066c33494ff43f5418bc8c58a5c \ - --hash=sha256:457a69a9577064c05a97c41f4e65148652db078a3a509039e64d3467b9e7ef97 \ - --hash=sha256:4bd4cd07944443f5a265608cc6aab442e4f74dff8088b0dfc8238647b8f6ae9a \ - --hash=sha256:4e885a3d1efa2eadc93c894a21770e4bc67899e3543680313b09f139e149ab19 \ - --hash=sha256:4faffd047e07c38848ce017e8725090413cd80cbc23d86e55c587bf979e579c9 \ - --hash=sha256:509fa21c6deb7a7a273d629cf5ec029bc209d1a51178615ddf718f5918992ab9 \ - --hash=sha256:5678211cb9333a6468fb8d8be0305520aa073f50d17f089b5b4b477ea6e67fdc \ - --hash=sha256:591ae9f2a647529ca990bc681daebdd52c8791ff06c2bfa05b65163e28102ef2 \ - --hash=sha256:5a7d5dc5140555cf21a6fefbdbf8723f06fcd2f63ef108f2854de715e4422cb4 \ - --hash=sha256:69c0b73548bc525c8cb9a251cddf1931d1db4d2258e9599c28c07ef3580ef354 \ - --hash=sha256:6b5420a1d9450023228968e7e6a9ce57f65d148ab56d2313fcd589eee96a7a50 \ - --hash=sha256:722695808f4b6457b320fdc131280796bdceb04ab50fe1795cd540799ebe1698 \ - --hash=sha256:729586769a26dbceff69f7a7dbbf59ab6572b99d94576a5592625d5b411576b9 \ - --hash=sha256:77f0643abe7495da77fb436f50f8dab76dbc6e5fd25d39589a0f1fe6548bfa2b \ - --hash=sha256:795e7751525cae078558e679d646ae45574b47ed6e7771863fcc079a6171a0fc \ - --hash=sha256:7be7b61bb172e1ed687f1754f8e7484f1c8019780f6f6b0786e76bb01c2ae115 \ - --hash=sha256:7c3fb7d25180895632e5d3148dbdc29ea38ccb7fd210aa27acbd1201a1902c6e \ - --hash=sha256:7e68f88e5b8799aa49c85cd116c932a1ac15caaa3f5db09087854d218359e485 \ - --hash=sha256:83891d0e9fb81a825d9a6d61e3f07550ca70a076484292a70fde82c4b807286f \ - --hash=sha256:8485f406a96febb5140bfeca44a73e3ce5116b2501ac54fe953e488fb1d03b12 \ - --hash=sha256:8709b08f4a89aa7586de0aadc8da56180242ee0ada3999749b183aa23df95025 \ - --hash=sha256:8f71bc33915be5186016f675cd83a1e08523649b0e33efdb898db577ef5bb009 \ - --hash=sha256:915c04ba3851909ce68ccc2b8e2cd691618c4dc4c4232fb7982bca3f41fd8c3d \ - --hash=sha256:949b8d66bc381ee8b007cd945914c721d9aba8e27f71959d750a46f7c282b20b \ - --hash=sha256:94c6f0bb423f739146aec64595853541634bde58b2135f27f61c1ffd1cd4d16a \ - --hash=sha256:9a1abfdc021a164803f4d485104931fb8f8c1efd55bc6b748d2f5774e78b62c5 \ - --hash=sha256:9b79b7a16f7fedff2495d684f2b59b0457c3b493778c9eed31111be64d58279f \ - --hash=sha256:a320721ab5a1aba0a233739394eb907f8c8da5c98c9181d1161e77a0c8e36f2d \ - --hash=sha256:a4afe79fb3de0b7097d81da19090f4df4f8d3a2b3adaa8764138aac2e44f3af1 \ - --hash=sha256:ad2cf8aa28b8c020ab2fc8287b0f823d0a7d8630784c31e9ee5edea20f406287 \ - --hash=sha256:b8512a91625c9b3da6f127803b166b629725e68af71f8184ae7e7d54686a56d6 \ - --hash=sha256:bc51efed119bc9cfdf792cdeaa4d67e8f6fcccab66ed4bfdd6bde3e59bfcbb2f \ - --hash=sha256:bdc919ead48f234740ad807933cdf545180bfbe9342c2bb451556db2ed958581 \ - --hash=sha256:bdd37121970bfd8be76c5fb069c7751683bdf373db1ed6c010162b2a130248ed \ - --hash=sha256:be8813b57049a7dc738189df53d69395eba14fb99345e0a5994914a3864c8a4b \ - --hash=sha256:c0c0b3ade1c0b13b936d7970b1d37a57acde9199dc2aecc4c336773e1d86049c \ - --hash=sha256:c47a551199eb8eb2121d4f0f15ae0f923d31350ab9280078d1e5f12b249e0026 \ - --hash=sha256:c4ffb7ebf07cfe8931028e3e4c85f0357459a3f9f9490886198848f4fa002ec8 \ - --hash=sha256:ccfcd093f13f0f0b7fdd0f198b90053bf7b2f02a3927a30e63f3ccc9df56b676 \ - --hash=sha256:d2ee202e79d8ed691ceebae8e0486bd9a2cd4794cec4824e1c99b6f5009502f6 \ - --hash=sha256:d53197da72cc091b024dd97249dfc7794d6a56530370992a5e1a08983ad9230e \ - --hash=sha256:d6dd0be5b5b189d31db7cda48b91d7e0a9795f31430b7f271219ab30f1d3ac9d \ - --hash=sha256:d88b440e37a16e651bda4c7c2b930eb586fd15ca7406cb39e211fcff3bf3017d \ - --hash=sha256:de8a88e63464af587c950061a5e6a67d3632e36df62b986892331d4620a35c01 \ - --hash=sha256:df2449253ef108a379b8b5d6b43f4b1a8e81a061d6537becd5582fba5f9196d7 \ - --hash=sha256:e1c1493fb6e50ab01d20a22826e57520f1284df32f2d8601fdd90b6304601419 \ - --hash=sha256:e1cf1972137e83c5d4c136c43ced9ac51d0e124706ee1c8aa8532c1287fa8795 \ - --hash=sha256:e2103a929dfa2fcaf9bb4e7c091983a49c9ac3b19c9061b6d5427dd7d14d81a1 \ - --hash=sha256:e56b7d45a839a697b5eb268c82a71bd8c7f6c94d6fd50c3d577fa39a9f1409f5 \ - --hash=sha256:e8afc3f2ccfa24215f8cb28dcf43f0113ac3c37c2f0f0806d8c70e4228c5cf4d \ - --hash=sha256:e8fc20152abba6b83724d7ff268c249fa196d8259ff481f3b1476383f8f24e42 \ - --hash=sha256:eaa9599de571d72e2daf60164784109f19978b327a3910d3e9de8c97b5b70cfe \ - --hash=sha256:ec15a59cf5af7be74194f7ab02d0f59a62bdcf1a537677ce67a2537c9b87fcda \ - --hash=sha256:f190daf01f13c72eac4efd5c430a8de82489d9cff23c364c3ea822545032993e \ - --hash=sha256:f34c41761022dd093b4b6896d4810782ffbabe30f2d443ff5f083e0cbbb8c737 \ - --hash=sha256:f3e98bb3798ead92273dc0e5fd0f31ade220f59a266ffd8a4f6065e0a3ce0523 \ - --hash=sha256:f42d0984e947b8adf7dd6dde396e720934d12c506ce84eea8476409563607591 \ - --hash=sha256:f71a396b3bf33ecaa1626c255855702aca4d3d9fea5e051b41ac59a9c1c41edc \ - --hash=sha256:f9e130248f4462aaa8e2552d547f36ddadbeaa573879158d721bbd33dfe4743a \ - --hash=sha256:fed51ac40f757d41b7c48425901843666a6677e3e8eb0abcff09e4ba6e664f50 +markdown-it-py==4.3.0 \ + --hash=sha256:7aa1511a46c39138de78d9eba92ce47e63124d8003fc98b3a351909e04239efa \ + --hash=sha256:91a58fa5b72c71a40cf7177250fd767480d7a2bb3ac426ccfb76fb90305fdaaa +markupsafe==3.0.4 \ + --hash=sha256:007e1ffd9bf65bb6ee96df7b258fc632a4868dd5566037986c64781f35a36e98 \ + --hash=sha256:02fa4acbc6a3fc5c693c34d4dd8c1130b7fe99cc915181b0ddd6f72aeb296002 \ + --hash=sha256:03470d1a8268e692ecf79ecd565593e59d44219377a7ead61f1f1b94c1f7ff6b \ + --hash=sha256:04e7902ba80ee4bac1d50a549606527a1dcf0476cd81403db41099d3b60ec653 \ + --hash=sha256:051417f74bcaaefa316276e0ff723f541616ca51043d070da00249d9bddd3e3c \ + --hash=sha256:05295589e619b9bed252a86b532b8e27350abc372d18ba89b59375325e91ec1e \ + --hash=sha256:06de8ef6331f6e822c28d577dc8bf43fe398800477c49498f38fc38b67ff33fc \ + --hash=sha256:0764a13d34cae40db7bbf3a09b7e9b491bf4603e20b263a7a9d6b8e324975d0a \ + --hash=sha256:077293e425f28ec737dbcad442a71752e28f8ae27cde3d68acd1fb212091cd92 \ + --hash=sha256:0930db9bdc62d22944e10b066448bb65dc9abe9112880c7cab8da54db4284d5f \ + --hash=sha256:0cee7cb0f9a1b6892ea482237d9403b3d1b4603aee057d0ff01f0fac2d019a97 \ + --hash=sha256:0d9c47709875fdb321452056622e930c52afbc07a7d780762fbb8b4d91ce6fa4 \ + --hash=sha256:11935df9bf455ed0c04eb87bcd720f02b1fe5e02128a9430f23aed6f93336fc7 \ + --hash=sha256:12a606a492de952afcb43b59a14aaaaad120e708d3663dd0fdf2d738d427a691 \ + --hash=sha256:14bd2d845d62ab678eaf81da89d7b621b51756c72346745c1a594c09d49207a2 \ + --hash=sha256:15ba9e28640feef770374b116a6f019c21f52404aeabe516aa7f800587b98cfc \ + --hash=sha256:18a801868a884f216e784d7d14db2a4077143ce7610440aee2ce8f734e7cfcde \ + --hash=sha256:1c0df495a977d10460a94941799c72d5b5ab03d3858d949b55b5a66c8f371c99 \ + --hash=sha256:1caa2fa5a6184fb233153b35f654e6687bd555476f6170f29d8ee9be1a8b0af9 \ + --hash=sha256:1e1451fab512d1bcc3dc26988ec1edb0b82c2db909132872cd9356070a6b63df \ + --hash=sha256:1f1f9477e174582b0a1b583d60b66e1f2cf5d3fe12cee985e4aedf44766600e5 \ + --hash=sha256:2628d3a8cb648ecebb3c5d6b0a1052d400e4d8b7ac0fb786be8d285b50040d17 \ + --hash=sha256:26e9867520db70d37f7fb421a7f0d8adb40171011fb84ce869afa1a83370dfa8 \ + --hash=sha256:2a6ef68ae94aed8721934072b27a3b654ea2100b97e4ab864cf1489c90926fbc \ + --hash=sha256:2b2b1e18af909b448bb3cf9e3433366f7a8726271fc214e8b10e0f62a78c724b \ + --hash=sha256:2cb3dd71fc6be918ad4264346a8ed69485f9b7ed7bf35495d8e22807cd6b8bea \ + --hash=sha256:2d1b7d9308288661f56672b1b157d75fc536714d3638487bbea17b6318a78248 \ + --hash=sha256:2dad610540cb2e6272855c178f08ae9a1c7ac258a7fb71660553a5f104b42741 \ + --hash=sha256:2e5a7cd7fdd14fcb1ae5d7d8bf23d24fbd1daefd1fbca2580132e1ea75f098b5 \ + --hash=sha256:2e9ad7dd851bf45fab9f75cbff4cb493fee9979e8d8c7c9c3ee119022518edd6 \ + --hash=sha256:340cbb1957ba99929cbf19a75626d36ba1ae21d1730b287d1cf7f824a20c4fc7 \ + --hash=sha256:34bdde374c5932765d7dc685c4a1d191a3207852d67e8e0a9eb6ea85156181f1 \ + --hash=sha256:353bd63081912ab8cfa6a0c7d185934cdf8426f04c618bba6bc4b394f2069b67 \ + --hash=sha256:387d8cd30e69b3f0a72877b9ae717033396404e19095b17fe89753a981fda44f \ + --hash=sha256:3882fb412298575bae3b9c46868251f15cc69307359f87bb1b382e53d6e5a2c9 \ + --hash=sha256:38fc55594dab834470b6733dead2ee9e3f657fb0608c769dcafa0ba5ab52f45c \ + --hash=sha256:396ec4e65cc889f69786b3b89478b471cee5a3bcf468b9d9bb03e1a30fb291fc \ + --hash=sha256:39dbacefc411633db5b4378b066a9aca70a3d7e2922c9e578d825f844026eeba \ + --hash=sha256:3a93d9616ddecfb393727a0041a562cf0b15a244e20f2bd25efc7949be4c4f17 \ + --hash=sha256:3d23795802fc8bd72534836d64489bbf0f67c088959091bdb22e10735a5107bf \ + --hash=sha256:434139499bb20b502ed3baa1f169e618f924a97e7a777fea1a49446d80106cf6 \ + --hash=sha256:436e3ffc6310d3c41878c601db29098102fe5d8a467c49da4a4125254e0980f2 \ + --hash=sha256:489505b03f692c3f376394e49194fa7a7f9e8558d6e293a7056a0032b0c38163 \ + --hash=sha256:4a540e2d3192792fc84eced57bef37851ccb2b41f73291bb17408eea77bcd278 \ + --hash=sha256:4a7cdc2a420ca01058182da4253329764d4bfa055564d1eced90e6ba1e8b1d3d \ + --hash=sha256:4bced6e2a6dba6a28f7dd3c6ce14df1b2dd495923f16ea484cad03decd463b2b \ + --hash=sha256:4cf3468d5ec187ffffcaca8e61929a37448f215dafc1386a12c750a72fe53634 \ + --hash=sha256:4e2c4809c14559aa7ef426f27fb35afbb38104c349a903bf8f3600456764bb38 \ + --hash=sha256:4ed644d75aa94a2baf7ec3a96eaa160ea58c742eb9d27c6506053c5c40fc84ed \ + --hash=sha256:4f6e0852a0283b1b1fd776eeb7b766a5f440b3e2bd31ab51af3b400585f3965c \ + --hash=sha256:5066b244f576f91afc8ee3ba029a89f99d39c79b1853fe9d39bea9f0afbec148 \ + --hash=sha256:5086f9975abb1ab531ee6afca1761e4b59a19b446f3f6522ed776963228cfe5a \ + --hash=sha256:50b5bedc9ed8a94fc8857a42ef4f84a81ea88f8d4f05dc8705fb23ee6d8dcca7 \ + --hash=sha256:52704c5d36eb6dda8866493decd61111fff86244c9b1ad225ca01b9e91e5970f \ + --hash=sha256:55ffd6ce583d97dc71dc92e930324c8c0d25aea7e3ade6ae54ef77cedb096811 \ + --hash=sha256:569d65055d367e3dcdf30c3f41119467b73d9ee9faf332bdf40402644f5ac08e \ + --hash=sha256:57f9947a7e57a081c1e3e0a2dd0d2dcf290a4531450e6f611e30084c222a7295 \ + --hash=sha256:5989cb26b2e1efc6a42216a9f6b5ee495ce5ace2e5b352a9af489976b32d1ee2 \ + --hash=sha256:5c22873ad1f0532ba40fa1727f3c0fc1bbbaab6d373d4cbe3f0dc74b2e2521c7 \ + --hash=sha256:5e8b3d0b18fd623afa12ecb2ce8d8becef69f9b5440c6330c7972200e0bb84b0 \ + --hash=sha256:61631e08084be9e21a8967ec3139c7616ed7c5e9368e05c86d1b39562c8a57b6 \ + --hash=sha256:64511c54db4e4987aef4c41923235927428729e8174c5dba488429be70a998ed \ + --hash=sha256:6669c1bf34080161ce49c589cc512ef24d4c704ac9d2b2d3667f519c60418378 \ + --hash=sha256:672d207103e6b16ca098611b0f9efad6bc00afd47c03d6ef62186495ca677dc0 \ + --hash=sha256:6768d67d1bce64270e0fdc2e69309d68b9b18ae56ddf6c711d168e9d051c2cac \ + --hash=sha256:6a45c3d514f2436064db00d7fc8778d888f0236ebfed649b53d13a59e69ad51b \ + --hash=sha256:6bd9e1788e15bfcf6a9082de42e30387e7b85d211ab21e57a939bb8cfaaf8d96 \ + --hash=sha256:6d2a9efe686f9de00d0d1ea32a4a5a86d558a2277501bd78d964214eab625e59 \ + --hash=sha256:6da83a088f8ef93b2d483a8232a4dbf4d69d3d8496b568a03c56becac43e1808 \ + --hash=sha256:7018d4af1cd272e847aa5917983ab5e83e4f6579f9dbfecd4a79c0ca80b144c2 \ + --hash=sha256:71f88e749ea29f67f21f3b36433c1dc54c7729ed2a6d9e2da2e0d9e0d7b224eb \ + --hash=sha256:737c9c3981998eba27f11786f84fddcbabc74068b72a4a1f454ea02094b57b65 \ + --hash=sha256:73e77980c7207854f00fc4e71fb1626868d5740ab4012623d55c7a99ad122a72 \ + --hash=sha256:799c39bdf5e2f1292fedd3009f7b3c9e760f10b2420cb9638d56920840ff6db8 \ + --hash=sha256:7a83aa6e4805df46fed18e989d3d16f86ef60cb50bbc8d9ce3a6be89165fbf6e \ + --hash=sha256:7d3391b2188d18737cb2fa147028b1096236eaa7e156446c650a489fa2cadc91 \ + --hash=sha256:7e1636da3d8dfc220b6dd10264db5f2b165e4888c4518594898fbe381049af8a \ + --hash=sha256:805c8b84534fa10891890f0e4be39f3a99e94615d93e8836bf9fa1fdca2feeb2 \ + --hash=sha256:811d02d5122171c1941357efd8f9bf4ffe907b7f0a1a4e729a880e4be3f46e3e \ + --hash=sha256:8138eb83940ec7299024d92d4dee45f601b9e6c5ffde9d25f4e35e326203c707 \ + --hash=sha256:83b3944fea42a8400edf92fd1770fb8d0d4f7de651353bd2d8525a92dba69a21 \ + --hash=sha256:849dd2bb0e5e4ab2b71c7191726a4a8d5aa8a610daa584728cbee0b710ddc4ef \ + --hash=sha256:8698d70a8081ee8c090dbb394768b5789a1da8b131b5499f89d071dd3cfaf6be \ + --hash=sha256:8781a792a070cf2bd1b86d3aa943894115faaba6e88122a7bf32d62072742453 \ + --hash=sha256:88d59b473bfb03259722600839af9bbd7fa13a2eb514beefeedb95997882f69a \ + --hash=sha256:8909c2f1c6dd65e054ac4b573a91c8384d1492281e55d82d159d653f7a13adf6 \ + --hash=sha256:8965520ac587c94a4ac48b729be3d8b8de00af39699b17585dfb599babe77977 \ + --hash=sha256:8b5d563170ff8ba3181caa967c99a3c804d1dedb702c7cb93a6a7c32247da978 \ + --hash=sha256:8e124f974786f831d6043728e38296969d3579db8896fe004682f5758e613581 \ + --hash=sha256:8f0fac8b13d14bb06c68195f849371924ae53dd7b1c00fed24650f704383b692 \ + --hash=sha256:9240187afb63d2f9ddc3e032c670356fe941f6e20662ea168a5dc3f1f317e1b3 \ + --hash=sha256:925f929d6b59a8b3f8b8c6ac363cd0af7eecc81efb3071770b3c6717c450a369 \ + --hash=sha256:9348cbb300d224fe3b89793262cb093504d4ae927004468463f745188a193e4a \ + --hash=sha256:9388003072b95f2f1e3fd908604194d653ba21330d811961a78b7da1a77e9e36 \ + --hash=sha256:9438a2648b2195980cb2dd8e53ed7b8df91319e2d0b70ae61a9e1d1bc8d3bec9 \ + --hash=sha256:94e4c421742086aeee4c32a506eec8859d7634aad943f7e6aacf70f813478768 \ + --hash=sha256:94f5407f7bc64fa6463906b896f9904beeeb7dd8dc116ee8e9056c8714ff9916 \ + --hash=sha256:971a3bbb75d97ae4e2e8f7d4834236f86f85f0c85e04ab2e191db1123b04f80b \ + --hash=sha256:9e227f3dbe6bde7491cf0a9965d00b88c6b1a4a95d11480ddf88bb96d397c19f \ + --hash=sha256:9e25feb9e330b63edb0278a0acdf85e50d0cb0fbf49c3084abbe4e24ae195346 \ + --hash=sha256:9f098115c247e11d138ab83a28fa0323c77015007ea2df73ba5fd714dfefd67c \ + --hash=sha256:a18f38cafc329bac5e3c2b96c765b4c96d3d103421ed22ab7988c1e3fce27464 \ + --hash=sha256:a4bbd2d87dd233b9fc5812160c3d0ffbe42edc22a26ce0469f58479ede633fe9 \ + --hash=sha256:a5fcffb37e602b0b3c1638a97746b9b96125caa9bcf6fa41d337a9261de231ee \ + --hash=sha256:a8e9f292fcda89b324f2f5c91d13f1424a153e40fc2756f38ee23b15835ff300 \ + --hash=sha256:a9f54054101545a9a9cccefddf54316aa6e4491611fcbef9e91b3b6bebec04f6 \ + --hash=sha256:aa2c838cc024642cc04c6854232f32b43e5e22833dd11119c1766c7873b8370d \ + --hash=sha256:ac0c7c9f1609b0c4c114feb1d7a3409564c7fb77e360bed9e97e5d25dfeaf868 \ + --hash=sha256:add96447a86d205ab616665d53b2950ee81083757f56e6ea833c8b2917646b46 \ + --hash=sha256:ae9dcb8fbe244cb82f8a6458b455b927a03685e383d9bacf1ea5ce180b96dc97 \ + --hash=sha256:b4a635a0487774f841cb1fb62e907e7195cc95bc761e053184b8acc3ceb20733 \ + --hash=sha256:b4d12837e0203bbace818ff4a7461afdcd78bcd782351cea148139180d7bcffe \ + --hash=sha256:b61687d0828e72bf5cda24a2690188f37170bd31c9359ac97e4e66569f120a16 \ + --hash=sha256:b807e598953730f82e4eae3bd30f6a122cf6b31c398c6b504c0e04c13c170429 \ + --hash=sha256:b8cd1f918b26fd7b1832ece557cc18f2d8747309ff8b3f0ef9d4250c5ad67a39 \ + --hash=sha256:b91cc9d336957239ff200f30097e6fea2dc6d6fb3c81e853eaa09eac904fd894 \ + --hash=sha256:bd3ce56ae2cbae3ba82b683bc425cd7e48d2ed8b10f3e818186b6f5646d9271c \ + --hash=sha256:be6cb0c799abb0e2ba3e618e6d28ddddf7e485f6c2ce938dfa237daf3905072c \ + --hash=sha256:befb4158af32106b9a93db8d6d1d1cbbd418c0d5aca0cabb7b1780abf0c89169 \ + --hash=sha256:bf053da3c97a4bc5ecfbb218cdd2983febd91c617be8367d139882aa11e490aa \ + --hash=sha256:c02e8f18bdedba082cef725942ac823b9b60656db07f7e265cb31618dfd00d77 \ + --hash=sha256:c1bc67752d5f21013cfe430df4062441714eab79f65a6a05e01505957e9c35fe \ + --hash=sha256:c61750fadcd119d0825bcb7d7d675dd264dcc89cc05292aab5be68ebdbb374ad \ + --hash=sha256:c90d5b3d4e944e065a301d741b3c1d784f6bd1f503aa68b4967e32b2ba313d85 \ + --hash=sha256:c9a7f43c0b202b334cc9184af09bb8f21d3a209e038efaf106936fb69e6b026e \ + --hash=sha256:cb96e6e088d6cf71c1ea977510948320234824cf226e32f6f6e044f7a9c82b34 \ + --hash=sha256:cf63c214fe879a65e69a386f915e36104fc84254ab141240f8854602d8e0be2a \ + --hash=sha256:d1aca03ede943eb80ab3d63bb082c84b7aab85ea83bd0fd0c200260945fb49d9 \ + --hash=sha256:d2e56fd3b00222722abfb3f5f0759ddbae4b90811b5ad4343c64030ad1bde70c \ + --hash=sha256:d5f93ebbeb8032d47e349328ec8662d973d9b05a70b3c35df1f91fe419b84749 \ + --hash=sha256:d882a373d8093c2941e01291b7ced96e9cbe4781da9a7751ca7e6c70385e5214 \ + --hash=sha256:d920abdfa61279ba1a2ef9484aab07bf03331f8c08a10120fa332353d06e6932 \ + --hash=sha256:da2af0d7aebfc2074080d72efa6ab8317c62481ef1f896f65d9999c1c01f4494 \ + --hash=sha256:dd8ea6ebee7aedbf7c749fa80521d9ccf1ba473e0d1e14805caafbaad281c889 \ + --hash=sha256:de8b364c423ef0a4bad9069657d617f9a5d2b2062457a89b1fa16ee199c399c1 \ + --hash=sha256:df1ae86ff54725a01fa1a0510b914ca53a161b7050be74f6204e24aded5971d0 \ + --hash=sha256:dff05cb7016dff1e9fd68f4122c127b65dfc59de5306cfb7ad92f956f230bee2 \ + --hash=sha256:e1a622f13970d81f95d0c72f9dc090dce9085fccfa4c9f2174377ee32bd15786 \ + --hash=sha256:e49fb0d1ce92cfa0cb198cc5b1b11cdf9d0638658e2a2db2687e39db7c87fc78 \ + --hash=sha256:e5c802729725bd07e2bc3ab7b76dc7e0bbfc53129d8f1eb1c002c24cf774717e \ + --hash=sha256:e841068dc0be4cb6dfb5c890eb88cbdcff2f4a332393c7ec94e8e618bd32c1a8 \ + --hash=sha256:e916035e3e9930cbdfdd10abf48861340221857f45509565898e012263f7b289 \ + --hash=sha256:eba154571c16e032112afac0dc2dfe9e63c2ceb7aedd07bb7eecf2ce26d4dd4c \ + --hash=sha256:f03460ff076f70ab595bb45a0205ccea1971443575b6920c52e755dec2b3fbfe \ + --hash=sha256:f0ec3b750b59375eab5b0fb2b9254810c00a3375be6d789899f1055a1d556237 \ + --hash=sha256:f291bcf42ae98eb5107edb162c3c998b4a89648fd8e99ed4cbd12705292788cd \ + --hash=sha256:f61efe1d2fe0de16158a5fe1d1cf3c14bdb6aecd54d8938fd26512c525c1f624 \ + --hash=sha256:f68edfc67aabac33708941f26f22a7b8e9f81429bc0cf249fcf7d66b23af8d19 \ + --hash=sha256:fa95848c929b6a75f6848d3c9793e59db365ee436776e57db835cdbfa79ba977 \ + --hash=sha256:fd9f8797427910198f95bced71ddfed61130d7e349213bfb8466c9c99e2c46a8 \ + --hash=sha256:fdb4ca07ab75ffadab4a8b135ad59cdbb3156b99310f3d565370da74a15d6bd3 mdurl==0.1.2 \ --hash=sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8 \ --hash=sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba @@ -385,9 +447,9 @@ mypy==2.4.1 \ --hash=sha256:ef8d5be90032261197ac388d945d8ff4f476c95880798a1911760af64ddfe71f \ --hash=sha256:f44dd4c5ab22df21206dd926c98381ebdbf5bfd696df37dd38ded2d23143fcb6 \ --hash=sha256:f9118a3f50de264b614861bb11814833a742138ac3c8e2e49a860b6977fb2704 -mypy-extensions==1.1.0 \ - --hash=sha256:1be4cccdb0f2482337c4743e60421de3a356cd97508abadd57d47403e94f5505 \ - --hash=sha256:52e68efc3284861e772bbcd66823fde5ae21fd2fdb51c62a211403730b916558 +mypy-extensions==1.2.0 \ + --hash=sha256:993e7a20aa5671eb41a7132cf555af30062da99729601601b9a8382b11cae768 \ + --hash=sha256:c6e275a07f1c2fc096b62940452d0eaa3f3af7de45d704787866240a7c6d5a51 openapi-python-client==0.30.0 \ --hash=sha256:c0524369c78e4bea2f36dcde8594609e667eb4fab16e8f70d7dc85f2e8c6d767 \ --hash=sha256:c9383be7b19d65ba20537d8a1325a162ba737e835034f9e52416fb43bc64e561 @@ -397,133 +459,153 @@ packaging==26.3 \ pathspec==1.1.1 \ --hash=sha256:17db5ecd524104a120e173814c90367a96a98d07c45b2e10c2f3919fff91bf5a \ --hash=sha256:a00ce642f577bf7f473932318056212bc4f8bfdf53128c78bbd5af0b9b20b189 -pluggy==1.6.0 \ - --hash=sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3 \ - --hash=sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746 -pydantic==2.13.5 \ - --hash=sha256:346a034f080da3755d8e9cb5e00e8b07de1d39e4f6e2c87d8ab7cafa0b269a73 \ - --hash=sha256:51a9c5f7b2f8e636f04c6cada605d9b6a3bf1348fdf945a3d8869b19bba0ee08 -pydantic-core==2.46.5 \ - --hash=sha256:013d6f3483d81e02e7c328831808f336c8596ee33b4bd4026b9ffb1e960b8942 \ - --hash=sha256:03b9666e41e35d8909852ba191a0607520f81b74eaf12ccf8737005dbb313821 \ - --hash=sha256:045ab3b6d308439e32b81cc173bba5b9018bc6ed896afd0c65b3b009b1699af5 \ - --hash=sha256:0bddb4020d8f04175865ccd17eff3040874fc11fb593f424edb452653b4b947c \ - --hash=sha256:0cdbada856a1c69a7624a64d3d9aefe79300bd6ef827b43a4f265010b9b55184 \ - --hash=sha256:0fc5be0abd4a407e200d844b404e33639a554e7bd0d448e7b9ae181be4789ac2 \ - --hash=sha256:10416c15b8839ecc4ef4d0885da76da6fd0f67333a0eb8aff6d93c4b8f2910fc \ - --hash=sha256:15f4a94963c95accac15b7b657bb177d3ad82bb90b0d0526d9a9b85079925db5 \ - --hash=sha256:18a09e1e1011b462f2e32774f25859ef1223d5c2b0546a633cf56654710721e0 \ - --hash=sha256:193375f3548919d3f0b60936ca113ada3e38f264f91b9b8e0508efaad57be931 \ - --hash=sha256:1a353f84de772f423b5ffb11d7ae352fbbef0f446f3c0b0af0f8236d7233606e \ - --hash=sha256:1e449def1945a462c464331254e5a44fca7c3b4f9aedf59ec2f50f8066dd8e25 \ - --hash=sha256:1e5aad1220a1192c42341c8fd4a8686657e73ab2a920c970bdc4de334fe3193d \ - --hash=sha256:200aa3dc9f8d54f0754f43247c0bad0999fdcfbfd2488384dd44f37279271fe6 \ - --hash=sha256:2471fd51c61c610e1dcf7de44d7299283661654d11264ab4802b303368d69c47 \ - --hash=sha256:24922243639cbdac66c75fcb6fd6495a9cb52b213d62f9a0d16f0310b1ff8038 \ - --hash=sha256:28a6a556cd3b6066bea827857f9d9cce027c96f776e512f544a581f9e42161f8 \ - --hash=sha256:2bc9419666990c06d7397831f2126a1ecc3594aaa3ff7de5bf2d066802f4e07b \ - --hash=sha256:2cbd9a5eff05e51c447c34dfa4632145b26b09120cf04bd0c871e44c1a5e1c9a \ - --hash=sha256:2d330aaba8621b1edcec8ae2c4050f63b84ccf6d98723a8f212e9684713abf0e \ - --hash=sha256:2d5d76654becf5efd62c9e51c3756c67b49498b0c9a40884934c40807adbd074 \ - --hash=sha256:337639ba62a11acde6ef3aeb08c8ea755f8ef1fe5e513356c0f36a2b0d7568b0 \ - --hash=sha256:347ec774390c87326a2e4929d58d3f7e8763a104d5d35f4cd595a4c952366433 \ - --hash=sha256:356c8368cbc321050b169595683a2e1d63413b1e0e2868b330af9fc14c616d3f \ - --hash=sha256:37ae34309d7bd8c0d61ab839668058f2a7962ea1fc51d105d2db228fe0618034 \ - --hash=sha256:37ea7b83c935e5b0d68c9449b82651accf78a10828b2c02b2f2d9e9496446c21 \ - --hash=sha256:3a3e26b6a8274211bddee2d0e4d0d42778f17a34510f49d2ec44b58abfc41736 \ - --hash=sha256:3aa166e99c4f2985407fb8714aebede877ecb5455cf321b606adca926d30d5a0 \ - --hash=sha256:3d2652072b2d774947ba5cf78a9e59644ac62ee572daf6dd2e1dfe905e15b2b7 \ - --hash=sha256:40375c2d05acec10323e45dfe2077ac44bc74659008614af5069034e2cfc781c \ - --hash=sha256:413a717a410d0c817ef5b786a059415550b3794e1d0c2abffd9efb93a3d9f7b4 \ - --hash=sha256:46c25dda9d092a06c08db76ffe0a197107904d0dfac653f7d5306bbcd6d6119c \ - --hash=sha256:49776eab08766a08dfff7012f8b422dcd7e25e43b316eedf0477c24fcfa84b7c \ - --hash=sha256:4d44cf99ddebf875f9b68cc267aa684c99b7b44fe63ee1cac4ec163807290069 \ - --hash=sha256:4dedce55295becb61921e386b99d4f2706045306e7fa52249a33004c837379fb \ - --hash=sha256:4f8507560a9284e1370bb048ed4282012fbef4e8d109875b95e884d228552061 \ - --hash=sha256:4fdc8b93a41521988916eeaa271173fcca7fa0803d62f87675aac8dcec1c8e29 \ - --hash=sha256:5086029a57366b8cf81b130a43908738095c270c21a8d7f0e8bdfdb89718e2f3 \ - --hash=sha256:52e24eacdb536cade636aa90fb851835222becff8484b7001fdc78cb0290f2aa \ - --hash=sha256:53feb344243bb9510a9dec7bf3cf1b64d88a98af5dc7872a5160465f8b198c8e \ - --hash=sha256:545f26c504b27c3758439a5e6d9349931f0a04f855668d5fe323c89e82300a38 \ - --hash=sha256:54d510bac3ee52247af28ed4bb18a1e799f040ac60fd2bf5ccd4c92f1fbe786f \ - --hash=sha256:5cb482e9e84c851f4e623fe4acc1ced89168cf1fe18f7089db4548c8f5bbb65b \ - --hash=sha256:5e81740c09e310f5aa5cbd3e434a01c154d4bef93241c7877b39f211d2b78ba8 \ - --hash=sha256:5ee239d575f80b08eca11f6e20f90c4c695de7825c67eefe6091fbf20dda648e \ - --hash=sha256:5f194189415698233dd1114a093a9b56e61e2c57e11b469be3b0506f46f0771c \ - --hash=sha256:5f93c5fe914d75fbec9a49209b00da5f08e9e467d69da2b1510c81940cfd10be \ - --hash=sha256:657b40d6240c0a7b6a64b30f22d1e3aa631c7e846c621b0c0f6d1d75e2e15ea6 \ - --hash=sha256:6d30e1a4f138b8951063e9a394752a9179b51da288ffa507b1e659222f4c1793 \ - --hash=sha256:6f7b393a8b3da82f5c1fc0751e6d01ac6c55b93c18226a60bdfba4a724efafd1 \ - --hash=sha256:701b2e04b560eeb4bddf7a25ab8ca476176e34fdbd9a0e18196f0d12d4685f0b \ - --hash=sha256:771cf63ae0b1b50dd22e5f3e3549fab5f3f4ff1635d352a9e1a97fe01c7b2e64 \ - --hash=sha256:79bdfa52f843137045b2d081cc05c120ba6665d29b7559c2c47690906f39279f \ - --hash=sha256:7ac031912d54f3d83ef3b3eb98dfabc1608802e2202263d25957eeed40b94761 \ - --hash=sha256:7b0fc826b16c55e561e5d2a0c5c77b051ba1d92808118c4e4b5390f5e0cf191d \ - --hash=sha256:7c6be839a5a8312626b32029a415644a0846b420bc8b52b95b28cd92da162168 \ - --hash=sha256:816ff0a6550ffc06c098ccd2e0698600f9aa7da192a79eaa6f9af504a35db869 \ - --hash=sha256:82a36973cf8a2ef5406f4fe2edbf8ed0c99629535d959e0b100c76a32535a111 \ - --hash=sha256:837b396ca3d7b74091ca623f6cbd8351bd42d670a79c2683e79fb089f06a2de5 \ - --hash=sha256:850a08d167dde16db8702c274f320c7be9d7da6f6dff2b58b18f9e815bd94f5b \ - --hash=sha256:8816f3d218beb4b787de5c9759c259b8fa61f9dec42dc7811f320a33771778b7 \ - --hash=sha256:892a881d5f68c2b9ea304b7a6c2c60d9343df578a311b0f86b94bc8f1ffe8129 \ - --hash=sha256:895395f8918627b04efb1ad2a4cf605387143300ba03304cd1dfa6d03f5e095e \ - --hash=sha256:8b10e3e8fd7ddc2bd915848a2768e44c15b22936f1cc54c462ad1164deb02655 \ - --hash=sha256:8e24d8f05fa2d28513d94e877e9c75ad66175376209b3977f916e240e623193c \ - --hash=sha256:8feeac04b5794e513e710af2f9c87d49f31a6dc47967bb264a1fed61a8989bec \ - --hash=sha256:9432f3598db432cb51c5b37fdbf29a60fcccc79e30d37a05022776a6bc4ab689 \ - --hash=sha256:976e1128455aa595ea04c79ccfedff1aaeab96ee013fcc916bed120c4f0ad94f \ - --hash=sha256:978e7b97d4824b5be09c69fb70507cbde3b0323fc147332ca40a94d9a6a0ebbf \ - --hash=sha256:97bf8de4d541598c94a59344eeb988a94c08ff76b5723c41f6567ec18c7892ea \ - --hash=sha256:97cf3eb53a8cccacf9d46686a0926186c9bfb5574f2ed66d3639d5fe117cd3a9 \ - --hash=sha256:9b68938dd5b0c783d88ff8e2dcc69451b5eb936fe212d516b21b9d5567f6d464 \ - --hash=sha256:9c4b71f10dd532fb7a5cbc8f58707779e64f03a258c2bf8bfbaecfcd9970b519 \ - --hash=sha256:9f47b8a949e60f027f0aa0a6f6c7b7e9c55cbf4380d10b344e282fa4e7ab1e1b \ - --hash=sha256:a1dee1b804ff4d11c663636cf15d2ea47e9f79cd56c033fb1cbf08924842a48f \ - --hash=sha256:a2468d93d181667a7abd66e1b64bb9f76f361b0fef8faddf687456453576f5ee \ - --hash=sha256:a2a5e1d0ff29adddc9f6d6821a66302e4493f8ca898b715b6b1182c2c201ea0a \ - --hash=sha256:a39ac25a9a2fa4072efdb429833c4a4c8009a51ff9eea3eeae131713cd27991e \ - --hash=sha256:a445486499897b88a7d6c310c88ed64dd37b1b59bfd7ae9107490bbb362f47d6 \ - --hash=sha256:a91c17edf6eea2402cb5457b4c89e99bc5ed1004aa34c4adf1d4258c1a5c22c2 \ - --hash=sha256:ab4b66edffb32d9e951efb3814bd104b8367a7501b81b955cacb5726d897389f \ - --hash=sha256:aca6c767f552b21b10f774aeac128e828eafb796adfa1b666a18bf6321453c3a \ - --hash=sha256:acf8a67ba51f4ca9ddbd0e6b3000a65ac51ab734661778b3e7ba64d99a710f2f \ - --hash=sha256:b10ec717381bdbfafef34607824db4c91de69ff085e4fca3b2af91b4fa17e68a \ - --hash=sha256:b49924c73a235e969511bf2aabdff3beebf9820931f646c80274d5d780010c47 \ - --hash=sha256:b6acfb46a814762367fb7ba0828b0a17d441b92ce249a0e007474c9072662dda \ - --hash=sha256:b7ca9034437b6022f941f4857459562ee00a560b97e7cce8a0ec5a74fc6766e0 \ - --hash=sha256:b98134087d9de723658d17a42c7d0da8d6e2ef08015dee7dc93889047315f5e4 \ - --hash=sha256:b9fe6fb92520e3fd61f2e49000b6911b188824f089b75973ea06d6267f0b476d \ - --hash=sha256:bce57638e08ac148e5778cce7feb968307a727d66f8e2274a543d0cf0c9ad6a3 \ - --hash=sha256:c14ad3bdc85ee7f318742c457ca3968a92126d144b15721c759033bfb06296c2 \ - --hash=sha256:c1c43ad4339643d70ebb8124e1305a7dab423001eff58bb41a0f731adbc98355 \ - --hash=sha256:c3471e5c4a949c26ec00a77f01df59096aa9495877de76fd60a980f8ee6be461 \ - --hash=sha256:c583b927a8838dab890706a6fa7573fbb8b70e24000ef9f7238e2d6f6435a5ed \ - --hash=sha256:c76fe65e607be28c7fd4d56fc3c42b1583aa058ce3408b7ad0fd540171d31f9f \ - --hash=sha256:c7ea57fc63aa7da93a1bd2d644e6577befae10c52c4e36377635eea1056a74f5 \ - --hash=sha256:cd5214352ae68f3b5e9af7768bdc5253695ee069675db3480518420b3be881f2 \ - --hash=sha256:cdbb78909f52b981d3b2d56b97328d71eb0b974c36bd77c920123a7ebb192829 \ - --hash=sha256:cdc8b74ecc48c0cb1e9607a05ec4e9e88db60a19ffcc9a1d5f9088ede40c8dc0 \ - --hash=sha256:d0a24b40877af2de4950252be9d21eaf7fb07660f3c2cae1f56c6b599ada5266 \ - --hash=sha256:d22a945598fb91236b4dd793a6e42e4f3dd7740bb5aace5ebd7d4c08d13bb575 \ - --hash=sha256:d2f9fc07a8042a8f95925b35c4f04f469707c981fc33245b6ca187cf5d2dd290 \ - --hash=sha256:d625a186a65201c23a9e3b8ed9c47e90a026e03256608cc91851c6709096844f \ - --hash=sha256:d925f3d9afd05a8c0fb3a1031463a8d59ebe5e2afad297e29c78be19e13b4e62 \ - --hash=sha256:e64e88d5585bea9ce95861079de72006c7fa6d3df4e3a3b65ba31eb979c15c9f \ - --hash=sha256:e652ab17569c94bff5475520f907b7148b8c24036a8ebbe5cf7cf7493d28579a \ - --hash=sha256:e7b891faeedeafba41b2983e5001a81b6a915b69544c7e7570d1989ce1c36ac7 \ - --hash=sha256:e80675d75ae2cd14372cb65cad5400d9347a3d3f6c13000183f22dfd027283ed \ - --hash=sha256:e9c134bb666dd54b778b9fc0d2b50cbb7f979b9e3716f26a88c9ab3b6fc1dd0f \ - --hash=sha256:eb7d8d0e5886a89a55d2eef490e272fa965a9d57c6b29a5b5088a7997ec2cad1 \ - --hash=sha256:ecb42011e12ee19cafbc312887cbf3546959fe02fbad44f272d4be5baa997615 \ - --hash=sha256:ef3fbbf161dc9351a2fe0422e51b129f9e97e42385bd0320b309c15f7d287dd8 \ - --hash=sha256:efd62a42486f1bda5d24cb4f63d15a3c7768375fe83d36f9417b4ad7a2fb20b3 \ - --hash=sha256:f077d0b97ab11fa7dcc633fca53515f290bca8a8a633e966d5b6d1879d9ed01a \ - --hash=sha256:f332f0e72a5a0400141f830744e141bf9f97917878dbe968669e8a7fefea78ff \ - --hash=sha256:f7b0ec93a2893de856652154d73b7ba622f26fa97726487dcac373de5f4c6084 \ - --hash=sha256:fa10ef4112775900e7a0661068635eb67b2ab824fbde764de6e0e21982a93db0 \ - --hash=sha256:fc5d783bd4a2387e97b8a2d5ec781cfb92b3d893bf82370548e99db5915935d3 \ - --hash=sha256:fc8515076c11f3cfdf4fb142dcca0fe384b1230a3b5415458ac84f3e0903ec13 \ - --hash=sha256:ff218293c9c806138dca139765e3b067621be52bcd93cdc14c7711be7ddc90a9 +pluggy==1.7.0 \ + --hash=sha256:7dd7b0d8832ba3cb632c306926ded123429211b83641b35dc5c41ad2d34f9bec \ + --hash=sha256:d1eaa46ebb595891b860ab086b4d09c8588af65ebd4361b8e8f4bb8920b90ba8 +pydantic==2.14.3 \ + --hash=sha256:1054f237f4d4733e5a30e1e2333bd33a2004ab9ab1510bd053a9a31bb48e232d \ + --hash=sha256:3f7b347782ab7e4cf4c798496ae3a82787d9f21ec12676a9c564355eeef8daa8 +pydantic-core==2.50.4 \ + --hash=sha256:0001d6920e3a5d92758cda460d6dc9f918a78ad6d5d092f1c8b5395e6b775356 \ + --hash=sha256:0574866e05f6adeecc520d87e87dd06210c0a51706341f6ef8421572f5a64444 \ + --hash=sha256:09450778e3ab58d3f565899fcfbf6c82926e31af29e28e799d1d50941316e0cb \ + --hash=sha256:0af56dbf8822ba9f4efcbbfdc15478f8b6fb08f1609860cb50aa2cc8476b3c34 \ + --hash=sha256:0b059a7968b1911be5a2d9a8234827ab0bef9d1e465d4b42da525894143550e8 \ + --hash=sha256:0ec20aca2b067369913716847f7dfe5f4dddf16a46965b7a70bbad5defaaba86 \ + --hash=sha256:0f87ae9db5ba8d8de40dcb93982cf8dd544e6552a80d3345af51941cc2146b80 \ + --hash=sha256:1239daaf063e62213ca1f34d96663900bd7510c42a786e843fd328af70e46445 \ + --hash=sha256:13b6dd62b5279f5b9d72f3bf918a35443ee8bd549241d9dc52d79a2c3b6d7016 \ + --hash=sha256:15bece43a02ad543c621c8305e67dedb5f27d378c5ba741e5a2c36523f8ef37f \ + --hash=sha256:16902a147b3da4840612164a5e67947104d63e978f7a57c395877a5e26690b9c \ + --hash=sha256:1afefe44ec042fbabfb4483ea258c04cf75ff4ff328d754f09b321fdaa232aca \ + --hash=sha256:1de7be9a66fc8536770481ab64a05aae5067c725f2b29a09543af00e6a417b97 \ + --hash=sha256:1e20cbde2b6deb33a51d08cd168454dd9044ec7d4474056f4d98d63f51578783 \ + --hash=sha256:2039e323acee9abfec1fb5f661776e8965fe5928f3b7f8431900a774cba5c317 \ + --hash=sha256:219114f8dcdcbe4720d82ef016b1287ce5a0a67d7c69ca61524eb72e82aac344 \ + --hash=sha256:22e874666bdbd96d6bf629d32cd8ab376fedf1fd62585b52a42b9fa9fa6c20b6 \ + --hash=sha256:23a9ba564b2db709ff16eca990992ba95a19069972b34bff87c81d4b473cd755 \ + --hash=sha256:25e7e1080f9f7ce7cd9d114b31470ce912771bd02f38c824721d3c35d312abff \ + --hash=sha256:26cb012c4b8ca9f847bd0ac15978bd3d0f55b050bfbe6c47355edfc7e945029b \ + --hash=sha256:29358a8ca74e7d81158d14e2b10c904bd18773293ae3788716c0626fe0342347 \ + --hash=sha256:2980a701be88f9128a7470189fa3bcda5387f76c298a6f8e000fc29eb2a6f4e7 \ + --hash=sha256:2a60ec2a57ac3ef3767e526e9bf706ec75aa3d79c4ea134d9d4fcf7c62a297a7 \ + --hash=sha256:2f42584e5785385f681163a42506cab0d51295e17599a648396c52a7046c1372 \ + --hash=sha256:2f5cc5bcb94063fbbdfd285a2b302da34af07491337c10bb35de1d5220fa1583 \ + --hash=sha256:2f6767122b37c780bb756a720a4eef2bc6a050a0a1143428834b3cbc89448bd2 \ + --hash=sha256:300753f71c73302e218124baf995f00058e085cd01869bd9610bcbd0bd4500c1 \ + --hash=sha256:30d4dc35bc0eea52202a90b3820445ee0072c820241bfa710a623a078c9b267b \ + --hash=sha256:32a991aebd165f227b7c7c60bb9d66c2c7de9c24308552da264c9938fde0f8d6 \ + --hash=sha256:32d6dda86383645ec428ea64dfc277036f5cbc60a72238eab28b91a3fdb9a113 \ + --hash=sha256:33b21f69540a12c2053cd1d95766d8bd9667a3897f7c712a642de8aa37eb0865 \ + --hash=sha256:39f489ce31272073e6e146f6781690f9c1ee8c126836e6403361ef91154d89fe \ + --hash=sha256:3a48a5254d15a0ad050318bfc7a9566d4ec740118187e8f303e47a6840287eb7 \ + --hash=sha256:3b8ee2589a082739c522c1fe4be227412fcf108b903abb6672ae2f5570558882 \ + --hash=sha256:3de6c2a4df2af0ac9ab4dc1488746fe8b1a90e27955d870d9edda3187d20092b \ + --hash=sha256:3e0b395648c6cb871bceb2906907f255dc876ec425f2d5b024e129985cea8519 \ + --hash=sha256:3e547ceec1da7382f01f9e13963023e53367a71802c88778b21b9645a077cbdf \ + --hash=sha256:41b2cd8b29dbb5a4c9828a70f50d1abfc92011115c813213d3a91205c6f731b3 \ + --hash=sha256:41f4f8ae714e4fea1d635880f8a1af715ecf080eed4d13c5b04a0f3210f9c61a \ + --hash=sha256:474f7e598c7902165662a5d5160d3fce31037890a2975a9871ebf7c05862300b \ + --hash=sha256:477af785d1846e4e96bf56983b92ea7553aaeccdeb8acdaa55c7cee9eda0ae32 \ + --hash=sha256:49eb1241a969a5994db6880c18c012b6cbe2340343d8f529721571806583e500 \ + --hash=sha256:4c29b8f2d6417069bb1f257e6b9113f5d64dc2f554cc200ea90b4fe2c5cdb733 \ + --hash=sha256:4eb15be588407148ef5937dc8d9256a71f6b115e6cddadb7aa20b6ee384680dc \ + --hash=sha256:4eda7e3fdef382b7d4492745988a5baaf6953923a337f8b9dde5f76fa8afde20 \ + --hash=sha256:523466eba8ee10f7480f3c2057563145978011c583130d2cc01fb1e7af808e25 \ + --hash=sha256:57fa0a9490785139f1a4e4f43891830d55dfe4408845c0c9cb5eff4aeaf75f69 \ + --hash=sha256:5b26e5f1793b96cdc60242bf38da86ff24a27a708aa396214cac9b534bf571c7 \ + --hash=sha256:5bc1811ef2b4d4ba63e8e452f6e332b6374bd1d2cbbfdf66826c8cb1f71dd10d \ + --hash=sha256:5c074454dc6d4f6f4ba6561a56bf33a14db7651d882a5a5321ba3ae8868e082d \ + --hash=sha256:5c1013647be741647895c102831dcf79c34209662dbb683df9efb864417ed7d5 \ + --hash=sha256:601fce6cea9ddeaa85329e12e7f351def38d233075f42a3012b9c48071b02941 \ + --hash=sha256:6118e5a5550e36582e19bac1a403711a748f9f18251b054c326d3db02aaa7a18 \ + --hash=sha256:629eae995185540406e3635df5d5cf1d44f19ea240840b835d3f44541ff694d8 \ + --hash=sha256:6348ad12fa741bcc9c2f173e99fbf27cbc038826d8c31a4a7d836eca27878ba2 \ + --hash=sha256:65376dbe1ab4dbc768ca2b72b7c13993562c035f5925fd3bc7ff9c8c585c515d \ + --hash=sha256:6619d49a89a15cd04334f76fec530c155923bfc60da74ff5d815a52629e1aa6c \ + --hash=sha256:664e74848c2f5fc27db8505fe24e1ecd3ac669412913bf73d176916f86cc08e2 \ + --hash=sha256:67f7cc397e1d5556a801d1cba74de0d27d827eb242e6c036c0ca273c745414f1 \ + --hash=sha256:696613a0c0e7b2b35356e389ba4195ce20cfe7a2fc2e992c87d974d973eabec7 \ + --hash=sha256:6c5687b59b6ba0f663c4f2f15470f68507d6b45ccd3a19ee6d224f95cbee70d8 \ + --hash=sha256:6c7d7b0b596319e9ce79ef96ce57a14054a2eac629c0588a0539187a218be799 \ + --hash=sha256:70dbc9f83c41f37a4faa62dae5203853847223a891da446f48ef2efcfd5df806 \ + --hash=sha256:71395a43da5584bb70556f380387e15f845c0dcf76373c1afbfa0025737576ac \ + --hash=sha256:71ade6d2e445839350d589ff99bbddfde16f3f32db28da5c894a09f99c8b2a03 \ + --hash=sha256:71e03d2ea1a221d020cfc5b6cc8bbbedef23a06704c70fcf4d0afb42965b22d1 \ + --hash=sha256:7210398a1607ad607dc73196e575b3148b00a333cbb602ddbe1b60ba54554f43 \ + --hash=sha256:7472c39480ccc11dda69a196d1b7c7a6b48eb6594b77f05d945599d3e47f731c \ + --hash=sha256:7646353a5a7c553c04167aca628e2550b538f492765b03ccf34321a560acc43c \ + --hash=sha256:76e0065998159244ff4c097a6c05ff08019c6fbb6e597a85846e73044f0215b3 \ + --hash=sha256:789a6453e5ffd18a7ab6b8c3a0dd8403053829197ec258ecb90c604c21ffcc99 \ + --hash=sha256:789f88dea57841cdebef392b5d6e90444d767117e9ff2e0d9172df5c9de6690c \ + --hash=sha256:7ac2769a7ddd661e07e26c12220adc31b17014c48234b2a5a88993b8d4109e09 \ + --hash=sha256:817953730e4a73a09008b010c4a42396cefe799616a22df2ac21d3927b3080cf \ + --hash=sha256:83d2beac85b757bfc404c5c0612df51c4ef33bbb7be65cf4a96b4da7cbc4ff4f \ + --hash=sha256:86c7c4615634b5c57a79770f5b738354e45ae219a89949aeae84f19169a05283 \ + --hash=sha256:8923fcd49f875e8a0448d7223d1fdf1a9973ae2d1f20d4158753ceb8909facd2 \ + --hash=sha256:8cceae48ae7f94990c2f4e36291e9ec9868735e8b0f19e4489a17b0422338466 \ + --hash=sha256:92f8f63df729061bb14558ed740e7a222f6e2aa6c2e6a5bcfb4e706676562049 \ + --hash=sha256:930ad463d3fb7a340d323bcc496ec32dae469ec9974c29ff569f19806b6b03b4 \ + --hash=sha256:94733cb447c37b0ce6f71b39ca1288d5f966a084023a5617b4cc35a852586859 \ + --hash=sha256:9be1cfe715ecaa060ffd5d599ef410b94ef2697a0eed4cee562f788a2aa2175b \ + --hash=sha256:a0c5210d038418a115e7cf8706bfa611bd14add2f5787274dba45aadca3155e0 \ + --hash=sha256:a2f8716344bbbd10443391be0b1f2003b34949e3c4e6883005c2bc498ab6b64b \ + --hash=sha256:a4bb174bd65f795c39ad6642d9d5bdc43351b306b7d0a654ab0d0abb38be245f \ + --hash=sha256:a70d5effebd81ebd8e15a8aabdc7980832367b2b00c36543bac378977004cc80 \ + --hash=sha256:a9ee990bf2cfbd81574c5d4f9f6c9d480a14b5b43d2c4f2ca13f4c6f48089394 \ + --hash=sha256:ab2822bcdcefb54d1e8ca29f5e3ec3afe160fb794bb3a3a73b09d11ed2671104 \ + --hash=sha256:ad92d255a165cde5f9882ff69699eaf5495e0a1f32e97566bbbb80f11e46781f \ + --hash=sha256:aead3b74b68396bf0feab5d57e050b730ded7df55853c1e048a87e00aaf033c6 \ + --hash=sha256:aeb2e123cbf978a905e9f55155c1b8316fbbfa7cf64d04521fe174bab302d100 \ + --hash=sha256:aec3c2d741a8e3ee993de7f95f37afb51e31b169c95dbd29da4cf6688f340914 \ + --hash=sha256:b0cdb655fbd1562c2dfc9986f9103a106f7058cd0915afc6e656d4b1d73f3387 \ + --hash=sha256:b26f39a5be3cd91a2035818be3d0ffdf5282c3e1f5f53d3b80b7024021acee52 \ + --hash=sha256:b2f2d13239487cecaae98c9f4d5904ad0737643cdf8873c88ec6a78b12214f20 \ + --hash=sha256:b300a30304c4c6aeab03ed06809819d9eceacdd58441d3c7dffe41edfd006091 \ + --hash=sha256:b42f64825f5d750228f08318a9bf4d723b7ecb4c472aedcb3013c3ec2dc1f949 \ + --hash=sha256:b67d38e8bb0ade7e6e84575e4bb153fab35b122458077273aeb08fdf12be9d2c \ + --hash=sha256:b867f9fd183d76977f810c626d539265183c25b2284762893a31e8d6cacc81c0 \ + --hash=sha256:b99bed995ed7c41515c11fe2beb86f8a6cc298e5537cae2f736de2f982f74ef0 \ + --hash=sha256:bd46bcc28ed85d3cf71581b42d90b4ebd1f2062f81879519fed209f8a4d1cfc6 \ + --hash=sha256:bee28aab5a580eec673f7b68dfa8dece3dd37bd207ef8d22fafe23a8e9837296 \ + --hash=sha256:c04e9d920e2674f54651fd260a15c5d2843526c73d5242ee4311325ddc9573b3 \ + --hash=sha256:c4c5a1770ecfe8bdb6c6f09f8d81ea4de04f7efb012fac1efa4ad315dccc1fd1 \ + --hash=sha256:c733087ecf7dde06b1d071679bfd5f3ba03266ba77814c1c7253bc48c9adedd9 \ + --hash=sha256:c813ada7a651193acda85b6bc1cf12abd4b37cd25c7c6a75d7183512cc374969 \ + --hash=sha256:c81d98e27d9d9261909dcccab1ba5d6ea1c98b0bb9470e368604614fd1d36ddd \ + --hash=sha256:c81e35862aced259177a537ce1a6264c3a97bae1ced184ca9dc10ea754563688 \ + --hash=sha256:c856e439a9d54d514e81a7131229ba151cdf81df7c408e0f6c89340e5003dfe2 \ + --hash=sha256:c9e70012926e97069cdd09221861aff412aa94e4cac2e019055cdb79485b150c \ + --hash=sha256:ca83a32b2b41653d89f09a3d22b770bca96da72273bef8f7a68136bdd1e8b823 \ + --hash=sha256:cbf0777d54672990b10cb8ca9b0523499e182d7e2ea39f86b138519a902aa601 \ + --hash=sha256:d49127f137f871cde3c5650af33bbbdcee02679dae76e020902fa106f522b8ae \ + --hash=sha256:d690121e80ab16e623415351ab24713534d4e500b3cadff216409cb6826063d4 \ + --hash=sha256:d6a166978f22f10cb91413f70519861605219346decf65bc79008f9257c94afe \ + --hash=sha256:d6e3485a5e5c01fb5339c1ee3d4b9e21e2135a2a9d44caafb71acd994487ee7c \ + --hash=sha256:d7d406709ae924cf0b08b8282ca2f0e1c90526911d93bc040557cbc83b74c55f \ + --hash=sha256:d8201c9f9035520cdcc7dcad383b039ec8123969b87e01cf27c3dd883c02313b \ + --hash=sha256:da779ae50b46f3f7d1e1b5f362fdc0ad376a49fd55f6f3122dc2b6149936cdf7 \ + --hash=sha256:dcf2c7eaaa4cafe8e49b017e5bb49e76e084ab6f0cd712ee4019c812b5cf68b8 \ + --hash=sha256:dd8bed00731a21e3106e5dd6bbffb6c775a2c0bbc7c0c9face534d830057bdc9 \ + --hash=sha256:df1c174796cd63eb6b139f7daf783affe1f3ed659605850e843b24764c21bfc5 \ + --hash=sha256:dfcf6e51000b34f7026322cd9ea9bc340d745637e27e0bbc22f504b4f6b967ee \ + --hash=sha256:e498900bfbf7ddddd862f810440c09e9b81674739e8a11d619b40906dccd4a9a \ + --hash=sha256:e512c75ec5cf4475c1aa50ad975ecdf253f4963b06e152e1a11edd6de4010753 \ + --hash=sha256:e5bd109d095aaae989a0463d5ef0fcc43e9ddd5de125e656d3c119a79e466380 \ + --hash=sha256:e6b4b08d09054310a4dc389fa61ee22a7a5a292cb23ab8a985136ca8828bf924 \ + --hash=sha256:e6da138a1ecc1341c8b788a5ee822670b03788e1f5decf7af9d461de6e508b8e \ + --hash=sha256:ea2f61b0bc12f3592288503961b764579dea0658852d96a0b3d823614d808821 \ + --hash=sha256:ed9c0b6f236648dbf30d57e9f57e1f74878caafa04833a19f529b5ba5164b7a8 \ + --hash=sha256:edbca8789fd10f0de534b660a6b4c71f1fd18039679c918dad392ab044bb37e4 \ + --hash=sha256:edc17549ab592e33cfcaf285f047bb75fcd98f608aa9309af1187fd736ce9641 \ + --hash=sha256:ef8a9ddb2e2a4eae4abb72dc0710eca6c2726779b0664bd10c3ce9fcfaed8c4e \ + --hash=sha256:f08ee8248aad2d054e5bc4c73554d4505464698f6d754f16198dbc5764e9821d \ + --hash=sha256:f1d62fb172db35c6478c9323da34ff37d1f3d37d7d44337a9d94ba8c583e5730 \ + --hash=sha256:f8fd23653a252cefabea11cd041efd7b80bdf403e43a36dea53f9cb0aaa21f0f \ + --hash=sha256:faa4e96385c820ce9d7f7a623486e23d4134ae3c9ba2071e44e0ab5a5a5002c4 \ + --hash=sha256:fb2bb5b557080da398b866408117d98fe9731a12334afd0cdff221b458cdc5dc \ + --hash=sha256:fc04affef30be98c1f36f0c422a4061ef618fdc1dde79f5ad5458dd496fecffa \ + --hash=sha256:ffb616d8d55965839670301dc3bae3abacff560a7e137a89056058a8a9da4d96 pygments==2.21.0 \ --hash=sha256:2363c69b61c4a97c838da3b130dcd6468f4848992b21a82f2a63ec34377137d9 \ --hash=sha256:610ca751c9bc2492b38eb9a38a7fbc93edbbb2d7182edaf34e66ae493dee5c8c From bb9148da71343ad72af8a5d3965f9fb0e3ebf58b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 26 Nov 2026 02:26:37 +0000 Subject: [PATCH 7/8] Update distribution --- openapi.public.json | 30 +++++++++---------- proofline/_generated/models/check_file.py | 2 +- proofline/_generated/models/customer_check.py | 19 ++++++------ .../models/customer_code_assessment.py | 2 +- .../models/customer_evidence_ref.py | 2 +- .../models/customer_review_detail.py | 5 ++-- proofline/_transport.py | 2 +- pyproject.toml | 2 +- 8 files changed, 33 insertions(+), 31 deletions(-) diff --git a/openapi.public.json b/openapi.public.json index e5795cd8..01cea344 100644 --- a/openapi.public.json +++ b/openapi.public.json @@ -504,7 +504,7 @@ "type": "object" }, "CheckFile": { - "description": "One file World cited for a check's result.", + "description": "One file the evaluator cited for a check's result.", "properties": { "path": { "allOf": [ @@ -520,7 +520,7 @@ "$ref": "#/components/schemas/CheckFileRevision" } ], - "description": "The revision World read the file at." + "description": "The revision the evaluator read the file at." } }, "required": [ @@ -545,7 +545,7 @@ ] }, "CheckLifecycle": { - "description": "World's lifecycle disclosure for the evaluator version that answered, as\n the receipt recorded it. A deployment gate counts only `GATING` results\n (`DeterministicCoverage::gate_effective_status`), and only when it\n evaluates a deployment; the lifecycle alone permits or blocks nothing.", + "description": "The lifecycle the evaluator disclosed for the version that answered, as\n the receipt recorded it. A deployment gate counts only `GATING` results\n (`DeterministicCoverage::gate_effective_status`), and only when it\n evaluates a deployment; the lifecycle alone permits or blocks nothing.", "oneOf": [ { "const": "GATING", @@ -1173,7 +1173,7 @@ "$ref": "#/components/schemas/CustomerChecks" } ], - "description": "The deterministic World checks recorded for this assessment." + "description": "The deterministic environment checks recorded for this assessment.\n Only assessments made by the check evaluator Proofline retired on\n 2026-11-05 carry them. A later assessment records none, and\n `receipt_recorded` is then false." }, "completed_at": { "description": "When the assessment completed. Null while it has not.", @@ -1261,7 +1261,7 @@ "$ref": "#/components/schemas/CustomerChecks" } ], - "description": "The deterministic World checks recorded for this assessment." + "description": "The deterministic environment checks recorded for this assessment.\n Only assessments made by the check evaluator Proofline retired on\n 2026-11-05 carry them. A later assessment records none, and\n `receipt_recorded` is then false." }, "completed_at": { "description": "When the assessment completed. Null while it has not.", @@ -1358,21 +1358,21 @@ "CustomerCheck": { "properties": { "detail": { - "description": "Why World refused the check, or otherwise World's recorded explanation\n of the result. Null when neither is recorded.", + "description": "Why the evaluator refused the check, or otherwise its recorded\n explanation of the result. Null when neither is recorded.", "type": [ "string", "null" ] }, "evaluated_at": { - "description": "When World evaluated this answer. A reused answer is evidence from\n this instant, which can precede the assessment.", + "description": "When the evaluator produced this answer. A reused answer is evidence\n from this instant, which can precede the assessment.", "type": [ "string", "null" ] }, "files": { - "description": "The files World cited as evidence for this result, once each in\n World's order, with the revision World read each at. Empty when World\n cited no file, and on results recorded before World cited files.", + "description": "The files the evaluator cited as evidence for this result, once each\n in the evaluator's order, with the revision it read each at. Empty\n when it cited no file, and on results recorded before it cited files.", "items": { "$ref": "#/components/schemas/CheckFile" }, @@ -1403,7 +1403,7 @@ "type": "null" } ], - "description": "Why an `UNRESOLVED` check did not settle, as World's verdict gave it.\n Absent on every other outcome, and on an unresolved receipt whose\n verdict names none of these reasons." + "description": "Why an `UNRESOLVED` check did not settle, as the evaluator's verdict\n gave it.\n Absent on every other outcome, and on an unresolved receipt whose\n verdict names none of these reasons." } }, "required": [ @@ -1440,7 +1440,7 @@ "type": "object" }, "CustomerCodeAssessment": { - "description": "The review's code assessment as it recorded its run. Its findings\n rest on the pinned code alone, never on World evidence.", + "description": "The review's code assessment as it recorded its run. Its findings\n rest on the pinned code alone, never on infrastructure evidence.", "properties": { "base_commit_sha": { "description": "The base commit the code assessment compared the head with.", @@ -1568,7 +1568,7 @@ "type": "string" }, "label": { - "description": "The reference's display label, such as a path with its line range. A\n recorded read, a vendor documentation read, a customer tool call, a\n static analysis result or an unnamed World entity carries a fixed\n label, and a deterministic test carries its check's readable name.", + "description": "The reference's display label, such as a path with its line range. A\n recorded read, a vendor documentation read, a customer tool call, a\n static analysis result or an unnamed infrastructure entity carries a fixed\n label, and a deterministic test carries its check's readable name.", "type": "string" }, "legacy_text": { @@ -1951,7 +1951,7 @@ "type": "null" } ], - "description": "The change-level diagram: the changed call path from the pinned code\n index and the relations World declares. Absent when the review\n recorded none." + "description": "The change-level diagram: the changed call path from the pinned code\n index. A diagram recorded by the check evaluator Proofline retired on\n 2026-11-05 can also show the environment relations it returned.\n Absent when the review recorded none." }, "change_summary": { "anyOf": [ @@ -3365,7 +3365,7 @@ }, { "const": "WORLD_EVIDENCED", - "description": "A World entity or deterministic World evaluation at the pinned snapshot.", + "description": "An infrastructure entity or deterministic check result at the pinned\n snapshot, recorded by the check evaluator Proofline retired on\n 2026-11-05.", "type": "string" }, { @@ -7100,11 +7100,11 @@ "type": "string" }, "UnresolvedReason": { - "description": "World's reason an executed check did not settle. A gate weighs the three\n alike, and each asks the reader for a different response.", + "description": "The evaluator's reason an executed check did not settle. A gate weighs the three\n alike, and each asks the reader for a different response.", "oneOf": [ { "const": "NEEDS_EVIDENCE", - "description": "The evidence World held neither established nor refuted the property.", + "description": "The evidence the evaluator held neither established nor refuted the\n property.", "type": "string" }, { diff --git a/proofline/_generated/models/check_file.py b/proofline/_generated/models/check_file.py index 07e083f3..78035979 100644 --- a/proofline/_generated/models/check_file.py +++ b/proofline/_generated/models/check_file.py @@ -15,7 +15,7 @@ @_attrs_define class CheckFile: - """One file World cited for a check's result. + """One file the evaluator cited for a check's result. Attributes: path (UntrustedText): Text that came out of the reviewer model, or out of a repository the model diff --git a/proofline/_generated/models/customer_check.py b/proofline/_generated/models/customer_check.py index c6293414..4c13a196 100644 --- a/proofline/_generated/models/customer_check.py +++ b/proofline/_generated/models/customer_check.py @@ -19,11 +19,11 @@ class CustomerCheck: """ Attributes: - files (list[CheckFile]): The files World cited as evidence for this result, once each in - World's order, with the revision World read each at. Empty when World - cited no file, and on results recorded before World cited files. + files (list[CheckFile]): The files the evaluator cited as evidence for this result, once each + in the evaluator's order, with the revision it read each at. Empty + when it cited no file, and on results recorded before it cited files. lifecycle (Literal['GATING'] | Literal['QUARANTINED'] | Literal['RETIRED'] | Literal['SHADOW'] | - Literal['UNKNOWN']): World's lifecycle disclosure for the evaluator version that answered, as + Literal['UNKNOWN']): The lifecycle the evaluator disclosed for the version that answered, as the receipt recorded it. A deployment gate counts only `GATING` results (`DeterministicCoverage::gate_effective_status`), and only when it evaluates a deployment; the lifecycle alone permits or blocks nothing. @@ -31,12 +31,13 @@ class CustomerCheck: outcome (str): The outcome the receipt recorded, which is the outcome a deployment gate weighed: `READY`, `BLOCKED`, `UNRESOLVED`, `UNAVAILABLE`, `NOT_APPLICABLE` or `NOT_ASKED`. A verdict never rewrites it. - detail (None | str | Unset): Why World refused the check, or otherwise World's recorded explanation - of the result. Null when neither is recorded. - evaluated_at (None | str | Unset): When World evaluated this answer. A reused answer is evidence from - this instant, which can precede the assessment. + detail (None | str | Unset): Why the evaluator refused the check, or otherwise its recorded + explanation of the result. Null when neither is recorded. + evaluated_at (None | str | Unset): When the evaluator produced this answer. A reused answer is evidence + from this instant, which can precede the assessment. unresolved_reason (Literal['NEEDS_EVIDENCE'] | Literal['REGENERATE_SCENARIO'] | Literal['UNSUPPORTED'] | None | - Unset): Why an `UNRESOLVED` check did not settle, as World's verdict gave it. + Unset): Why an `UNRESOLVED` check did not settle, as the evaluator's verdict + gave it. Absent on every other outcome, and on an unresolved receipt whose verdict names none of these reasons. """ diff --git a/proofline/_generated/models/customer_code_assessment.py b/proofline/_generated/models/customer_code_assessment.py index 2d8c5077..eea54acf 100644 --- a/proofline/_generated/models/customer_code_assessment.py +++ b/proofline/_generated/models/customer_code_assessment.py @@ -22,7 +22,7 @@ @_attrs_define class CustomerCodeAssessment: """The review's code assessment as it recorded its run. Its findings - rest on the pinned code alone, never on World evidence. + rest on the pinned code alone, never on infrastructure evidence. Attributes: base_commit_sha (str): The base commit the code assessment compared the head with. diff --git a/proofline/_generated/models/customer_evidence_ref.py b/proofline/_generated/models/customer_evidence_ref.py index 1e09ceeb..59374189 100644 --- a/proofline/_generated/models/customer_evidence_ref.py +++ b/proofline/_generated/models/customer_evidence_ref.py @@ -21,7 +21,7 @@ class CustomerEvidenceRef: `text`. label (str): The reference's display label, such as a path with its line range. A recorded read, a vendor documentation read, a customer tool call, a - static analysis result or an unnamed World entity carries a fixed + static analysis result or an unnamed infrastructure entity carries a fixed label, and a deterministic test carries its check's readable name. provenance_status (str): How the reference was obtained: `VERIFIED_REPOSITORY_READ`, `PINNED_WORLD_ENTITY`, `EXECUTED_DETERMINISTIC_TEST`, diff --git a/proofline/_generated/models/customer_review_detail.py b/proofline/_generated/models/customer_review_detail.py index a82aaadc..db142395 100644 --- a/proofline/_generated/models/customer_review_detail.py +++ b/proofline/_generated/models/customer_review_detail.py @@ -91,8 +91,9 @@ class CustomerReviewDetail: orientation only. Null when no pull request state is recorded. change_diagram (ChangeDiagramView | None | Unset): The change-level diagram: the changed call path from the pinned code - index and the relations World declares. Absent when the review - recorded none. + index. A diagram recorded by the check evaluator Proofline retired on + 2026-11-05 can also show the environment relations it returned. + Absent when the review recorded none. change_summary (ChangeSummary | None | Unset): What the change does and which files the review read at which depth (ยง55). Null until the review's publication records it, and for a diff --git a/proofline/_transport.py b/proofline/_transport.py index 4d168039..00c3b536 100644 --- a/proofline/_transport.py +++ b/proofline/_transport.py @@ -38,7 +38,7 @@ from ._sync_http import IO_DEADLINE from ._sync_http import Transport as SyncHTTPTransport -VERSION = "10.2.1" +VERSION = "10.2.2" MAX_RESPONSE_BYTES = 8 * 1024 * 1024 WEEKDAY = r"(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)" FULL_WEEKDAY = r"(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday)" diff --git a/pyproject.toml b/pyproject.toml index b1e55370..787b1959 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "proofline-sdk" -version = "10.2.1" +version = "10.2.2" description = "Typed synchronous and asynchronous clients for the Proofline review API" readme = "README.md" license = "Apache-2.0 AND MIT" From 8e94310fc7930792fe805101c59e1c9586d59b2f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 28 Nov 2026 03:07:50 +0000 Subject: [PATCH 8/8] Update distribution --- openapi.public.json | 2 +- proofline/_transport.py | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/openapi.public.json b/openapi.public.json index 01cea344..a8a36759 100644 --- a/openapi.public.json +++ b/openapi.public.json @@ -2699,7 +2699,7 @@ }, { "const": "RUNTIME_INVENTORY_UNAVAILABLE", - "description": "The check could not read an inventory of the connection's Cloud Run\n services or ECS tasks: Kian retains none, or the read failed or timed\n out. Nothing shows what runs.", + "description": "The check could not read an inventory of the connection's Cloud Run\n services or ECS tasks. Kian may retain none. When opening the evidence\n database or reading its workspace failed, or the read exceeded its\n deadline, the report records `runtime_read_cause`.", "type": "string" }, { diff --git a/proofline/_transport.py b/proofline/_transport.py index 00c3b536..328416c9 100644 --- a/proofline/_transport.py +++ b/proofline/_transport.py @@ -38,7 +38,7 @@ from ._sync_http import IO_DEADLINE from ._sync_http import Transport as SyncHTTPTransport -VERSION = "10.2.2" +VERSION = "10.2.3" MAX_RESPONSE_BYTES = 8 * 1024 * 1024 WEEKDAY = r"(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)" FULL_WEEKDAY = r"(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday)" diff --git a/pyproject.toml b/pyproject.toml index 787b1959..4760215b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "proofline-sdk" -version = "10.2.2" +version = "10.2.3" description = "Typed synchronous and asynchronous clients for the Proofline review API" readme = "README.md" license = "Apache-2.0 AND MIT"