Closed wouterdb closed 4 years ago
Currently, compiler.do_compile is used. (https://github.com/inmanta/inmanta-sphinx/blob/master/sphinxcontrib/inmanta/api.py#L114)
compiler.do_compile
It would be beter to use the compiler without actually executing the code, but only loading the types.
A typing-only entry point can be added to the compiler, comparable to https://github.com/inmanta/inmanta/blob/master/src/inmanta/compiler/__init__.py#L101
Currently,
compiler.do_compile
is used. (https://github.com/inmanta/inmanta-sphinx/blob/master/sphinxcontrib/inmanta/api.py#L114)It would be beter to use the compiler without actually executing the code, but only loading the types.
A typing-only entry point can be added to the compiler, comparable to https://github.com/inmanta/inmanta/blob/master/src/inmanta/compiler/__init__.py#L101