Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def _remove_all_post_import_hooks(self):
"""Helper to clear all module import hooks."""
_post_import_hooks.clear()