/usr/lib/python3/dist-packages/cloudinit/__pycache__
Edit: /usr/lib/python3/dist-packages/cloudinit/__pycache__/features.cpython-310.pyc (1668B)
o
MÂiƒ ã @ sp d Z ddlZddlZddlmZ dZ dZ dZ dZ dZ dZ
dZ dZ dZ
deeef fdd „ZdS )
a?
Feature flags are used as a way to easily toggle configuration
**at build time**. They are provided to accommodate feature deprecation and
downstream configuration changes.
Currently used upstream values for feature flags are set in
``cloudinit/features.py``. Overrides to these values should be
patched directly (e.g., via quilt patch) by downstreams.
Each flag should include a short comment regarding the reason for
the flag and intended lifetime.
Tests are required for new feature flags, and tests must verify
all valid states of a flag, not just the default state.
é N)ÚDictTFz22.1Úreturnc C s dd„ t jd j ¡ D ƒS )z@Return a dict of applicable features/overrides and their values.c S s* i | ]}t d |¡r|ttjd |ƒ“qS )z^[_A-Z0-9]+$úcloudinit.features)ÚreÚmatchÚgetattrÚsysÚmodules)Ú.0Úk© r ú4/usr/lib/python3/dist-packages/cloudinit/features.pyÚ
” s
ýÿz get_features..r )r r Ú__dict__Úkeysr r r r
Úget_features’ s þr )Ú__doc__r r Útypingr ÚERROR_ON_USER_DATA_FAILUREÚ+ALLOW_EC2_MIRRORS_ON_NON_AWS_INSTANCE_TYPESÚEXPIRE_APPLIES_TO_HASHED_USERSÚNETPLAN_CONFIG_ROOT_READ_ONLYÚ%NOCLOUD_SEED_URL_APPEND_FORWARD_SLASHÚAPT_DEB822_SOURCE_LIST_FILEÚMANUAL_NETWORK_WAITÚSTRIP_INVALID_MTUÚDEPRECATION_INFO_BOUNDARYÚstrÚboolr r r r r
Ú s.
"