org.jetbrains.kotlinx.jupyter.api.libraries.LibraryResolutionRequest.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kotlin-jupyter-api Show documentation
Show all versions of kotlin-jupyter-api Show documentation
API for libraries supporting Kotlin Jupyter notebooks
package org.jetbrains.kotlinx.jupyter.api.libraries
class LibraryResolutionRequest(
val reference: LibraryReference,
val arguments: List,
val definition: LibraryDefinition,
) {
override fun toString(): String {
return buildString {
append("Library request: ")
append(reference.toString())
if (arguments.isNotEmpty()) {
append("(")
append(arguments.map { "${it.name} = ${it.value}" })
append(")")
}
}
}
}