gemseo.core.grammars.required_names module#
Grammar required names.
- class RequiredNames(grammar, names=())[source]#
Bases:
MutableSet
[str
]A set-like class for handling grammar required names.
The names in an instance of this class shall belong to the bound grammar.
- Parameters:
grammar (BaseGrammar) -- The grammar bound to the required names.
names (Iterable[str]) --
The required names.
By default it is set to ().