-
Notifications
You must be signed in to change notification settings - Fork 61
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
New Mapping Type #41
Comments
I'm interested in something similar: some sort of We have a sequence of building blocks (taken together, they specify a training process for a particular topic model). There is a small list of building blocks available (at the moment, only two: For now, I'm handling the situation like this:
Is there a better way? |
No, that looks pretty much exactly how I'd do it. |
Create a new kind of mapping validator where it looks for one key and then once it sees that key it expects several others (some may be optional).
Primary use case is here : https://github.com/hitchdev/seleniumdirector/blob/master/seleniumdirector/webdirector.py where the following groups of keys in the mapping are acceptable:
However id, class, attribute, text is and text contains should never be seen together, however - using the current validator, every key is optional.
The text was updated successfully, but these errors were encountered: