From 89a97be2c51c8260ef5577add1f6f9a62a04bcba Mon Sep 17 00:00:00 2001 From: KKM <89138703+kyuengmanKim@users.noreply.github.com> Date: Sun, 4 Jan 2026 11:32:36 +0900 Subject: [PATCH] Remove duplicated tag_feas assignment in create route (api/apps/chunk_app.py) (#12392) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### What problem does this PR solve? This PR removes a duplicated assignment of `tag_feas` in the `@manager.route('/create')` API handler located in `api/apps/chunk_app.py`. The same conditional block was unintentionally repeated twice, which had no functional impact but reduced code readability and maintainability. This change eliminates the redundancy while preserving existing behavior. ### Type of change - [x] Refactoring Co-authored-by: 김경만 --- api/apps/chunk_app.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/api/apps/chunk_app.py b/api/apps/chunk_app.py index 1a7bed0c6..00580b958 100644 --- a/api/apps/chunk_app.py +++ b/api/apps/chunk_app.py @@ -260,8 +260,6 @@ async def create(): d["create_timestamp_flt"] = datetime.datetime.now().timestamp() if "tag_feas" in req: d["tag_feas"] = req["tag_feas"] - if "tag_feas" in req: - d["tag_feas"] = req["tag_feas"] try: def _create_sync():