Skip to content

Commit

Permalink
add import time
Browse files Browse the repository at this point in the history
  • Loading branch information
rishav-karanjit committed Oct 8, 2024
1 parent 61531b8 commit d15373f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,7 @@ public String unionShape(UnionShape shape) {

@Override
public String timestampShape(TimestampShape shape) {
writer.addImport("time");
if (this.isOptional) {
return "Wrappers.Companion_Option_.Create_None_()";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,7 @@ public String unionShape(UnionShape shape) {

@Override
public String timestampShape(TimestampShape shape) {
writer.addImport("time");
return "Wrappers.Companion_Option_.Create_None_()";
}
}

0 comments on commit d15373f

Please sign in to comment.