Skip to content

Commit e5f1889

Browse files
committed
Merge branch 'rchiodo/type_standard' of https://github.com/rchiodo/debugpy into rchiodo/type_standard
2 parents 2ce0c69 + 8b8467a commit e5f1889

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/debugpy/adapter/clients.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import atexit
88
import os
99
import sys
10-
from typing import TYPE_CHECKING, Any, Literal, Union, cast
10+
from typing import TYPE_CHECKING, Any, Callable, Literal, Union, cast
1111

1212
import debugpy
1313
from debugpy import adapter, common, launcher
@@ -203,7 +203,7 @@ def initialize_request(self, request):
203203
#
204204
# See https://github.com/microsoft/vscode/issues/4902#issuecomment-368583522
205205
# for the sequence of request and events necessary to orchestrate the start.
206-
def _start_message_handler(f):
206+
def _start_message_handler(f: Callable[..., Any])-> Callable[..., object | None]: # pyright: ignore[reportGeneralTypeIssues, reportSelfClsParameterName]
207207
@components.Component.message_handler
208208
def handle(self, request: messaging.Message):
209209
assert request.is_request("launch", "attach")

0 commit comments

Comments
 (0)