Skip to content

Conversation

@orviz
Copy link
Collaborator

@orviz orviz commented Nov 28, 2025

No description provided.

@orviz orviz requested a review from ferag as a code owner November 28, 2025 11:28
"Homogenizing format and type of the metadata value for the given (raw) metadata: %s"
% term_values
)
term_values_list = plugin.metadata_utils.gather(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have problems with this metadata_utils. Is it something that should implement each plugin?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes unfortunately:

  1. Write a class where you will add the _get_* and _validate_* methods (e.g. epos plugin)
  2. Define a property metadata_utils that instantiates the class above:
    @property
    def metadata_utils(self):
        return MetadataValues()

Of course this implementation could be improved to remove these requirements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants