Skip to content

Commit

Permalink
add presntation type in model
Browse files Browse the repository at this point in the history
  • Loading branch information
EslamAsHhraf committed Jun 23, 2024
1 parent 479edce commit 9ebef7d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/cypher-language/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ jar {
attributes "Copyright": "The Polypheny Project (polypheny.org)"
attributes "Version": "$project.version"
}
duplicatesStrategy(DuplicatesStrategy.EXCLUDE)

}
java {
withJavadocJar()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ public class NotebookCellModel {
@SerializedName("cell_type")
private String cellType;

@Getter
@SerializedName("cell_present")
private String presentType;

@Getter
private String id;

Expand All @@ -54,6 +58,7 @@ public NotebookCellModel( String code ) {

public NotebookCellModel( String code, List<Object> outputs ) {
this.cellType = "code";
this.presentType="skip";
this.id = UUID.randomUUID().toString();
this.source = code;
this.metadata = new CellMetadataModel();
Expand Down

0 comments on commit 9ebef7d

Please sign in to comment.