@@ -263,11 +263,11 @@ void bind_serialization(pybind11::module &m) {
263263 m.def (" SerializeEvalMultKeyString" , &SerializeEvalMultKeyToStringWrapper<SerType::SERJSON>,
264264 py::arg (" sertype" ), py::arg (" id" ) = " " );
265265 m.def (" DeserializeEvalMultKeyString" , &DeserializeEvalMultKeyFromStringWrapper<SerType::SERJSON>,
266- py::arg (" sertype " ), py::arg (" id " ) = " " );
266+ py::arg (" data " ), py::arg (" sertype " ) );
267267 m.def (" SerializeEvalAutomorphismKeyString" , &SerializeEvalAutomorphismKeyToStringWrapper<SerType::SERJSON>,
268268 py::arg (" sertype" ), py::arg (" id" ) = " " );
269269 m.def (" DeserializeEvalAutomorphismKeyString" , &DeserializeEvalAutomorphismKeyFromStringWrapper<SerType::SERJSON>,
270- py::arg (" sertype " ), py::arg (" id " ) = " " );
270+ py::arg (" data " ), py::arg (" sertype " ) );
271271
272272 // Binary Serialization
273273 m.def (" SerializeToFile" , static_cast <bool (*)(const std::string&,const CryptoContext<DCRTPoly>&, const SerType::SERBINARY&)>(&Serial::SerializeToFile<DCRTPoly>),
@@ -315,9 +315,9 @@ void bind_serialization(pybind11::module &m) {
315315 m.def (" SerializeEvalMultKeyString" , &SerializeEvalMultKeyToBytesWrapper<SerType::SERBINARY>,
316316 py::arg (" sertype" ), py::arg (" id" ) = " " );
317317 m.def (" DeserializeEvalMultKeyString" , &DeserializeEvalMultKeyFromBytesWrapper<SerType::SERBINARY>,
318- py::arg (" sertype " ), py::arg (" id " ) = " " );
318+ py::arg (" data " ), py::arg (" sertype " ) );
319319 m.def (" SerializeEvalAutomorphismKeyString" , &SerializeEvalAutomorphismKeyToBytesWrapper<SerType::SERBINARY>,
320320 py::arg (" sertype" ), py::arg (" id" ) = " " );
321321 m.def (" DeserializeEvalAutomorphismKeyString" , &DeserializeEvalAutomorphismKeyFromBytesWrapper<SerType::SERBINARY>,
322- py::arg (" sertype " ), py::arg (" id " ) = " " );
322+ py::arg (" data " ), py::arg (" sertype " ) );
323323}
0 commit comments