Skip to content

Commit

Permalink
Add methods to access separate keysets of the DefaultsDict (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
BioTurboNick authored Oct 1, 2022
1 parent 7e53ead commit c11fc68
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion RecipesPipeline/src/RecipesPipeline.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ export SliceIt,
unzip,
dateformatter,
datetimeformatter,
timeformatter
timeformatter,
explicitkeys,
defaultkeys
# API
export warn_on_recipe_aliases,
splittable_attribute,
Expand Down
2 changes: 2 additions & 0 deletions RecipesPipeline/src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ reset_kw!(d::AKW, k) = delete!(d, k)
pop_kw!(d::AKW, k) = pop!(d, k)
pop_kw!(d::AKW, k, default) = pop!(d, k, default)

explicitkeys(dd::DefaultsDict) = keys(dd.explicit)
defaultkeys(dd::DefaultsDict) = keys(dd.defaults)

# --------------------------------
# ## 3D types
Expand Down

0 comments on commit c11fc68

Please sign in to comment.