bundlewrap/libs/faults.py
Franziska Kunsmann 2667a2c00d
All checks were successful
bundlewrap/pipeline/head This commit looks good
libs: replace libs.toml.dict_to_toml with libs.faults.resolve_faults
2021-04-24 09:39:08 +02:00

6 lines
174 B
Python

from json import loads, dumps
from bundlewrap.metadata import metadata_to_json
def resolve_faults(dictionary: dict) -> dict:
return loads(metadata_to_json(dictionary))