code: def _reflect_all(exclude_tables=None, admin=None, read_only=False, schema=None):
      
      AutomapModel.prepare(  # pylint:disable=maybe-no-member
          db.engine, reflect=True, schema=schema)
      for cls in AutomapModel.classes:
          if exclude_tables and cls.__table__.name in exclude_tables:
              continue
          if read_only:
              cls.__methods__ = {'GET'}
          register_model(cls, admin)
docs: Register all tables in the given database as services.
  
      :param list exclude_tables: A list of tables to exclude from the API
                                  service