mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-18 14:29:47 +08:00
Use PEP 570 syntax in third party stubs (#11554)
This commit is contained in:
@@ -250,7 +250,7 @@ class PipelineCommand:
|
||||
) -> None: ...
|
||||
|
||||
class _ParseResponseCallback(Protocol):
|
||||
def __call__(self, __connection: Connection, __command: EncodableT, **kwargs: Incomplete) -> Any: ...
|
||||
def __call__(self, connection: Connection, command: EncodableT, /, **kwargs: Incomplete) -> Any: ...
|
||||
|
||||
class NodeCommands:
|
||||
parse_response: _ParseResponseCallback
|
||||
|
||||
Reference in New Issue
Block a user