def detailed_func(a: int, b: int) -> int:
        """
        A detailed function example.

        Args:
            a: The first number
            b: The second number

        Returns:
            int: The sum of a and b

        Raises:
            ValueError: If a or b are negative
        """
        if a < 0 or b < 0:
            raise ValueError("Both numbers must be non-negative")
        return a + b

        A detailed function example.

        Args:
            a: The first number
            b: The second number

        Returns:
            int: The sum of a and b

        Raises:
            ValueError: If a or b are negative
        
ai/core/tests/core/test_callable_utils.py