diff --git a/python/tensorstore/tensorstore_class.cc b/python/tensorstore/tensorstore_class.cc index 3e6786931..a19883a5e 100644 --- a/python/tensorstore/tensorstore_class.cc +++ b/python/tensorstore/tensorstore_class.cc @@ -871,7 +871,7 @@ operation. cls.def( "__array__", - [](Self& self, std::optional dtype, + [](Self& self, std::optional dtype, std::optional copy, std::optional context) { return ValueOrThrow(internal_python::InterruptibleWait( tensorstore::Read(self.value))); @@ -920,7 +920,8 @@ See also: I/O )", - py::arg("dtype") = std::nullopt, py::arg("context") = std::nullopt); + py::arg("dtype") = std::nullopt, py::arg("copy") = std::nullopt, + py::arg("context") = std::nullopt); cls.def( "resolve",