-
Notifications
You must be signed in to change notification settings - Fork 2
change delete return type #1134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@deprecate addBlob!(store::AbstractBlobStore, blobId::UUID, data, ::String) addBlob!(store, blobId, data) | ||
@deprecate addBlob!(store::AbstractBlobStore{T}, data::T, ::String) where {T} addBlob!(store, uuid4(), data) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
@deprecate addBlob!(store::AbstractBlobStore, blobId::UUID, data, ::String) addBlob!(store, blobId, data) | |
@deprecate addBlob!(store::AbstractBlobStore{T}, data::T, ::String) where {T} addBlob!(store, uuid4(), data) | |
@deprecate addBlob!(store::AbstractBlobStore, blobId::UUID, data, ::String) addBlob!( | |
store, | |
blobId, | |
data, | |
) | |
@deprecate addBlob!(store::AbstractBlobStore{T}, data::T, ::String) where {T} addBlob!( | |
store, | |
uuid4(), | |
data, | |
) |
@@ -62,8 +70,3 @@ DFGSummary(args) = error("DFGSummary is deprecated") | |||
|
|||
@deprecate lsfWho(dfg::AbstractDFG, type::Symbol) lsf(dfg, getfield(Main, type)) | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
@@ -213,8 +213,15 @@ function updateGraphMetadata!(dfg::AbstractDFG, pair::Pair{Symbol, String}) | |||
return push!(dfg.graphMetadata, pair) | |||
end | |||
|
|||
deleteAgentMetadata!(dfg::AbstractDFG, key::Symbol) = pop!(dfg.agent.metadata, key) | |||
deleteGraphMetadata!(dfg::AbstractDFG, key::Symbol) = pop!(dfg.graphMetadata, key) | |||
function deleteAgentMetadata!(dfg::AbstractDFG, key::Symbol) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
function deleteAgentMetadata!(dfg::AbstractDFG, key::Symbol) | |
function deleteAgentMetadata!(dfg::AbstractDFG, key::Symbol) |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #1134 +/- ##
===========================================
+ Coverage 75.49% 75.57% +0.08%
===========================================
Files 28 28
Lines 2387 2391 +4
===========================================
+ Hits 1802 1807 +5
+ Misses 585 584 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
delete
should now return number of nodes deleted