From 0ab81aa4cae16dcdd3cb8118f9fedd274e24f130 Mon Sep 17 00:00:00 2001 From: ArthDubey1011 Date: Thu, 19 Nov 2026 14:00:27 +0530 Subject: [PATCH] [python-crontab] UserSpool.get_owner() can return None Co-Authored-By: Claude Opus 5.5 --- stubs/python-crontab/crontabs.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/python-crontab/crontabs.pyi b/stubs/python-crontab/crontabs.pyi index fcdfb77d8e42..23d5dd294a60 100644 --- a/stubs/python-crontab/crontabs.pyi +++ b/stubs/python-crontab/crontabs.pyi @@ -5,7 +5,7 @@ from crontab import CronTab class UserSpool(list[CronTab]): def __init__(self, loc: str, tabs: CronTabs | None = None) -> None: ... def listdir(self, loc: str) -> list[str]: ... - def get_owner(self, path: str) -> str: ... + def get_owner(self, path: str) -> str | None: ... def generate(self, loc: str, username: str) -> CronTab: ... class SystemTab(list[CronTab]):