remove List imports

This commit is contained in:
Michael Poluektov committed 2024-08-14 13:46:31 +01:00
1 parent 038fc48ac0
commit 29f904db45
38 files changed
+124 -124

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
from pydantic import BaseModel, ConfigDict
from typing import List, Optional
from typing import Optional
import time
from sqlalchemy import String, Column, BigInteger, Text
@@ -82,7 +82,7 @@ class PromptsTable:
except Exception:
return None
def get_prompts(self) -> List[PromptModel]:
def get_prompts(self) -> list[PromptModel]:
with get_db() as db:
return [