Skip to content
Snippets Groups Projects
Jo Sama's avatar
Jo Sama authored
This allows more readable code, as we can do

  if batch.batch_progress == BatchProgressEnum.VALIDATION_FAILED:

instead of

  if batch.batch_progress == str(BatchProgressEnum.VALIDATION_FAILED):

or

  if batch.batch_progress == BatchProgressEnum.VALIDATION_FAILED.value:
651ac402
History
Name Last commit Last update