Skip to content

Commit

Permalink
Bug 1876528 [wpt PR 44204] - Fix type annotations for remove_user_con…
Browse files Browse the repository at this point in the history
…text command interface, a=testonly

Automatic update from web-platform-tests
Fix type annotations for remove_user_context command interface

--

wpt-commits: 9df54b7a774e195d6371bcef2f6569c33a051e04
wpt-pr: 44204

UltraBlame original commit: e17d2bbe016efdbc6268ddb2a6c217d9765fed0b
  • Loading branch information
marco-c committed Feb 1, 2024
1 parent f21b47d commit 2deecf0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Any, Mapping, MutableMapping, Optional
from typing import Any, Mapping, MutableMapping

from ._module import BidiModule, command

Expand Down Expand Up @@ -34,7 +34,7 @@ def _get_user_contexts(self, result: Mapping[str, Any]) -> Any:

@command
def remove_user_context(
self, user_context: Optional[str] = None
self, user_context: str
) -> Mapping[str, Any]:
params: MutableMapping[str, Any] = {}

Expand Down

0 comments on commit 2deecf0

Please sign in to comment.