DS-4699 Support Image Preview for CV libraries

Implemented basic image preview request to Jupyter kernel

GitOrigin-RevId: d60e9d72bad7295a3eab1de1f7c113b494b9e38f
This commit is contained in:
Andrey Vokin
2023-05-31 09:55:34 +02:00
committed by intellij-monorepo-bot
parent a4b21ced7e
commit 2633af2954

View File

@@ -101,6 +101,11 @@ public interface PyFrameAccessor {
@Nullable
String execTableCommand(String command, TableCommandType commandType, @Nullable TableCommandParameters tableCommandParameters) throws PyDebuggerException;
/**
* @return result as a preview image packed into json array. Image can be compressed if necessary.
*/
default String execImageCommand(String command) { return null; }
@Nullable
default XCompositeNode getCurrentRootNode() {
return null;