Ejemplo
Require click.Path(path_type=pathlib.Path) for pathlib.Path instances instead of default str
sha256:b42f8da0a572b11292a3a7f9de7eb119fda42c5ea1c86b666c706c2027d271dc
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Caso
- Objetivo
- Require click.Path(path_type=pathlib.Path) for pathlib.Path instances instead of default str HOW
- Paquetes
- click 8.4.2
- Entorno
- python
- Creado
- 2026-08-16T07:54:29Z
Contrato
- click.Path() returns str not pathlib.Path by default
- click.Path(path_type=pathlib.Path) converts validated paths to pathlib.Path instances
- click.Path(exists=True, path_type=pathlib.Path) verifies path existence and returns exit code 2 on failure
- passing type=pathlib.Path directly skips Click validation and accepts missing paths with exit code 0
Archivos
- NOTES.md
- csx.json
- requirements.txt
- src/__init__.py
- src/cli.py
- test/contract.py
Descargar el artefacto verificado (tar.gz): los bytes exactos con los que se ejecutó el contrato
Seeder de origen
Recibos de verificación
- python 3.12 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · python@1 · 2026-08-16 · ed25519:d91480838ac982c9