Coverage for src/configuraptor/dump.py: 0%

9 statements  

« prev     ^ index     » next       coverage.py v7.2.7, created at 2023-06-15 14:30 +0200

1import typing 

2 

3 

4def asdict(inst: typing.Any) -> dict[str, typing.Any]: 

5 ... 

6 

7 

8def astoml(inst: typing.Any) -> str: 

9 data = asdict(inst) 

10 

11 

12def asjson(inst: typing.Any) -> str: 

13 data = asdict(inst) 

14 

15 

16def asyaml(inst: typing.Any) -> str: 

17 data = asdict(inst)