Skip to content

Commit 296261a

Browse files
wouterwlnbvdmitri
andauthored
Type annotation for preprocess_plugins
Co-authored-by: Bagaev Dmitry <[email protected]>
1 parent 18970cb commit 296261a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/graph_engine.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2132,7 +2132,7 @@ Calls a plugin specific logic after the model has been created. By default does
21322132
"""
21332133
postprocess_plugin(plugin, model) = nothing
21342134

2135-
function preprocess_plugins(type::AbstractPluginTraitType, model::Model, context::Context, label::NodeLabel, nodedata::NodeData, options)
2135+
function preprocess_plugins(type::AbstractPluginTraitType, model::Model, context::Context, label::NodeLabel, nodedata::NodeData, options)::Tuple{NodeLabel, NodeData}
21362136
plugins = filter(type, getplugins(model))
21372137
return foldl(plugins; init = (label, nodedata)) do (label, nodedata), plugin
21382138
return preprocess_plugin(plugin, model, context, label, nodedata, options)

0 commit comments

Comments
 (0)