We should solve the needless import of _complextype together with needless import of _visatype (if such thing happens). In its own PR. Please open an issue.
Originally posted by @marcoskirsch in #2098 (comment)
Currently _complextype is imported for all the modules (as shown below) . We need to conditionally import it based on its usage
${module_name}._complextype import * # noqa: F401,F403,H303
Importing of _complextype gives capability of including the complex data types.