Paulus Schoutsen
db0efc647d
New component: Python Script ( #7950 )
...
* Add initial version
* Fix requirements
* Prefer logging over printing
* Set executor thread name on >Py36 only
* Add tests
* Lint
* Add restrictedpython to test dependencies
* Create python_script.py
From doc:
```
However, an empty dict ({}) is treated as is. If you want to specify a list that can contain anything, specify it as dict:
>>> schema = Schema({}, extra=ALLOW_EXTRA) # don't do this
>>> try:
... schema({'extra': 1})
... raise AssertionError('MultipleInvalid not raised')
... except MultipleInvalid as e:
... exc = e
>>> str(exc) == "not a valid value"
True
>>> schema({})
{}
>>> schema = Schema(dict) # do this instead
>>> schema({})
{}
>>> schema({'extra': 1})
{'extra': 1}
```
2017-06-09 12:38:40 +02:00
..
2017-06-04 23:53:25 -07:00
2017-06-01 22:43:24 -07:00
2017-06-04 23:53:25 -07:00
2017-05-25 22:21:22 -07:00
2017-06-03 18:51:29 -07:00
2017-04-24 17:59:51 -07:00
2017-05-25 21:13:53 -07:00
2017-06-04 22:55:06 -07:00
2017-05-26 13:12:17 -07:00
2017-05-25 21:13:53 -07:00
2017-05-25 22:55:00 -07:00
2017-05-19 07:37:39 -07:00
2017-05-12 10:53:25 +02:00
2017-06-02 00:05:34 -07:00
2017-05-25 21:11:02 -07:00
2017-05-26 13:12:17 -07:00
2017-05-23 11:08:12 -07:00
2017-06-04 22:46:18 -07:00
2017-05-24 15:23:52 -07:00
2017-05-23 17:00:52 -07:00
2017-03-28 23:39:53 -07:00
2017-06-07 09:38:00 +02:00
2017-06-05 11:27:48 +02:00
2017-05-13 21:25:54 -07:00
2017-03-05 10:41:54 +01:00
2017-06-02 23:03:00 -07:00
2016-03-09 10:25:50 +01:00
2017-04-05 23:23:02 -07:00
2017-05-11 09:04:17 -07:00
2017-05-19 07:37:39 -07:00
2017-03-05 10:41:54 +01:00
2016-10-30 22:18:53 +01:00
2017-03-05 10:41:54 +01:00
2017-05-13 21:25:54 -07:00
2017-03-05 10:41:54 +01:00
2017-05-19 07:37:39 -07:00
2017-05-12 20:14:17 -07:00
2017-03-05 10:41:54 +01:00
2017-05-19 07:37:39 -07:00
2017-05-25 22:21:22 -07:00
2017-03-05 10:41:54 +01:00
2017-03-05 10:41:54 +01:00
2017-05-22 11:00:02 -07:00
2017-03-05 10:41:54 +01:00
2017-04-26 21:14:52 +02:00
2017-03-04 15:10:36 -08:00
2017-04-04 09:29:49 -07:00
2017-04-04 09:29:49 -07:00
2017-04-11 09:23:41 -07:00
2017-03-05 10:41:54 +01:00
2017-05-12 21:12:47 -07:00
2016-12-28 20:04:59 +02:00
2017-03-05 10:41:54 +01:00
2017-03-05 10:41:54 +01:00
2017-03-05 10:41:54 +01:00
2017-05-12 10:53:25 +02:00
2017-03-05 10:41:54 +01:00
2017-03-05 10:41:54 +01:00
2017-03-05 10:41:54 +01:00
2017-03-05 10:41:54 +01:00
2017-03-05 10:41:54 +01:00
2017-04-30 12:32:32 -07:00
2017-03-05 10:41:54 +01:00
2017-06-09 12:38:40 +02:00
2017-04-18 11:50:43 +02:00
2017-03-07 23:20:27 +01:00
2017-03-05 10:41:54 +01:00
2017-04-05 11:26:56 +02:00
2017-04-24 22:16:47 -07:00
2017-03-07 22:51:34 -08:00
2017-03-05 10:41:54 +01:00
2017-03-30 00:50:53 -07:00
2017-06-04 23:53:25 -07:00
2017-04-29 22:04:49 -07:00
2017-03-05 10:41:54 +01:00
2017-05-09 00:03:34 -07:00
2017-05-01 23:29:01 -07:00
2017-03-05 10:41:54 +01:00
2017-05-15 00:10:06 -07:00
2017-03-05 10:41:54 +01:00