File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 88
99from pathlib import Path
1010from tempfile import TemporaryDirectory
11+ from warnings import warn
1112
1213from ._option import Option as _Option
1314
5556
5657For more information on changes to this feature flag see: https://github.com/idom-team/idom/issues/351
5758"""
59+
60+ if not IDOM_FEATURE_INDEX_AS_DEFAULT_KEY .current :
61+ warn (
62+ "In the next release, the feature flag IDOM_FEATURE_INDEX_AS_DEFAULT_KEY will "
63+ "be activated by default. To try this out before the next release simply set "
64+ "IDOM_FEATURE_INDEX_AS_DEFAULT_KEY=1 as an environment variable. After this "
65+ "change, you can revert to the old behavior by setting it to 0 instead. If you "
66+ "have questions or issues with this change report them here: "
67+ "https://github.com/idom-team/idom/issues/351" ,
68+ DeprecationWarning ,
69+ )
You can’t perform that action at this time.
0 commit comments