Update croniter to 1.3.10 (#10027)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
Nikita Sobolev
2023-04-09 18:03:33 +03:00
committed by GitHub
parent 3102875bce
commit 02b8f77630
2 changed files with 12 additions and 3 deletions

View File

@@ -0,0 +1,4 @@
# Remove after
# https://github.com/kiorky/croniter/pull/36
# is merged:
croniter.croniter.i

View File

@@ -4,16 +4,21 @@ from collections import OrderedDict
from collections.abc import Iterator
from re import Match, Pattern
from typing import Any, overload
from typing_extensions import Literal, Self, TypeAlias
from typing_extensions import Final, Literal, Self, TypeAlias
_RetType: TypeAlias = type[float | datetime.datetime]
step_search_re: Pattern[str]
only_int_re: Pattern[str]
star_or_int_re: Pattern[str]
special_weekday_re: Pattern[str]
special_dow_re: Pattern[str]
hash_expression_re: Pattern[str]
VALID_LEN_EXPRESSION: list[int]
VALID_LEN_EXPRESSION: Final[list[int]]
ALPHAS: Final[dict[str, int]]
DOW_ALPHAS: Final[dict[str, int]]
MONTHS: Final[str]
M_ALPHAS: Final[dict[str, int]]
WEEKDAYS: Final[str]
def timedelta_to_seconds(td: datetime.timedelta) -> float: ...