• This project
    • Loading...
  • Sign in

lizhengwei / aigc-embedding-service

Go to a project
Toggle navigation
  • Projects
  • Groups
  • Snippets
  • Help
Toggle navigation pinning
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • aigc-embedding-service
  • service
  • __init__.py
  • jira:NYJ-1447 desc:router -> service -> dao · 3a30d4b1
    3a30d4b1 Browse Files
    maxiaohui authored 2026-04-15 10:53:32 +0800
__init__.py 201 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10
from functools import lru_cache

from db import get_data_dao
from .data_service import DataService


@lru_cache()
def get_data_service():
    data_dao = get_data_dao()
    return DataService(data_dao)