File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 37
37
_fixtimezone (cts:: NamedTuple ) = ZonedDateTime (cts. utc_datetime* " +00" )
38
38
39
39
# needed for deserialization from JSON during DFG v0.19 transition, see #867
40
+ # TODO this function can likely be removed, since julia automatically tries type conversion on constructors.
40
41
function BlobStoreEntry (;
41
42
id,
42
43
label,
@@ -49,15 +50,15 @@ function BlobStoreEntry(;
49
50
kwargs... # drop excessive fields
50
51
)
51
52
#
52
- BlobStoreEntry (
53
- UUID (id),
54
- Symbol (label),
55
- Symbol (blobstore),
53
+ BlobStoreEntry (;
54
+ id = UUID (id),
55
+ label = Symbol (label),
56
+ blobstore = Symbol (blobstore),
56
57
hash,
57
58
origin,
58
59
description,
59
60
mimeType,
60
- _fixtimezone (timestamp),
61
+ timestamp = _fixtimezone (timestamp),
61
62
)
62
63
end
63
64
You can’t perform that action at this time.
0 commit comments