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

整理: EngineManifestLoader を削除して簡略化 #1230

Merged
merged 2 commits into from
May 17, 2024

Conversation

tarepan
Copy link
Contributor

@tarepan tarepan commented May 11, 2024

内容

概要: EngineManifestLoader を削除してリファクタリング

EngineManifestLoader はエンジンマニフェストを取得するクラスである。
そのインスタンスは生成直後に .load_manifest() メソッドが呼ばれており、実質的には関数として機能している。
ゆえにクラスが過剰なラッパーとなっている。

このような背景から、EngineManifestLoader の削除によるリファクタリングを提案します。

関連 Issue

無し

@tarepan tarepan requested a review from a team as a code owner May 11, 2024 13:24
@tarepan tarepan requested review from Hiroshiba and removed request for a team May 11, 2024 13:24
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!!

voicevox_engine/engine_manifest/EngineManifestLoader.pyのファイル名も合わせたいですね・・・!

@Hiroshiba Hiroshiba merged commit 57fdf1e into VOICEVOX:master May 17, 2024
4 checks passed
@tarepan tarepan deleted the refactor/minifest_class branch May 17, 2024 17:28
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