Complete python-crontab (#9306)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
Nikita Sobolev
2023-02-07 16:21:06 +03:00
committed by GitHub
parent 32c575d980
commit 62c54da134
4 changed files with 123 additions and 100 deletions

View File

@@ -13,12 +13,11 @@ class SystemTab(list[CronTab]):
class AnaCronTab(list[CronTab]):
def __init__(self, loc: str, tabs: CronTabs | None = ...) -> None: ...
def add(self, loc: str, item: str, anajob) -> CronTab: ...
def add(self, loc: str, item: str, anajob: CronTab) -> CronTab: ...
KNOWN_LOCATIONS: list[tuple[UserSpool | SystemTab | AnaCronTab, str]]
class CronTabs(list[UserSpool | SystemTab | AnaCronTab]):
def __new__(cls, *args: Any, **kw: Any): ...
def __init__(self) -> None: ...
def add(self, cls: type[UserSpool | SystemTab | AnaCronTab], *args: Any) -> None: ...
@property