-
Notifications
You must be signed in to change notification settings - Fork 4
Feature/validation in configterms #272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| "Homogenizing format and type of the metadata value for the given (raw) metadata: %s" | ||
| % term_values | ||
| ) | ||
| term_values_list = plugin.metadata_utils.gather( |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes unfortunately:
- Write a class where you will add the
_get_*and_validate_*methods (e.g. epos plugin) - Define a property
metadata_utilsthat instantiates the class above:
@property
def metadata_utils(self):
return MetadataValues()Of course this implementation could be improved to remove these requirements.
No description provided.