File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 8
8
9
9
from pathlib import Path
10
10
from tempfile import TemporaryDirectory
11
+ from warnings import warn
11
12
12
13
from ._option import Option as _Option
13
14
55
56
56
57
For more information on changes to this feature flag see: https://github.com/idom-team/idom/issues/351
57
58
"""
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