[models] make helper function async
This commit is contained in:
parent
f4caba78e8
commit
6155b54083
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ class Teilchen(TeilchenCreate, table=True):
|
|||
id: uuid.UUID = Field(default_factory=uuid.uuid7, primary_key=True)
|
||||
|
||||
|
||||
def make_teilchen_input(text: str) -> TeilchenCreate | None:
|
||||
async def make_teilchen_input(text: str) -> TeilchenCreate | None:
|
||||
import re
|
||||
from natsort import natsorted
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue