The Fused Docs Function Declaration section states:
Declare import statements within the function body,
without additional information on why this should be done. Given this directive is contrary to the default Python style for imports, additional explanation is needed.
PEP8 guidance for imports:
Imports are always put at the top of the file, just after any module comments and docstrings, and before module globals and constants.