From 172138ad57e6fd22a3af2f1ae7db78e15d69c583 Mon Sep 17 00:00:00 2001 From: Nikolay Chashnikov Date: Fri, 13 Feb 2026 13:14:43 +0100 Subject: [PATCH] IJPL-212619 python: mark deprecated unused API for removal API, which was marked as deprecated in 252 or earlier and has no external and internal usages, is marked for removal. GitOrigin-RevId: 1b2718d98de6c12266e9224d59e594ffbc986670 --- .../src/com/jetbrains/python/errorProcessing/PyResult.kt | 2 ++ 1 file changed, 2 insertions(+) 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 -> {