@@ -91,10 +91,10 @@ PYBIND11_MODULE(fsmod, m)
9191 py::arg (" simulate_it" ) = true , " Read data from the File" )
9292 .def (" read" , py::overload_cast<sg_size_t , bool >(&File::read), py::arg (" num_bytes" ), py::arg (" simulate_it" ) = true ,
9393 " Read data from the File" )
94- .def (" write_async" , py::overload_cast<const std::string&>(&File::write_async), py::arg (" num_bytes" ),
95- " Asynchronously write data to the File" )
96- .def (" write_async" , py::overload_cast<sg_size_t >(&File::write_async), py::arg (" num_bytes" ),
97- " Asynchronously write data to the File" )
94+ .def (" write_async" , py::overload_cast<const std::string&, bool >(&File::write_async), py::arg (" num_bytes" ),
95+ py::arg ( " detached " ) = false , " Asynchronously write data to the File" )
96+ .def (" write_async" , py::overload_cast<sg_size_t , bool >(&File::write_async), py::arg (" num_bytes" ),
97+ py::arg ( " detached " ) = false , " Asynchronously write data to the File" )
9898 .def (" write" , py::overload_cast<const std::string&, bool >(&File::write), py::arg (" num_bytes" ),
9999 py::arg (" simulate_it" ) = true , " Write data to the File" )
100100 .def (" write" , py::overload_cast<sg_size_t , bool >(&File::write), py::arg (" num_bytes" ),
0 commit comments