code: def _collect_from_package(self, module,
                                type_checker: Optional[FunctionType] = None,
                                ) -> Dict[str, Any]:
          
          type_checker = type_checker or self.type_check
          members = dict(self._get_members(module, type_checker))
  
          if pkgutil.get_loader(module).is_package(module.__name__):
              for loader, name, is_pkg in pkgutil.walk_packages(module.__path__):
                  child_module_name = f'{module.__package__}.{name}'
                  child_module = importlib.import_module(child_module_name)
                  for key, obj in self._get_members(child_module, type_checker):
                      if key not in members:
                          members[key] = obj
  
          return members
docs: Discover objects passing :meth:`type_check` by walking through all the
          child modules/packages in the given module (ie, do not require modules
          to import everything into their ``__init__.py`` for it to be discovered)