Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
raphasampaio committed Dec 12, 2024
1 parent 6663f8d commit 97ab33a
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/deploy/psrmodels.jl
Original file line number Diff line number Diff line change
@@ -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(;
Expand Down

0 comments on commit 97ab33a

Please sign in to comment.