entropy-lab / entropy

BSD 3-Clause "New" or "Revised" License
30 stars 13 forks source link

New ParamStore methods: rename_key() and list_tags_for_key() #219

Closed urig closed 2 years ago

urig commented 2 years ago

This PR introduces two new methods for the ParamStore ABC and implementation:

  1. rename_key(key, new_key) renames an existing key to a new key.
  2. list_tags_for_key(key) returns a list of all tags assigned to the key.

Additionally the method list_keys() has been renamed list_keys_for_tag() to improve readability.

github-actions[bot] commented 2 years ago

Unit Test Results

    1 files      1 suites   51s :stopwatch: 212 tests 208 :heavy_check_mark: 4 :zzz: 0 :x:

Results for commit 5a3f9331.