feat: add description of doctype to extractor

This commit is contained in:
Exequiel Arona 2024-03-18 19:26:32 -03:00
parent 99a8ff885e
commit 9033f5c65d

View file

@ -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", [])