diff --git a/python/openapi/src/com/jetbrains/python/errorProcessing/PyResult.kt b/python/openapi/src/com/jetbrains/python/errorProcessing/PyResult.kt index 7682d19ddb28..a602104cf89f 100644 --- a/python/openapi/src/com/jetbrains/python/errorProcessing/PyResult.kt +++ b/python/openapi/src/com/jetbrains/python/errorProcessing/PyResult.kt @@ -2,6 +2,7 @@ package com.jetbrains.python.errorProcessing import com.jetbrains.python.packaging.PyExecutionException +import org.jetbrains.annotations.ApiStatus import org.jetbrains.annotations.Nls /** @@ -30,6 +31,7 @@ fun Result.asPythonResult(): com.jetbrains.python.Result = } ) +@ApiStatus.ScheduledForRemoval @Deprecated("Use python result, not kotlin result") fun PyResult.asKotlinResult(): Result = when (this) { is com.jetbrains.python.Result.Success -> {