Skip to content

Fix MetaflowTaggingError formatting and add test coverage for tagging_util #3162

@Vaishnav88sk

Description

@Vaishnav88sk

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions