Skip to content

Commit bfd9b88

Browse files
committed
Hide types to prevent runtime issue
1 parent c02affd commit bfd9b88

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/debugpy/adapter/components.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class Component(util.Observable):
3636
to wait_for() a change caused by another component.
3737
"""
3838

39-
def __init__(self, session: Session, stream: Union[messaging.JsonIOStream, None]=None, channel: Union[messaging.JsonMessageChannel, None]=None):
39+
def __init__(self, session: "Session", stream: "Union[messaging.JsonIOStream, None]"=None, channel: "Union[messaging.JsonMessageChannel, None]"=None):
4040
assert (stream is None) ^ (channel is None)
4141

4242
try:

0 commit comments

Comments
 (0)