robotcode-jsonrpc2 0.102.0__tar.gz → 0.103.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
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: robotcode-jsonrpc2
3
- Version: 0.102.0
3
+ Version: 0.103.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
@@ -10,6 +10,7 @@ Project-URL: Issues, https://github.com/robotcodedev/robotcode/issues
10
10
  Project-URL: Source, https://github.com/robotcodedev/robotcode
11
11
  Author-email: Daniel Biehl <dbiehl@live.de>
12
12
  License: Apache-2.0
13
+ License-File: LICENSE.txt
13
14
  Classifier: Development Status :: 5 - Production/Stable
14
15
  Classifier: Framework :: Robot Framework
15
16
  Classifier: Framework :: Robot Framework :: Tool
@@ -24,7 +25,7 @@ Classifier: Programming Language :: Python :: Implementation :: PyPy
24
25
  Classifier: Topic :: Utilities
25
26
  Classifier: Typing :: Typed
26
27
  Requires-Python: >=3.8
27
- Requires-Dist: robotcode-core==0.102.0
28
+ Requires-Dist: robotcode-core==0.103.0
28
29
  Description-Content-Type: text/markdown
29
30
 
30
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==0.102.0"]
28
+ dependencies = ["robotcode-core==0.103.0"]
29
29
  dynamic = ["version"]
30
30
 
31
31
  [project.urls]
@@ -0,0 +1 @@
1
+ __version__ = "0.103.0"
@@ -550,11 +550,14 @@ class JsonRPCProtocol(JsonRPCProtocolBase):
550
550
  if self.write_transport is not None:
551
551
  msg = header + body
552
552
 
553
- self._data_logger.trace(lambda: f"JSON send: {msg.decode()!r}")
553
+ self._do_trace_message(message, msg)
554
554
 
555
555
  if self._loop:
556
556
  self._loop.call_soon_threadsafe(self.write_transport.write, msg)
557
557
 
558
+ def _do_trace_message(self, message: JsonRPCMessage, msg: bytes) -> None:
559
+ self._data_logger.trace(lambda: f"JSON send: {msg.decode()!r}")
560
+
558
561
  @__logger.call
559
562
  def send_request(
560
563
  self,
@@ -1 +0,0 @@
1
- __version__ = "0.102.0"