Problem
The validate_tag function in tagging_util.py passes arguments incorrectly to MetaflowTaggingError, causing str() to fail when the exception is rendered for non-string tag types. Additionally, the tagging utility module has zero test coverage.
Expected Behavior
- Error messages for invalid tag types should display correctly
- The tagging utilities should have comprehensive test coverage
Problem
The
validate_tagfunction intagging_util.pypasses arguments incorrectly toMetaflowTaggingError, causingstr()to fail when the exception is rendered for non-string tag types. Additionally, the tagging utility module has zero test coverage.Expected Behavior