robotcode-jsonrpc2 1.3.0.dev6__tar.gz → 1.4.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: robotcode-jsonrpc2
3
- Version: 1.3.0.dev6
3
+ Version: 1.4.0
4
4
  Summary: JSONRPC Server for RobotCode
5
5
  Project-URL: Homepage, https://robotcode.io
6
6
  Project-URL: Donate, https://opencollective.com/robotcode
@@ -25,7 +25,7 @@ Classifier: Programming Language :: Python :: Implementation :: PyPy
25
25
  Classifier: Topic :: Utilities
26
26
  Classifier: Typing :: Typed
27
27
  Requires-Python: >=3.8
28
- Requires-Dist: robotcode-core==1.3.0-dev.6
28
+ Requires-Dist: robotcode-core==1.4.0
29
29
  Description-Content-Type: text/markdown
30
30
 
31
31
  # robotcode-jsonrpc2
@@ -25,7 +25,7 @@ classifiers = [
25
25
  "Framework :: Robot Framework",
26
26
  "Framework :: Robot Framework :: Tool",
27
27
  ]
28
- dependencies = ["robotcode-core==1.3.0-dev.6"]
28
+ dependencies = ["robotcode-core==1.4.0"]
29
29
  dynamic = ["version"]
30
30
 
31
31
  [project.urls]
@@ -0,0 +1 @@
1
+ __version__ = "1.4.0"
@@ -196,7 +196,7 @@ def rpc_method(
196
196
  if isinstance(func, classmethod):
197
197
  f = func.__func__ # type: ignore
198
198
  elif isinstance(func, staticmethod):
199
- f = func.__func__ # type: ignore
199
+ f = func.__func__
200
200
  else:
201
201
  f = func
202
202
 
@@ -6,6 +6,7 @@ import threading
6
6
  from concurrent.futures import ThreadPoolExecutor
7
7
  from types import TracebackType
8
8
  from typing import (
9
+ Any,
9
10
  BinaryIO,
10
11
  Callable,
11
12
  Coroutine,
@@ -44,7 +45,7 @@ class StdOutTransportAdapter(asyncio.Transport):
44
45
  self.rfile.close()
45
46
  self.wfile.close()
46
47
 
47
- def write(self, data: bytes) -> None:
48
+ def write(self, data: "bytes | bytearray | memoryview[Any]") -> None:
48
49
  self.wfile.write(data)
49
50
  self.wfile.flush()
50
51
 
@@ -1 +0,0 @@
1
- __version__ = "1.3.0-dev.6"