From b8e35627f0a29f632e3a41a62302e25944741efe Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Thu, 23 May 2024 12:02:03 +0300 Subject: [PATCH] Bump python-crontab to 3.1.* (#12008) --- stubs/python-crontab/METADATA.toml | 2 +- stubs/python-crontab/crontab.pyi | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/stubs/python-crontab/METADATA.toml b/stubs/python-crontab/METADATA.toml index 2accac2d5..dcdabaed0 100644 --- a/stubs/python-crontab/METADATA.toml +++ b/stubs/python-crontab/METADATA.toml @@ -1,2 +1,2 @@ -version = "3.0.*" +version = "3.1.*" upstream_repository = "https://gitlab.com/doctormo/python-crontab" diff --git a/stubs/python-crontab/crontab.pyi b/stubs/python-crontab/crontab.pyi index 60cb20e41..63b64d008 100644 --- a/stubs/python-crontab/crontab.pyi +++ b/stubs/python-crontab/crontab.pyi @@ -259,6 +259,7 @@ class CronSlice: def __iter__(self) -> Iterator[int]: ... def __len__(self) -> int: ... def parse_value(self, val: str, sunday: int | None = ...) -> int | CronValue: ... + def test_value(self, value: str, sunday: int | None = None) -> str: ... def get_cronvalue(value: int, enums: list[str]) -> int | CronValue: ...