gemseo / core / grammars

Hide inherited members

errors module

Grammar errors.

exception gemseo.core.grammars.errors.InvalidDataError[source]

Bases: Exception

Error raised when data is not valid against a grammar.

with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

args

Examples using InvalidDataError

Merge or update a JSONGrammar

Merge or update a JSONGrammar

Use a pydantic grammar

Use a pydantic grammar