Skip to content

Commit c7470b3

Browse files
committed
also rm old unpackDFGMetadata
1 parent 0b239b8 commit c7470b3

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

src/GraphsDFG/services/GraphsDFGSerialization.jl

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -57,19 +57,10 @@ end
5757
function unpackDFGMetadata(packed::PackedGraphsDFG)
5858
commonfields = intersect(fieldnames(GraphsDFG), fieldnames(PackedGraphsDFG))
5959

60-
#FIXME Deprecate remove in DFG v0.24
61-
# setdiff!(commonfields, [:blobStores])
62-
# blobStores = Dict{Symbol, AbstractBlobstore}()
63-
# !isnothing(packed.blobStores) && merge!(blobStores, packed.blobStores)
64-
6560
setdiff!(commonfields, [:blobStores])
6661
blobStores = packed.blobStores
6762

68-
agent = packed.agent
69-
graphBlobEntries = packed.graphBlobEntries
70-
graphMetadata = packed.graphMetadata
71-
graphLabel = packed.graphLabel
72-
63+
#TODO add 'CanSerialize' trait to blobstores and also serialize NvaBlobStores
7364
_isfolderstorepath(s) = false
7465
_isfolderstorepath(s::FolderStore) = ispath(s.folder)
7566
# FIXME escalate to keyword
@@ -101,10 +92,6 @@ function unpackDFGMetadata(packed::PackedGraphsDFG)
10192

10293
return GraphsDFG{typeof(packed.solverParams), VT, FT}(;
10394
blobStores,
104-
graphBlobEntries,
105-
graphMetadata,
106-
graphLabel,
107-
agent,
10895
props...,
10996
)
11097
end

0 commit comments

Comments
 (0)