🔄 refactor(deps.py): rename MarketplaceService to StoreService for better naming consistency and clarity
🔄 refactor(schema.py): rename `MARKETPLACE_SERVICE` enum value to `STORE_SERVICE` to match the renamed service
This commit is contained in:
parent
c5ef201755
commit
3e5eb62c5c
2 changed files with 3 additions and 3 deletions
|
|
@ -9,7 +9,7 @@ if TYPE_CHECKING:
|
|||
from langflow.services.session.service import SessionService
|
||||
from langflow.services.task.service import TaskService
|
||||
from langflow.services.chat.service import ChatService
|
||||
from langflow.services.marketplace.service import MarketplaceService
|
||||
from langflow.services.store.service import StoreService
|
||||
from sqlmodel import Session
|
||||
|
||||
|
||||
|
|
@ -49,5 +49,5 @@ def get_chat_service() -> "ChatService":
|
|||
return service_manager.get(ServiceType.CHAT_SERVICE)
|
||||
|
||||
|
||||
def get_marketplace_service() -> "MarketplaceService":
|
||||
def get_store_service() -> "StoreService":
|
||||
return service_manager.get(ServiceType.MARKETPLACE_SERVICE)
|
||||
|
|
|
|||
|
|
@ -14,4 +14,4 @@ class ServiceType(str, Enum):
|
|||
CHAT_SERVICE = "chat_service"
|
||||
SESSION_SERVICE = "session_service"
|
||||
TASK_SERVICE = "task_service"
|
||||
MARKETPLACE_SERVICE = "marketplace_service"
|
||||
MARKETPLACE_SERVICE = "store_service"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue