mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
[croniter] Update to 3.0.4 (#12909)
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
version = "3.0.3" # keep micro version pinned, changes often
|
||||
version = "3.0.4"
|
||||
upstream_repository = "https://github.com/kiorky/croniter"
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
from .croniter import (
|
||||
OVERFLOW32B_MODE as OVERFLOW32B_MODE,
|
||||
CroniterBadCronError as CroniterBadCronError,
|
||||
CroniterBadDateError as CroniterBadDateError,
|
||||
CroniterBadTypeRangeError as CroniterBadTypeRangeError,
|
||||
|
||||
@@ -9,6 +9,11 @@ from typing_extensions import Never, Self, TypeAlias
|
||||
_RetType: TypeAlias = type[float | datetime.datetime]
|
||||
_Expressions: TypeAlias = list[str] # fixed-length list of 5 or 6 strings
|
||||
|
||||
def is_32bit() -> bool: ...
|
||||
|
||||
OVERFLOW32B_MODE: Final[bool]
|
||||
|
||||
EPOCH: Final[datetime.datetime]
|
||||
M_ALPHAS: Final[dict[str, int]]
|
||||
DOW_ALPHAS: Final[dict[str, int]]
|
||||
ALPHAS: Final[dict[str, int]]
|
||||
@@ -38,6 +43,8 @@ CRON_FIELDS: Final[dict[str | int, tuple[int, ...]]]
|
||||
VALID_LEN_EXPRESSION: Final[set[int]]
|
||||
EXPRESSIONS: dict[tuple[str, bytes], _Expressions]
|
||||
|
||||
UTC_DT: Final[datetime.timezone]
|
||||
|
||||
def timedelta_to_seconds(td: datetime.timedelta) -> float: ...
|
||||
|
||||
class CroniterError(ValueError): ...
|
||||
|
||||
Reference in New Issue
Block a user