#include "kj/common.h" #include static_assert(CAPNP_VERSION >= 3000, "Version of Cap'n Proto C++ Library is too old. Please upgrade to a version >= 0.3 and then re-install this python library"); template T fixMaybe(::kj::Maybe val) { KJ_IF_MAYBE(new_val, val) { return *new_val; } else { throw std::invalid_argument("member was null"); } }