mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-08 22:36:18 +08:00
[stubsabot] Bump python-crontab to 3.3.* (#14409)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
from _typeshed import StrOrBytesPath
|
||||
from codecs import StreamReaderWriter
|
||||
from collections.abc import Generator, Iterator
|
||||
from datetime import datetime
|
||||
from types import TracebackType
|
||||
from typing_extensions import Self
|
||||
|
||||
@@ -20,6 +21,8 @@ class LogReader:
|
||||
def __iter__(self) -> Iterator[str]: ...
|
||||
def readlines(self, until: int = ...) -> Generator[tuple[int, str], None, None]: ...
|
||||
|
||||
def cron_date_to_datetime(cron_str: str) -> datetime: ...
|
||||
|
||||
class CronLog(LogReader):
|
||||
user: str | None
|
||||
def __init__(self, filename: StrOrBytesPath = ..., user: str | None = ...) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user