From dc3e00ced5ed382bdec4ba5a165dd8eee4609633 Mon Sep 17 00:00:00 2001 From: Ryo Yamashita Date: Fri, 7 Feb 2025 12:09:10 +0900 Subject: [PATCH] =?UTF-8?q?=E9=96=93=E9=81=95=E3=81=88=E3=81=A6`to=5Fjson`?= =?UTF-8?q?=E3=81=AB=E3=81=97=E3=81=A6=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/voicevox_core_python_api/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/voicevox_core_python_api/src/lib.rs b/crates/voicevox_core_python_api/src/lib.rs index c1595d640..26d580285 100644 --- a/crates/voicevox_core_python_api/src/lib.rs +++ b/crates/voicevox_core_python_api/src/lib.rs @@ -862,7 +862,7 @@ mod blocking { Ok(()) } - fn to_json<'py>(&self, py: Python<'py>) -> PyResult<&'py PyDict> { + fn to_dict<'py>(&self, py: Python<'py>) -> PyResult<&'py PyDict> { let words = self.dict.with_words(|words| { words .iter() @@ -1518,7 +1518,7 @@ mod asyncio { Ok(()) } - fn to_json<'py>(&self, py: Python<'py>) -> PyResult<&'py PyDict> { + fn to_dict<'py>(&self, py: Python<'py>) -> PyResult<&'py PyDict> { let words = self.dict.with_words(|words| { words .iter()