def METHOD_NAME(
    self, response_data: GraphQLHTTPResponse, sub_response: TemporalResponse
) -> Response:
    status_code = 200
    if sub_response.status_code != 200:
        status_code = sub_response.status_code
    return Response(
        body=self.encode_json(response_data),
        status_code=status_code,
        headers=sub_response.headers,
    )