NotPublishedError#

exception safir.metrics.NotPublishedError(*, expected, actual, actual_models, not_found)#

Bases: BaseAssertionError, Generic

Some expected items were not published.

Parameters:
  • expected (ModelDumpList)

  • actual (ModelDumpList)

  • actual_models (list[TypeVar(P, bound= EventPayload)])

  • not_found (ModelDumpList)

errormsg()#

Return a string to be added to the exception message.

Return type:

str

This page was last modified on .