@classmethod
def __format_response(cls, response_method: Type[User]) -> HttpResponse:
    'Formatando a resposta'
    response = {'message': 'Informacoes do usuario atualizadas com sucesso!', 'data': {'id': response_method.id, 'name': response_method.name, 'email': response_method.email, 'username': response_method.username, 'password_hash': 'Nao mostramos isso aqui!', 'secundary_id': response_method.secundary_id, 'is_staff': response_method.is_staff, 'is_active_user': response_method.is_active_user, 'last_login': datetime.isoformat(response_method.last_login), 'date_joined': datetime.isoformat(response_method.date_joined)}}
    return HttpResponse(status_code=200, body=response)
Formatando a resposta
@classmethod
def __format_response(cls, response_method: Type[User]) -> HttpResponse:
    
    response = {'message': 'Informacoes do usuario atualizadas com sucesso!', 'data': {'id': response_method.id, 'name': response_method.name, 'email': response_method.email, 'username': response_method.username, 'password_hash': 'Nao mostramos isso aqui!', 'secundary_id': response_method.secundary_id, 'is_staff': response_method.is_staff, 'is_active_user': response_method.is_active_user, 'last_login': datetime.isoformat(response_method.last_login), 'date_joined': datetime.isoformat(response_method.date_joined)}}
    return HttpResponse(status_code=200, body=response)