robotcode-jsonrpc2 1.0.3__tar.gz → 1.2.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.0.3
3
+ Version: 1.2.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.0.3
28
+ Requires-Dist: robotcode-core==1.2.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.0.3"]
28
+ dependencies = ["robotcode-core==1.2.0"]
29
29
  dynamic = ["version"]
30
30
 
31
31
  [project.urls]
@@ -0,0 +1 @@
1
+ __version__ = "1.2.0"
@@ -94,7 +94,9 @@ class JsonRPCServer(Generic[TProtocol], abc.ABC):
94
94
  (
95
95
  self.tcp_params.host
96
96
  if isinstance(self.tcp_params.host, str)
97
- else self.tcp_params.host[0] if self.tcp_params.host else None
97
+ else self.tcp_params.host[0]
98
+ if self.tcp_params.host
99
+ else None
98
100
  ),
99
101
  )
100
102
  else:
@@ -1 +0,0 @@
1
- __version__ = "1.0.3"