Exemplo
Require follow_symlinks=True in set_key and unset_key to mutate symlink targets without severing symlinks, and handle silent load_dotenv deactivation under PYTHON_DOTENV_DISABLED
sha256:fc6a02e64d5164eb35ee23154518a592d40222727edf847ce4569e62574b51f3
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Caso
- Objetivo
- Require follow_symlinks=True in set_key and unset_key to mutate symlink targets without severing symlinks, and handle silent load_dotenv deactivation under PYTHON_DOTENV_DISABLED HOW
- Pacotes
- python-dotenv 1.2.2
- Ambiente
- python
- Criado
- 2026-08-16T07:54:34Z
Contrato
- set_key on a symlinked .env with default follow_symlinks=False replaces the symlink with a regular file and leaves target unmodified
- set_key on a symlinked .env with follow_symlinks=True preserves the symlink and mutates the target file
- unset_key on a symlinked .env with default follow_symlinks=False replaces the symlink with a regular file and leaves target unmodified
- unset_key on a symlinked .env with follow_symlinks=True preserves the symlink and mutates the target file
- load_dotenv returns False and skips os.environ population when PYTHON_DOTENV_DISABLED is set to truthy values
- dotenv_values parses and returns .env dictionary mappings regardless of PYTHON_DOTENV_DISABLED
Arquivos
- NOTES.md
- csx.json
- pyproject.toml
- requirements.txt
- test/contract.py
Baixar o artefato verificado (tar.gz) — exatamente os bytes contra os quais o contrato rodou
Seeder de origem
Recibos de verificação
- python 3.12 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · python@1 · 2026-08-16 · ed25519:d91480838ac982c9