openrewrite-remote 0.2.2__tar.gz → 0.2.4__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.
- {openrewrite_remote-0.2.2 → openrewrite_remote-0.2.4}/PKG-INFO +1 -1
- {openrewrite_remote-0.2.2 → openrewrite_remote-0.2.4}/pyproject.toml +1 -1
- {openrewrite_remote-0.2.2 → openrewrite_remote-0.2.4}/rewrite/remote/sender.py +1 -0
- {openrewrite_remote-0.2.2 → openrewrite_remote-0.2.4}/rewrite/remote/type_utils.py +2 -0
- {openrewrite_remote-0.2.2 → openrewrite_remote-0.2.4}/rewrite/remote/__init__.py +0 -0
- {openrewrite_remote-0.2.2 → openrewrite_remote-0.2.4}/rewrite/remote/client.py +0 -0
- {openrewrite_remote-0.2.2 → openrewrite_remote-0.2.4}/rewrite/remote/event.py +0 -0
- {openrewrite_remote-0.2.2 → openrewrite_remote-0.2.4}/rewrite/remote/java/extensions.py +0 -0
- {openrewrite_remote-0.2.2 → openrewrite_remote-0.2.4}/rewrite/remote/java/receiver.py +0 -0
- {openrewrite_remote-0.2.2 → openrewrite_remote-0.2.4}/rewrite/remote/java/sender.py +0 -0
- {openrewrite_remote-0.2.2 → openrewrite_remote-0.2.4}/rewrite/remote/python/extensions.py +0 -0
- {openrewrite_remote-0.2.2 → openrewrite_remote-0.2.4}/rewrite/remote/python/receiver.py +0 -0
- {openrewrite_remote-0.2.2 → openrewrite_remote-0.2.4}/rewrite/remote/python/sender.py +0 -0
- {openrewrite_remote-0.2.2 → openrewrite_remote-0.2.4}/rewrite/remote/receiver.py +0 -0
- {openrewrite_remote-0.2.2 → openrewrite_remote-0.2.4}/rewrite/remote/remote_utils.py +0 -0
- {openrewrite_remote-0.2.2 → openrewrite_remote-0.2.4}/rewrite/remote/remoting.py +0 -0
- {openrewrite_remote-0.2.2 → openrewrite_remote-0.2.4}/rewrite/remote/server.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "openrewrite-remote"
|
3
|
-
version = "0.2.
|
3
|
+
version = "0.2.4" # This will be replaced by the GitHub Actions workflow
|
4
4
|
description = "Remoting functionality for the OpenRewrite library."
|
5
5
|
authors = ["Moderne Inc. <support@moderne.io>"]
|
6
6
|
license = "Apache-2.0"
|
@@ -361,6 +361,7 @@ class DefaultValueSerializer(ValueSerializer):
|
|
361
361
|
if (id := context.remoting_context.try_get_id(value)):
|
362
362
|
encoder.encode_int(id)
|
363
363
|
else:
|
364
|
+
id = context.remoting_context.add(value)
|
364
365
|
encoder.encode_length(5, 3)
|
365
366
|
encoder.encode_string('@ref')
|
366
367
|
encoder.encode_int(id)
|
@@ -41,6 +41,8 @@ def to_java_type_name(t: typing.Type) -> str:
|
|
41
41
|
return 'org.openrewrite.python.tree.PyRightPadded'
|
42
42
|
if t.__name__ == 'PyContainer':
|
43
43
|
return 'org.openrewrite.python.tree.PyContainer'
|
44
|
+
if t.__module__.startswith('rewrite.python.markers'):
|
45
|
+
return 'org.openrewrite.python.marker.' + t.__qualname__
|
44
46
|
if t.__module__.startswith('rewrite.python.tree'):
|
45
47
|
return 'org.openrewrite.python.tree.Py$' + t.__qualname__.replace('.', '$')
|
46
48
|
if t.__module__.startswith('rewrite.marker'):
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|