Fix type for Master.opts to accept None (#7752)

This commit is contained in:
Justin Su 2025-06-03 06:47:49 -04:00 committed by GitHub
parent b5ac8e62ea
commit 2d5db47bb8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -26,7 +26,7 @@ class Master:
def __init__(
self,
opts: options.Options,
opts: options.Options | None,
event_loop: asyncio.AbstractEventLoop | None = None,
with_termlog: bool = False,
):