def find_autorest_generated_folder(module_prefix="<STR_LIT>"):
_LOGGER.info(f"<STR_LIT>")<EOL>if module_prefix in ["<STR_LIT>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>"]:<EOL><INDENT>_LOGGER.info(f"<STR_LIT>")<EOL>return []<EOL><DEDENT>result = []<EOL>try:<EOL><INDENT>_LOGGER.debug(f"<STR_LIT>")<EOL>model_module = importlib.import_module("<STR_LIT>", module_prefix)<EOL>model_module.__path__<EOL>_LOGGER.info(f"<STR_LIT>")<EOL>result.append(module_prefix)<EOL><DEDENT>except (ModuleNotFoundError, AttributeError):<EOL><INDENT>prefix_module = importlib.import_module(module_prefix)<EOL>for _, sub_package, ispkg in pkgutil.iter_modules(prefix_module.__path__, module_prefix+"<STR_LIT:.>"):<EOL><INDENT>if ispkg:<EOL><INDENT>result += find_autorest_generated_folder(sub_package)<EOL><DEDENT><DEDENT><DEDENT>return result<EOL>
Find all Autorest generated code in that module prefix.
    This actually looks for a "models" package only (not file). We could be smarter if necessary.