Rendering code refactor
This commit is contained in:
@@ -5,7 +5,11 @@ from folkugat_web.model import temes as model
|
||||
|
||||
|
||||
def get_tema_by_id(tema_id: int) -> model.Tema | None:
|
||||
return temes_q.get_tema_by_id(tema_id)
|
||||
return temes_q.get_tema_by_id(tema_id=tema_id)
|
||||
|
||||
|
||||
def get_temes_by_ids(tema_ids: list[int]) -> list[model.Tema]:
|
||||
return temes_q.get_temes_by_ids(tema_ids=tema_ids)
|
||||
|
||||
|
||||
def tema_compute_stats(
|
||||
|
||||
Reference in New Issue
Block a user