Skip to content

Commit

Permalink
Merge pull request #7 from njzjz/patch-2
Browse files Browse the repository at this point in the history
add default info to generated JSON file
  • Loading branch information
y1xiaoc authored Jan 1, 2022
2 parents 63b6414 + 6e3466d commit 6cb4df3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dargs/dargs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6cb4df3

Please sign in to comment.