From 9ebef7d57c53d12f887d36199fa721bf96bd3b2c Mon Sep 17 00:00:00 2001 From: Eslam Ashraf Date: Sun, 23 Jun 2024 18:58:59 +0300 Subject: [PATCH] add presntation type in model --- plugins/cypher-language/build.gradle | 2 ++ .../db/notebooks/model/response/NotebookCellModel.java | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/plugins/cypher-language/build.gradle b/plugins/cypher-language/build.gradle index 3950c9186d..759c6d4ec9 100644 --- a/plugins/cypher-language/build.gradle +++ b/plugins/cypher-language/build.gradle @@ -98,6 +98,8 @@ jar { attributes "Copyright": "The Polypheny Project (polypheny.org)" attributes "Version": "$project.version" } + duplicatesStrategy(DuplicatesStrategy.EXCLUDE) + } java { withJavadocJar() diff --git a/plugins/notebooks/src/main/java/org/polypheny/db/notebooks/model/response/NotebookCellModel.java b/plugins/notebooks/src/main/java/org/polypheny/db/notebooks/model/response/NotebookCellModel.java index eff0cb22a5..d52663e657 100644 --- a/plugins/notebooks/src/main/java/org/polypheny/db/notebooks/model/response/NotebookCellModel.java +++ b/plugins/notebooks/src/main/java/org/polypheny/db/notebooks/model/response/NotebookCellModel.java @@ -30,6 +30,10 @@ public class NotebookCellModel { @SerializedName("cell_type") private String cellType; + @Getter + @SerializedName("cell_present") + private String presentType; + @Getter private String id; @@ -54,6 +58,7 @@ public NotebookCellModel( String code ) { public NotebookCellModel( String code, List outputs ) { this.cellType = "code"; + this.presentType="skip"; this.id = UUID.randomUUID().toString(); this.source = code; this.metadata = new CellMetadataModel();