Skip to content

Commit

Permalink
Revert "Fix unions"
Browse files Browse the repository at this point in the history
This reverts commit beb67cf.
  • Loading branch information
karthiknadig committed Sep 18, 2023
1 parent 8452b01 commit 24763e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pythonFiles/vscode_pytest/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ class ExecutionPayloadDict(Dict):
class EOTPayloadDict(TypedDict):
"""A dictionary that is used to send a end of transmission post request to the server."""

command_type: Union[Literal["discovery"], Literal["execution"]]
command_type: Literal["discovery"] | Literal["execution"]
eot: bool


Expand Down Expand Up @@ -672,7 +672,7 @@ def default(self, obj):


def send_post_request(
payload: Union[ExecutionPayloadDict, DiscoveryPayloadDict, EOTPayloadDict],
payload: ExecutionPayloadDict | DiscoveryPayloadDict | EOTPayloadDict,
cls_encoder=None,
):
"""
Expand Down

0 comments on commit 24763e4

Please sign in to comment.