Skip to content

Commit

Permalink
Merge branch 'presentation-mode-for-notebooks'
Browse files Browse the repository at this point in the history
  • Loading branch information
EslamAsHhraf committed Jul 29, 2024
2 parents 18d3cce + 5005cee commit d85613c
Show file tree
Hide file tree
Showing 2 changed files with 11 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 @@ -95,6 +95,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 @@ -46,6 +50,9 @@ public class NotebookCellModel {
@Getter
private List<Object> outputs;

@Getter
private boolean showOutput;


public NotebookCellModel( String code ) {
this( code, new LinkedList<>() );
Expand All @@ -54,6 +61,8 @@ public NotebookCellModel( String code ) {

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

0 comments on commit d85613c

Please sign in to comment.