Package org.openrewrite.python.marker
Class PythonResolutionResult.Dependency
java.lang.Object
org.openrewrite.python.marker.PythonResolutionResult.Dependency
- All Implemented Interfaces:
org.openrewrite.rpc.RpcCodec<PythonResolutionResult.Dependency>
- Enclosing class:
PythonResolutionResult
public static class PythonResolutionResult.Dependency
extends Object
implements org.openrewrite.rpc.RpcCodec<PythonResolutionResult.Dependency>
A dependency specification parsed from a PEP 508 string in pyproject.toml.
Used for declared dependencies (
dependencies, buildRequires,
optionalDependencies, dependencyGroups).
When a lock file is available, the resolved field links to the
corresponding PythonResolutionResult.ResolvedDependency entry.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionrpcReceive(PythonResolutionResult.Dependency before, org.openrewrite.rpc.RpcReceiveQueue q) voidrpcSend(PythonResolutionResult.Dependency after, org.openrewrite.rpc.RpcSendQueue q)
-
Constructor Details
-
Dependency
public Dependency()
-
-
Method Details
-
rpcSend
- Specified by:
rpcSendin interfaceorg.openrewrite.rpc.RpcCodec<PythonResolutionResult.Dependency>
-
rpcReceive
public PythonResolutionResult.Dependency rpcReceive(PythonResolutionResult.Dependency before, org.openrewrite.rpc.RpcReceiveQueue q) - Specified by:
rpcReceivein interfaceorg.openrewrite.rpc.RpcCodec<PythonResolutionResult.Dependency>
-