From 6e3466d3e33ee5f4039a16b49804bd355269f8d6 Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Mon, 27 Dec 2021 01:44:36 -0500 Subject: [PATCH] add default info to generated JSON file --- dargs/dargs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dargs/dargs.py b/dargs/dargs.py index 5ea6ad2..4ab2a96 100644 --- a/dargs/dargs.py +++ b/dargs/dargs.py @@ -662,6 +662,7 @@ def default(self, obj) -> Dict[str, Union[str, bool, List]]: "name": obj.name, "type": obj.dtype, "optional": obj.optional, + "default": obj.default, "alias": obj.alias, "doc": obj.doc, "repeat": obj.repeat,