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
from box import Box box = Box({"logging": {"level": "INFO", "structured": True}}, box_dots=True) assert box.logging.level == "INFO" assert box["logging.level"] == "INFO" assert box.get("logging.level") == "INFO" assert box.get("logging.level", None) == "INFO"
The last two asserts fail. I think it would make sense to support the notation in the get and set methods as well.
The text was updated successfully, but these errors were encountered:
@cdgriffith Someone is working on the issue? otherwise I can take a look.
Sorry, something went wrong.
Looks like someone tried to do something about it a long time ago, but I never got around to actually working on it or testing it https://github.com/cdgriffith/Box/tree/bugfix/dots_get
Please feel free to work on it @myusko!
Just noticed this was still open, is actually a dup of #161 and was added in 6.0!
No branches or pull requests
The last two asserts fail. I think it would make sense to support the notation in the get and set methods as well.
The text was updated successfully, but these errors were encountered: