[PR #338] [MERGED] Fix content asset service import in video studio create endpoint #646

Closed
opened 2026-03-13 21:01:34 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AJaySi/ALwrity/pull/338
Author: @AJaySi
Created: 2/10/2026
Status: Merged
Merged: 2/11/2026
Merged by: @AJaySi

Base: mainHead: codex/fix-service-import-in-create.py


📝 Commits (1)

  • 2f97637 Fix video studio content asset service import

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 backend/routers/video_studio/endpoints/create.py (+1 -1)

📄 Description

Motivation

  • Fix an invalid import path so ContentAssetService is imported from the correct module to avoid import errors during module load.

Description

  • Updated the import in backend/routers/video_studio/endpoints/create.py to from services.content_asset_service import ContentAssetService (replacing the incorrect services.content_assets.content_asset_service).

Testing

  • Searched for services.content_assets under backend/routers/video_studio and backend/routers with rg and found no remaining matches.
  • Ran python -c "from services.content_asset_service import ContentAssetService" in backend/ and the import succeeded.
  • Attempted a router import smoke-check by importing routers.video_studio via importlib.import_module, which still fails due to an unrelated ModuleNotFoundError: No module named 'utils.auth_utils' (this is not caused by the changed import).

Codex Task


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/AJaySi/ALwrity/pull/338 **Author:** [@AJaySi](https://github.com/AJaySi) **Created:** 2/10/2026 **Status:** ✅ Merged **Merged:** 2/11/2026 **Merged by:** [@AJaySi](https://github.com/AJaySi) **Base:** `main` ← **Head:** `codex/fix-service-import-in-create.py` --- ### 📝 Commits (1) - [`2f97637`](https://github.com/AJaySi/ALwrity/commit/2f9763788525def584d3bd61f4f8e8af218bb032) Fix video studio content asset service import ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `backend/routers/video_studio/endpoints/create.py` (+1 -1) </details> ### 📄 Description ### Motivation - Fix an invalid import path so `ContentAssetService` is imported from the correct module to avoid import errors during module load. ### Description - Updated the import in `backend/routers/video_studio/endpoints/create.py` to `from services.content_asset_service import ContentAssetService` (replacing the incorrect `services.content_assets.content_asset_service`). ### Testing - Searched for `services.content_assets` under `backend/routers/video_studio` and `backend/routers` with `rg` and found no remaining matches. - Ran `python -c "from services.content_asset_service import ContentAssetService"` in `backend/` and the import succeeded. - Attempted a router import smoke-check by importing `routers.video_studio` via `importlib.import_module`, which still fails due to an unrelated `ModuleNotFoundError: No module named 'utils.auth_utils'` (this is not caused by the changed import). ------ [Codex Task](https://chatgpt.com/codex/tasks/task_e_698b460595048328bf1d6554f8904b37) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-13 21:01:34 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ALwrity#646
No description provided.