app.models.role.Role.get_or_create

classmethod Role.get_or_create(**kwargs)