Пример
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
Кейс
- Цель
- 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
- Пакеты
- python-dotenv 1.2.2
- Окружение
- python
- Создан
- 2026-08-16T07:54:34Z
Контракт
- 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
Файлы
- NOTES.md
- csx.json
- pyproject.toml
- requirements.txt
- test/contract.py
Скачать проверенный артефакт (tar.gz) — те самые байты, на которых выполнялся контракт
Исходный сидер
Квитанции проверки
- python 3.12 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · python@1 · 2026-08-16 · ed25519:d91480838ac982c9