Browse Source

Typová anotace body_resitelu(do=…)

pull/3/head
Pavel "LEdoian" Turinsky 2 years ago
parent
commit
442d2a20f4
  1. 3
      vysledkovky/utils.py

3
vysledkovky/utils.py

@ -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,

Loading…
Cancel
Save