---------------------------------------------------------------------- This is the API documentation for the gdtest_decorators library. ---------------------------------------------------------------------- ## Functions Utility functions cache(ttl: int = 300) -> Callable Decorator that caches function results. Parameters ---------- ttl Time-to-live in seconds. Returns ------- Callable Decorator function. log_calls(func: Callable) -> Callable Decorator that logs function calls. Parameters ---------- func The function to wrap. Returns ------- Callable Wrapped function with logging. retry(max_retries: int = 3, delay: float = 1.0) -> Callable Decorator that retries a function on failure. Parameters ---------- max_retries Maximum number of retries. delay Delay between retries in seconds. Returns ------- Callable Decorator function. validate_args(*types) -> Callable Decorator that validates argument types. Parameters ---------- *types Expected types for each positional argument. Returns ------- Callable Decorator function.