Skip to content

Commit ec1c327

Browse files
authored
[croniter] Update to 3.0.4 (#12909)
1 parent efccd74 commit ec1c327

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

stubs/croniter/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version = "3.0.3" # keep micro version pinned, changes often
1+
version = "3.0.4"
22
upstream_repository = "https://github.com/kiorky/croniter"

stubs/croniter/croniter/__init__.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from .croniter import (
2+
OVERFLOW32B_MODE as OVERFLOW32B_MODE,
23
CroniterBadCronError as CroniterBadCronError,
34
CroniterBadDateError as CroniterBadDateError,
45
CroniterBadTypeRangeError as CroniterBadTypeRangeError,

stubs/croniter/croniter/croniter.pyi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ from typing_extensions import Never, Self, TypeAlias
99
_RetType: TypeAlias = type[float | datetime.datetime]
1010
_Expressions: TypeAlias = list[str] # fixed-length list of 5 or 6 strings
1111

12+
def is_32bit() -> bool: ...
13+
14+
OVERFLOW32B_MODE: Final[bool]
15+
16+
EPOCH: Final[datetime.datetime]
1217
M_ALPHAS: Final[dict[str, int]]
1318
DOW_ALPHAS: Final[dict[str, int]]
1419
ALPHAS: Final[dict[str, int]]
@@ -38,6 +43,8 @@ CRON_FIELDS: Final[dict[str | int, tuple[int, ...]]]
3843
VALID_LEN_EXPRESSION: Final[set[int]]
3944
EXPRESSIONS: dict[tuple[str, bytes], _Expressions]
4045

46+
UTC_DT: Final[datetime.timezone]
47+
4148
def timedelta_to_seconds(td: datetime.timedelta) -> float: ...
4249

4350
class CroniterError(ValueError): ...

0 commit comments

Comments
 (0)