class Solve::Solver::Serializer
def load_artifact(graph, artifact_spec)
def load_artifact(graph, artifact_spec) artifact = graph.artifact(artifact_spec["name"], artifact_spec["version"]) artifact_spec["dependencies"].each do |dependency_spec| load_dependency(artifact, dependency_spec) end artifact end