generate: Add "callbacks" section

2 jobs for ebassi/issue-1 in 1 minute and 59 seconds
latest
Status Job ID Name Coverage
  Check
passed #1130952
flake8

00:01:59

failed #1130953
allowed to fail
mypy

00:01:19

 
Name Stage Failure
failed
mypy Check
gidocgen/gir/parser.py:778: error: Item "None" of "Optional[Namespace]" has no attribute "add_record"
gidocgen/gir/parser.py:790: error: Argument "get_type" to "GType" has incompatible type "Optional[str]"; expected "str"
gidocgen/gir/parser.py:792: error: Argument "name" to "Union" has incompatible type "Optional[str]"; expected "str"
gidocgen/gir/parser.py:792: error: Argument "symbol_prefix" to "Union" has incompatible type "Optional[str]"; expected "str"
gidocgen/gir/parser.py:792: error: Argument "ctype" to "Union" has incompatible type "Optional[str]"; expected "str"
gidocgen/gir/parser.py:824: error: Item "None" of "Optional[Namespace]" has no attribute "add_union"
Found 75 errors in 2 files (checked 11 source files)
Cleaning up file based variables
ERROR: Job failed: exit code 1