feat: add description of doctype to extractor
This commit is contained in:
parent
99a8ff885e
commit
9033f5c65d
1 changed files with 4 additions and 0 deletions
|
|
@ -14,8 +14,12 @@ def extract(fileobj, *args, **kwargs):
|
|||
|
||||
doctype = data.get("name")
|
||||
|
||||
doctype_description = data.get("description")
|
||||
|
||||
yield None, "_", doctype, ["Name of a DocType"]
|
||||
|
||||
yield None, "_", doctype_description, ["Description of a DocType"]
|
||||
|
||||
messages = []
|
||||
fields = data.get("fields", [])
|
||||
links = data.get("links", [])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue