Use basedpyright refactor
This commit is contained in:
@@ -4,5 +4,5 @@ from folkugat_web.dal.sql.temes import query as temes_q
|
||||
from folkugat_web.model import temes as model
|
||||
|
||||
|
||||
def get_tema_by_id(tema_id: int) -> Optional[model.Tema]:
|
||||
def get_tema_by_id(tema_id: int) -> model.Tema | None:
|
||||
return temes_q.get_tema_by_id(tema_id)
|
||||
|
||||
Reference in New Issue
Block a user