7 Commits

Author SHA1 Message Date
Pierre-Marie de Rodat
68e87c2cb0 python_api/app: fix testcase for Python <3.9
(cherry picked from commit df84be5d5d)
2024-11-28 09:20:31 +00:00
Pierre-Marie de Rodat
3bf2f2c86f Modernize type annotations
(cherry picked from commit 54a7dd3a6c)
2024-11-28 09:20:31 +00:00
Pierre-Marie de Rodat
cf404171ea Python App: add parsing errors handling for requested units
By default, make App instances print parsing errors for all requested
units on the standard output, and let subclasses override this behavior
if needed.

Also extend the Python playground so that parsing errors fit nicely into
the prompt header.
2023-07-25 19:03:32 +00:00
Pierre-Marie de Rodat
b298a62b39 python_api/app: fix propagation of path_wrapper to subprocesses
TN: VA12-016
2022-12-05 16:13:40 +00:00
Pierre-Marie de Rodat
52297d3c8c Python API: allow App subclasses to associate event handlers to contexts
TN: VA12-016
2022-11-23 12:37:21 +00:00
Pierre-Marie de Rodat
dc16344d15 python_api/app: refactor testcase
TN: VA12-016
2022-11-23 12:37:21 +00:00
Pierre-Marie de Rodat
5c9eea0853 python_api/python_app: rename to python_api/app
TN: VA12-016
2022-11-23 12:37:21 +00:00