From 97ab33a46386273c2189475aecd6b2f402a60923 Mon Sep 17 00:00:00 2001 From: raphasampaio Date: Thu, 12 Dec 2024 16:39:04 -0300 Subject: [PATCH] Updated --- src/deploy/psrmodels.jl | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/deploy/psrmodels.jl b/src/deploy/psrmodels.jl index 8aaddd1..0cd0577 100644 --- a/src/deploy/psrmodels.jl +++ b/src/deploy/psrmodels.jl @@ -1,13 +1,9 @@ -function get_key(contents::Pair) - return contents.second -end - -function get_key(contents::Dict) +function get_key(contents::Any) return contents["Key"] end -function get_key(contents::OrderedCollections.LittleDict) - return contents["Key"] +function get_key(contents::Pair) + return contents.second end function generate_unique_key(;