Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

整理: device に関して API と音声ライブラリを分離 #1250

Merged
merged 5 commits into from
May 25, 2024

Conversation

tarepan
Copy link
Contributor

@tarepan tarepan commented May 16, 2024

内容

supported_devices に関して API と音声ライブラリを分離するリファクタリングを提案します。

CORE の supported_devices が json 文字列を返しこれが危険だと指摘されたため(#1224 (review) )、クラス化が求められている。ここで SupportedDevicesInfo クラスを用いると #1249 の問題点が顕在化するため、新クラス定義により分離した。

関連 Issue

step1 of #1249

@tarepan tarepan marked this pull request as ready for review May 21, 2024 10:27
@tarepan tarepan requested a review from a team as a code owner May 21, 2024 10:27
@tarepan tarepan requested review from Hiroshiba and removed request for a team May 21, 2024 10:27
Copy link
Member

@Hiroshiba Hiroshiba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!

1箇所変えさせていただきます!

voicevox_engine/app/routers/engine_info.py Outdated Show resolved Hide resolved
@Hiroshiba Hiroshiba merged commit b11ff35 into VOICEVOX:master May 25, 2024
4 checks passed
@tarepan tarepan deleted the refactor/safe_device_info branch May 25, 2024 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants