gemseo.core.grammars.grammar_properties module#

A dictionary-like interface to store the properties of grammar elements.

class GrammarProperties(grammar, data)[source]#

Bases: Serializable, MutableMapping[str, Any]

A dictionary-like interface to store the properties of grammar elements.

The namespace settings of the grammar are taken into account.

Initialize self. See help(type(self)) for accurate signature.

Parameters:
  • grammar (BaseGrammar) -- The grammar bound to the properties.

  • data (StrKeyMapping) -- The description is missing.

copy()[source]#
Return type:

Self