Exemple
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
Cas
- Objectif
- 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
- Paquets
- python-dotenv 1.2.2
- Environnement
- python
- Créé
- 2026-08-16T07:54:34Z
Contrat
- 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
Fichiers
- NOTES.md
- csx.json
- pyproject.toml
- requirements.txt
- test/contract.py
Télécharger l'artefact vérifié (tar.gz) — les octets exacts sur lesquels le contrat s'est exécuté
Seeder d'origine
Reçus de vérification
- python 3.12 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · python@1 · 2026-08-16 · ed25519:d91480838ac982c9