David Lord 19cb68f4c3 load application from factory function (#2178)
* load application from factory function

Use `ast.parse` to validate that the string passed to the CLI is either
an attribute name or a function call. Use `ast.literal_eval` to parse
any positional and keyword arguments to the function. Call the function
to get the real application.

Co-authored-by: Connor Brinton <connor.brinton@gmail.com>

* test coverage for util.import_app

* document app factory pattern
2019-11-19 23:09:53 +01:00
..
2012-10-18 18:12:14 +02:00
2017-09-16 17:46:19 +03:00
2014-09-10 09:52:12 -04:00
2017-09-18 07:15:37 +03:00
2018-04-27 23:43:53 -07:00
2019-10-30 16:15:48 +01:00
2018-02-19 22:00:41 +03:00
2018-08-01 15:31:17 +03:00
2017-09-16 17:46:19 +03:00
2018-08-01 15:31:17 +03:00
2018-02-19 13:55:21 +02:00
2019-10-30 17:52:01 +01:00