def build_executable_code_part(code: str) -> types.Part:
    """Builds an executable code part with code string.

    Args:
      code: The code string.

    Returns:
      The constructed executable code part.
    """
    return types.Part.from_executable_code(
        code=code,
        language='PYTHON',
    )
Builds an executable code part with code string.

    Args:
      code: The code string.

    Returns:
      The constructed executable code part.
    
src/google/adk/code_executors/code_execution_utils.py