mirror of
https://github.com/Electric-Special/ha-core.git
synced 2026-03-25 11:06:54 +01:00
* Enhance python_script to support "_getitem_" In order to use dict / list structures in python scripts we need _getitem_ allowed in the RestrictedPython environment. There is a default_guarded_getitem included with RestrictedPython, which is a pass through used in the Eval code paths. * Add tests for dict/list support in python_scripts * Lint
4.2 KiB
4.2 KiB