mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
Merge branch 'rchiodo/type_standard' of https://github.com/rchiodo/debugpy into rchiodo/type_standard
This commit is contained in:
commit
e5f18898a1
1 changed files with 2 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ from __future__ import annotations
|
|||
import atexit
|
||||
import os
|
||||
import sys
|
||||
from typing import TYPE_CHECKING, Any, Literal, Union, cast
|
||||
from typing import TYPE_CHECKING, Any, Callable, Literal, Union, cast
|
||||
|
||||
import debugpy
|
||||
from debugpy import adapter, common, launcher
|
||||
|
|
@ -203,7 +203,7 @@ class Client(components.Component):
|
|||
#
|
||||
# See https://github.com/microsoft/vscode/issues/4902#issuecomment-368583522
|
||||
# for the sequence of request and events necessary to orchestrate the start.
|
||||
def _start_message_handler(f):
|
||||
def _start_message_handler(f: Callable[..., Any])-> Callable[..., object | None]: # pyright: ignore[reportGeneralTypeIssues, reportSelfClsParameterName]
|
||||
@components.Component.message_handler
|
||||
def handle(self, request: messaging.Message):
|
||||
assert request.is_request("launch", "attach")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue