We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It appears that contains is not overridden in ConfigTree, so checking for the existence of a key does not work if it is dot-separated:
>>> from pyhocon import ConfigFactory >>> t = ConfigFactory.from_dict({"test": {"test": 1}}) >>> "test.test" in t False >>> t.get_int("test.test") 1
The text was updated successfully, but these errors were encountered:
Implemented contains method #97
de05982
Thanks for reporting that issue @NickG123. Just implemented it and pushed it to pyhocon==0.3.35. Thanks!
pyhocon==0.3.35
Sorry, something went wrong.
No branches or pull requests
It appears that contains is not overridden in ConfigTree, so checking for the existence of a key does not work if it is dot-separated:
The text was updated successfully, but these errors were encountered: