apache_beam.transforms.enrichment_handlers.utils module

class apache_beam.transforms.enrichment_handlers.utils.ExceptionLevel[source]

Bases: enum.Enum

Options to set the severity of exceptions.

You can set the exception level option to either log a warning, or raise an exception, or do nothing when an empty row is fetched from the external service.

Members:
  • RAISE: Raise the exception.
  • WARN: Log a warning for exception without raising it.
  • QUIET: Neither log nor raise the exception.
RAISE = 0
WARN = 1
QUIET = 2