def delete_all_group_documents(): config = load_config() if config['recordMode'] != 'none': session = get_user_session() group = session.groups.get('164d48fb-2343-332d-b566-1a4884a992e4') __delete_all(group.documents) __delete_all(group.trash)
def delete_all_documents(): config = load_config() if config['recordMode'] != 'none': session = get_user_session() __delete_all(session.documents) __delete_all(session.trash)