Created
June 28, 2022 21:02
-
-
Save khuyentran1401/4bc8d042adddb8e4e5f8bb3e193ed1e4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
def save_data(data: dict, config: DictConfig): | |
with open(config.data.raw, "w") as file: | |
json.dump(data, file) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment