MCPcopy Create free account
hub / github.com/dataease/SQLBot / get_i18n

Function get_i18n

backend/common/core/deps.py:14–15  ·  view source on GitHub ↗
(request: Request)

Source from the content-addressed store, hash-verified

12SessionDep = Annotated[Session, Depends(get_session)]
13i18n = I18n()
14async def get_i18n(request: Request):
15 return i18n(request)
16
17Trans = Annotated[I18n, Depends(get_i18n)]
18async def get_current_user(request: Request) -> UserInfoDTO:

Callers 1

dispatchMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected