@communities.command()<EOL>@click.argument('<STR_LIT>')<EOL>@click.argument('<STR_LIT>')<EOL>@with_appcontext<EOL>def remove(community_id, record_id):
c = Community.get(community_id)<EOL>assert c is not None<EOL>c.remove_record(record_id)<EOL>db.session.commit()<EOL>RecordIndexer().index_by_id(record_id)<EOL>
Remove a record from community.