From where to import RequestBody object?

The example code at the following link references a RequestBody object, a Success / Response & Failure Object.
Where should I import these objects from ?

    body=RequestBody(UserProfile, required=True),
    summary="User profile update",
    response=[Success, Response(Failure, status=400)],

Thank you

:thinking: That is not a great example, because I do not even know where Success and Failure were meant to come from. To be honest, this is probably some poor documentation as they were meant to be custom models.

However, the other two can be imported here:

from sanic_ext.extensions.openapi.definitions import RequestBody, Response