🔄 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:
Gabriel Luiz Freitas Almeida 2023-10-18 16:24:05 -03:00
commit 3e5eb62c5c
2 changed files with 3 additions and 3 deletions

View file

@ -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)

View file

@ -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"