diff --git a/python/cel/cel.pyi b/python/cel/cel.pyi index c426a70..b47f1d1 100644 --- a/python/cel/cel.pyi +++ b/python/cel/cel.pyi @@ -4,8 +4,6 @@ Type stubs for the CEL Rust extension module. from typing import Any, Callable, Dict, Literal, Optional, Union, overload -from .evaluation_modes import EvaluationMode - class Context: """CEL evaluation context for variables and functions.""" @@ -35,8 +33,6 @@ class Context: def evaluate( expression: str, context: Optional[Union[Dict[str, Any], Context]] = None, - *, - mode: Union[Literal["python", "strict"], "EvaluationMode", str] = "python", ) -> Any: """ Evaluate a CEL expression. @@ -44,8 +40,6 @@ def evaluate( Args: expression: The CEL expression to evaluate context: Optional context with variables and functions - mode: Evaluation mode - either "python" (default) for mixed arithmetic - or "strict" for strict type matching Returns: The result of evaluating the expression