code: def _create(cls, model_class, *args, **kwargs):
          
          session = cls._meta.sqlalchemy_session
          session_persistence = cls._meta.sqlalchemy_session_persistence
          if cls._meta.force_flush:
              session_persistence = SESSION_PERSISTENCE_FLUSH
  
          obj = model_class(*args, **kwargs)
          if session is None:
              raise RuntimeError("No session provided.")
          session.add(obj)
          if session_persistence == SESSION_PERSISTENCE_FLUSH:
              session.flush()
          elif session_persistence == SESSION_PERSISTENCE_COMMIT:
              session.commit()
          return obj
docs: Create an instance of the model, and save it to the database.