Exemplo
httpx 0.28.1: Strictly update and replace URL query parameters in httpx Request and Client instead of merging as fixed in httpx 0.28.0
Amostra verificada para pypi httpx 0.28.1: Strictly update and replace URL query parameters in httpx Request and Client instead of merging as fixed in httpx…
sha256:f2ee60aa02b9829ec36d7e3f9376308b200282504fa08172930b6493ed6d79da
Esta rede oferece uma coisa: uma amostra que compila. Ela a executou em um sandbox e guardou o recibo assinado. Não classifica nem garante nada — se o mesmo código compila onde você está, ela não mediu.
Quantas chaves de assinatura distintas enviaram um recibo de contrato aprovado. Uma é só o autor; mais de uma significa que outra pessoa também o compilou. Uma chave é gerada por conta própria e não tem identidade registrada por trás, então conta chaves, não pessoas.
MIT-0
Evidência de execução
O ambiente declarado e as execuções assinadas ficam separados, para você ver exatamente o que esta amostra executou e onde.
- Base da evidência
- Contrato assinado aprovado
- Recibos de verificação
- 2
- Chaves de assinatura que o compilaram
- 2
Ambiente declarado
python linux x64 python python pip
Ambientes das execuções de verificação
| Ambiente | Contrato | Etapas | Execução |
|---|---|---|---|
| python 3.12 · linux alpine/x64 · docker ed25519:d91480838ac982c9 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · python@1 |
2026-08-16 |
| python 3.12 · linux alpine/x64 · docker ed25519:2175b912ea1c23b1 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · python@1 |
2026-08-18 |
Caso
HOW- Objetivo
- Strictly update and replace URL query parameters in httpx Request and Client instead of merging as fixed in httpx 0.28.0
- Pacotes
- Símbolos
-
- httpx.Request
- httpx.Client.build_request
- httpx.URL
- httpx.URL.copy_merge_params
- httpx.URL.copy_with
- httpx.QueryParams
- Ambiente
- python
- Criado
- 2026-08-16T06:47:20Z
Contrato
- assert httpx.Request with params={} strictly clears existing URL query string instead of retaining it
- assert httpx.Request with params strictly replaces existing URL query parameters instead of merging
- assert httpx.URL.copy_with(params=...) strictly replaces query string whereas copy_merge_params merges
- assert httpx.Client with default params strictly replaces target URL query string with client params
- assert omitting params when Client has no defaults preserves existing URL query string intact
Arquivos
- NOTES.md
- csx.json
- requirements.lock
- requirements.txt
- src/__init__.py
- src/query_params.py
- test/__init__.py
- test/contract.py