def create_oaipmh_set(mapper, connection, community):
from invenio_oaiserver.models import OAISet<EOL>with db.session.begin_nested():<EOL><INDENT>obj = OAISet(spec=community.oaiset_spec,<EOL>name=community.title,<EOL>description=community.description)<EOL>db.session.add(obj)<EOL><DEDENT>
Signal for creating OAI-PMH sets during community creation.