Skip to content

drop_response_type

faststream.utils.functions.drop_response_type #

drop_response_type(model)
Source code in faststream/utils/functions.py
def drop_response_type(
    model: CallModel[F_Spec, F_Return],
) -> CallModel[F_Spec, F_Return]:
    model.response_model = None
    return model