hass-core/homeassistant
Sean Dague 8d1999dc12 Enhance python_script to support "_getitem_" (#8541)
* 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
2017-07-19 22:56:24 -07:00
..
components Enhance python_script to support "_getitem_" (#8541) 2017-07-19 22:56:24 -07:00
helpers Accept transition for light.toggle (#8466) 2017-07-13 20:04:23 -07:00
scripts Fix check for running inside venv (#8481) 2017-07-15 07:25:02 -07:00
util Fix check for running inside venv (#8481) 2017-07-15 07:25:02 -07:00
__init__.py Fix PEP257 issues 2016-03-08 00:06:04 +01:00
__main__.py Fix some issues for PyLint 1.7.2 (#8356) 2017-07-05 20:02:16 -07:00
bootstrap.py Update docstrings (#8536) 2017-07-18 16:23:57 +02:00
config.py Update docstrings (#8536) 2017-07-18 16:23:57 +02:00
const.py Version bump to 0.50.0dev0 2017-07-15 21:07:15 -07:00
core.py Expose all components on hass [Concept] (#8490) 2017-07-16 09:23:06 -07:00
exceptions.py EntityComponent to retry platforms that are not ready yet (#8209) 2017-06-26 09:41:48 -07:00
loader.py Expose all components on hass [Concept] (#8490) 2017-07-16 09:23:06 -07:00
monkey_patch.py Make monkey patch work in Python 3.6 (#7848) 2017-06-01 23:23:39 -07:00
package_constraints.txt Make deps directory persistent over upgrades (#7801) 2017-07-13 19:26:21 -07:00
remote.py Fix pylint 1.7.2 no-else-return issues (#8361) 2017-07-05 23:30:01 -07:00
setup.py Fix check for running inside venv (#8481) 2017-07-15 07:25:02 -07:00