Skip to content

[JULES] fix(types): Add return type annotations to public methods - TYPE-005 #50

@JuanCS-Dev

Description

@JuanCS-Dev

Problem

Several public methods lack return type annotations, reducing code clarity and IDE support.

Scope (LIMITED)

Add return type annotations to public methods in these 3 specific files only:

  1. vertice_cli/handlers/llm_processing_handler.py
  2. vertice_cli/handlers/tool_execution_handler.py
  3. vertice_cli/core/session_manager/storage.py

Requirements

  • Add return type hints to all public methods (not starting with _)
  • Use appropriate types from typing module (Optional, List, Dict, etc.)
  • Follow existing type annotation patterns in the codebase
  • Ensure type hints are accurate based on actual return values

Acceptance Criteria

  • All public methods have return type annotations
  • Type hints are accurate and match actual returns
  • No new type errors introduced (run: python -m py_compile <file>)
  • Tests still pass

Out of Scope

  • Do NOT modify private methods (starting with _)
  • Do NOT modify other files
  • Do NOT change method logic

Metadata

Metadata

Assignees

No one assigned

    Labels

    julesTask for Jules AImediumMedium priorityrefactorCode refactoring

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions