From 9b8330b2d4d6eb05cc76b241e127b8b8e606295e Mon Sep 17 00:00:00 2001 From: Sachaa-Thanasius Date: Sun, 8 Sep 2024 15:15:42 +0530 Subject: [PATCH] Satisfy pyright. --- src/defer_imports/console.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/defer_imports/console.py b/src/defer_imports/console.py index d575fc8..4d284c4 100644 --- a/src/defer_imports/console.py +++ b/src/defer_imports/console.py @@ -44,6 +44,8 @@ class DeferredInteractiveConsole(code.InteractiveConsole): This ensures that defer_imports.until_use works as intended when used directly in this console. """ + compile: codeop.CommandCompiler + def __init__(self) -> None: local_ns = { "__name__": "__console__",