diff --git a/api/s22_report.py b/api/s22_report.py index e69de29..3308543 100644 --- a/api/s22_report.py +++ b/api/s22_report.py @@ -0,0 +1,11 @@ +from .operation import * + + +def inp_out_report(name: str) -> list[str]: + lines = [] + objs = read_all(name, f"select * from report") + for obj in objs: + key = obj['key'] + value = obj['value'] + lines.append(f'{key} {value}') + return lines