Coverage for o2/models/timetable/batch_type.py: 100%

5 statements  

« prev     ^ index     » next       coverage.py v7.6.12, created at 2025-05-16 11:18 +0000

1from enum import Enum 

2 

3 

4class BATCH_TYPE(str, Enum): # noqa: N801 

5 """Enum for defining how batches are processed.""" 

6 

7 SEQUENTIAL = "Sequential" # one after another 

8 CONCURRENT = "Concurrent" # tasks are in progress simultaneously 

9 # (executor changes the context between different tasks) 

10 PARALLEL = "Parallel" # tasks are being executed simultaneously