Update pylint to 2.13.2 (#68704)
This commit is contained in:
parent
ea2b5a80db
commit
53110f8cb7
16 changed files with 34 additions and 16 deletions
|
@ -132,6 +132,7 @@ def websocket_command(
|
|||
|
||||
def decorate(func: const.WebSocketCommandHandler) -> const.WebSocketCommandHandler:
|
||||
"""Decorate ws command function."""
|
||||
# pylint: disable=protected-access
|
||||
func._ws_schema = messages.BASE_COMMAND_MESSAGE_SCHEMA.extend(schema) # type: ignore[attr-defined]
|
||||
func._ws_command = command # type: ignore[attr-defined]
|
||||
return func
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue