mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
fix(common_daily_activity.py): fix python 3_8 error
This commit is contained in:
parent
49759d5678
commit
ba1b552e8b
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from typing import Any, Dict, List, Optional, Union
|
from typing import Any, Dict, List, Optional, Set, Union
|
||||||
|
|
||||||
from fastapi import HTTPException, status
|
from fastapi import HTTPException, status
|
||||||
|
|
||||||
|
@ -103,7 +103,7 @@ def update_breakdown_metrics(
|
||||||
|
|
||||||
async def get_api_key_metadata(
|
async def get_api_key_metadata(
|
||||||
prisma_client: PrismaClient,
|
prisma_client: PrismaClient,
|
||||||
api_keys: set[str],
|
api_keys: Set[str],
|
||||||
) -> Dict[str, Dict[str, Any]]:
|
) -> Dict[str, Dict[str, Any]]:
|
||||||
"""Update api key metadata for a single record."""
|
"""Update api key metadata for a single record."""
|
||||||
key_records = await prisma_client.db.litellm_verificationtoken.find_many(
|
key_records = await prisma_client.db.litellm_verificationtoken.find_many(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue