code: def load_entry_point_group(self, entry_point_group):
          
          for ep in pkg_resources.iter_entry_points(group=entry_point_group):
              admin_ep = dict(ep.load())
              keys = tuple(
                  k in admin_ep for k in ('model', 'modelview', 'view_class'))
  
              if keys == (False, False, True):
                  self.register_view(
                      admin_ep.pop('view_class'),
                      *admin_ep.pop('args', []),
                      **admin_ep.pop('kwargs', {})
                  )
              elif keys == (True, True, False):
                  warnings.warn(
                      'Usage of model and modelview kwargs are deprecated in '
                      'favor of view_class, args and kwargs.',
                      PendingDeprecationWarning
                  )
                  self.register_view(
                      admin_ep.pop('modelview'),
                      admin_ep.pop('model'),
                      admin_ep.pop('session', db.session),
                      **admin_ep
                  )
              else:
                  raise Exception(
                      'Admin entry point dictionary must contain '
                      'either "view_class" OR "model" and "modelview" keys.')
docs: Load administration interface from entry point group.
  
          :param str entry_point_group: Name of the entry point group.