MCPcopy Create free account
hub / github.com/AgentOps-AI/agentops / __call__

Method __call__

app/api/agentops/public/v1/auth.py:25–31  ·  view source on GitHub ↗
(
        self, body: AuthTokenRequest, orm: Session = Depends(get_orm_session)
    )

Source from the content-addressed store, hash-verified

23 """
24
25 async def __call__(
26 self, body: AuthTokenRequest, orm: Session = Depends(get_orm_session)
27 ) -> AuthTokenResponse:
28 project = await self.get_project(api_key=body.api_key, orm=orm)
29 return AuthTokenResponse(
30 bearer=generate_jwt(project=project),
31 )

Callers

nothing calls this directly

Calls 3

generate_jwtFunction · 0.90
AuthTokenResponseClass · 0.70
get_projectMethod · 0.45

Tested by

no test coverage detected