Skip to content
7 changes: 4 additions & 3 deletions src/constraint_handler/PropagatorConstants.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import enum
from typing import Literal
from typing import Any, Literal

from clingo import Symbol

from constraint_handler.schemas.warning import Warning

DEBUG_PRINT = False

DEFAULT_DECISION_LEVEL: Literal[-1] = -1

FALSE_ASSIGNMENTS: Literal["__FALSE_ASSIGNMENTS__"] = "__FALSE_ASSIGNMENTS__"

ENSURE_VAR_NAME: Literal["__ensure__"] = "__ensure__"
EXECUTION_INPUT: Literal["execution_input"] = "execution_input"
EXECUTION_OUTPUT: Literal["execution_output"] = "execution_output"
Expand Down Expand Up @@ -57,3 +57,4 @@ class NoValueSet(Exception):


type propagator_warning_t = list[Warning]
type evaluations_type = dict[Symbol, Any | set[Any] | dict[Any, Any]]
Loading
Loading