def _load(self):
        """Load the module and insert it into the parent's globals."""
        # Import the target module and insert it into the parent's namespace
        if self._module:
            return self._module
        self._module = importlib.import_module(self.__name__)
        self._parent_module_globals[self._local_name] = self._module

        # Update this object's dict so that if someone keeps a reference to the LazyLoader,
        # lookups are efficient (__getattr__ is only called on lookups that fail).
        self.__dict__.update(self._module.__dict__)

        return self._module
Load the module and insert it into the parent's globals.
cirq-core/cirq/_import.py