Skip to content

TypeOverlap

dotflow.core.types.overlap.TypeOverlap

Import

You can import the TypeOverlap class with:

from dotflow.core.types import TypeOverlap
Source code in dotflow/core/types/overlap.py
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
class TypeOverlap:
    """
    Import:
        You can import the **TypeOverlap** class with:

            from dotflow.core.types import TypeOverlap
    """

    SKIP: Annotated[str, Doc("Skip if previous run is still active.")] = "skip"
    QUEUE: Annotated[
        str,
        Doc(
            "Queue at most one pending execution. "
            "When the current run completes, the queued run starts. "
            "Extra triggers while a run is queued are dropped."
        ),
    ] = "queue"
    PARALLEL: Annotated[
        str,
        Doc(
            "Run concurrently, up to 10 simultaneous executions. "
            "Extra triggers beyond the limit are dropped."
        ),
    ] = "parallel"

SKIP = 'skip' class-attribute instance-attribute

Skip if previous run is still active.

QUEUE = 'queue' class-attribute instance-attribute

Queue at most one pending execution. When the current run completes, the queued run starts. Extra triggers while a run is queued are dropped.

PARALLEL = 'parallel' class-attribute instance-attribute

Run concurrently, up to 10 simultaneous executions. Extra triggers beyond the limit are dropped.