semantique.exceptions.InvalidBuildingBlockError

semantique.exceptions.InvalidBuildingBlockError#

exception semantique.exceptions.InvalidBuildingBlockError[source]#

Raised when a query recipe contains an invalid building block.

This occurs for example when the building block is not dict-like, when the building block is missing a “type” key, or when the value of the “type” key does not correspond to a specific handler function of the query processor.