def func_with_class(a: int) -> str:
        """
        A function that defines a class inside.

        Args:
            a: The parameter a

        Returns:
            str: A string representation of the object created
        """

        class Example:
            def __init__(self, val: int):
                self.val = val

            def double(self) -> int:
                return self.val * 2

        obj = Example(a)
        return str(obj.double())

        A function that defines a class inside.

        Args:
            a: The parameter a

        Returns:
            str: A string representation of the object created
        
ai/core/tests/core/test_callable_utils.py