Package org.openrewrite.python.marker
Class PythonResolutionResult.ResolvedDependency
java.lang.Object
org.openrewrite.python.marker.PythonResolutionResult.ResolvedDependency
- All Implemented Interfaces:
org.openrewrite.rpc.RpcCodec<PythonResolutionResult.ResolvedDependency>
- Enclosing class:
PythonResolutionResult
public static class PythonResolutionResult.ResolvedDependency
extends Object
implements org.openrewrite.rpc.RpcCodec<PythonResolutionResult.ResolvedDependency>
A resolved (locked) dependency from uv.lock.
Python resolution is flat: each package name appears exactly once with one version.
The dependencies list links directly to other ResolvedDependency
instances (self-referential, like Maven's model), enabling graph traversal.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionrpcReceive(PythonResolutionResult.ResolvedDependency before, org.openrewrite.rpc.RpcReceiveQueue q) voidrpcSend(PythonResolutionResult.ResolvedDependency after, org.openrewrite.rpc.RpcSendQueue q)
-
Constructor Details
-
ResolvedDependency
public ResolvedDependency()
-
-
Method Details
-
rpcSend
public void rpcSend(PythonResolutionResult.ResolvedDependency after, org.openrewrite.rpc.RpcSendQueue q) - Specified by:
rpcSendin interfaceorg.openrewrite.rpc.RpcCodec<PythonResolutionResult.ResolvedDependency>
-
rpcReceive
public PythonResolutionResult.ResolvedDependency rpcReceive(PythonResolutionResult.ResolvedDependency before, org.openrewrite.rpc.RpcReceiveQueue q) - Specified by:
rpcReceivein interfaceorg.openrewrite.rpc.RpcCodec<PythonResolutionResult.ResolvedDependency>
-