def complex_func(a: int, b: int) -> int:
        """A complex function that uses a try-except block and returns the sum."""
        try:
            return a + b
        except Exception as e:
            raise ValueError(f"Failed to add numbers") from e
A complex function that uses a try-except block and returns the sum.
ai/core/tests/core/databricks/test_databricks_integration_tests.py