|
@ -1,5 +1,6 @@ |
|
|
import abc |
|
|
import abc |
|
|
from functools import cached_property |
|
|
from functools import cached_property |
|
|
|
|
|
from typing import Union # TODO: s pythonem 3.10 přepsat na '|' |
|
|
|
|
|
|
|
|
import seminar.models as m |
|
|
import seminar.models as m |
|
|
from django.db.models import Q, Sum |
|
|
from django.db.models import Q, Sum |
|
@ -17,7 +18,7 @@ class FixedIterator: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def body_resitelu( |
|
|
def body_resitelu( |
|
|
za=None, |
|
|
za: Union[m.Cislo, m.Rocnik, None] = None, |
|
|
do: m.Deadline = None, |
|
|
do: m.Deadline = None, |
|
|
od: m.Deadline = None, |
|
|
od: m.Deadline = None, |
|
|
jen_verejne: bool = True, |
|
|
jen_verejne: bool = True, |
|
|