add hints for ty, remove hints for basedpyright
This commit is contained in:
parent
6155b54083
commit
a7d0bee0e7
1 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@ import logging
|
|||
import uuid
|
||||
|
||||
from sqlmodel import (
|
||||
Field, # pyright: ignore[reportUnknownVariableType]
|
||||
Field,
|
||||
SQLModel,
|
||||
)
|
||||
|
||||
|
|
@ -18,7 +18,7 @@ class TeilchenCreate(SQLModel):
|
|||
|
||||
|
||||
class Teilchen(TeilchenCreate, table=True):
|
||||
id: uuid.UUID = Field(default_factory=uuid.uuid7, primary_key=True)
|
||||
id: uuid.UUID = Field(default_factory=uuid.uuid7, primary_key=True) # ty:ignore[unresolved-attribute]
|
||||
|
||||
|
||||
async def make_teilchen_input(text: str) -> TeilchenCreate | None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue