commit | 22d134e73fc5f6fe96faccbec6830119fe3f0f18 | [log] [tgz] |
---|---|---|
author | koder aka kdanilov <kdanilov@mirantis.com> | Tue Nov 08 11:33:19 2016 +0200 |
committer | koder aka kdanilov <kdanilov@mirantis.com> | Tue Nov 08 11:33:19 2016 +0200 |
tree | 2ae9339613cbc68e1cff68f49479a6f9139c1f60 | |
parent | 3b4da8b000263e22c8cb000a4572ec546171a504 [diff] [blame] |
typing and refactoring on the way
diff --git a/wally/suits/io/fio.py b/wally/suits/io/fio.py index 50bb1fd..2360a55 100644 --- a/wally/suits/io/fio.py +++ b/wally/suits/io/fio.py
@@ -778,7 +778,7 @@ def prepare_data(cls, results) -> List[Dict[str, Any]]: """create a table with io performance report for console""" - def key_func(data) -> Tuple(str, str, str, str, int): + def key_func(data: FioRunResult) -> Tuple[str, str, str, str, int]: tpl = data.summary_tpl() return (data.name, tpl.oper,