Skip to content

feat: Add type hints to D435Provider attributes#1832

Merged
openminddev merged 1 commit intoOpenMind:mainfrom
goblin0xcrypto:feat/add-type-hints-d435provider
Jan 26, 2026
Merged

feat: Add type hints to D435Provider attributes#1832
openminddev merged 1 commit intoOpenMind:mainfrom
goblin0xcrypto:feat/add-type-hints-d435provider

Conversation

@goblin0xcrypto
Copy link
Copy Markdown
Contributor

📝 Description

Add type annotations to D435Provider class attributes to improve code readability and type safety.

🔧 Changes

  • Add type hint list[dict[str, float]] to self.obstacle
  • Add type hint bool to self.running

✨ Benefits

  • Improved IDE autocomplete and type checking
  • Better code documentation
  • Enhanced maintainability
  • Follows modern Python 3.10+ type hinting standards

📍 Files Changed

  • src/providers/d435_provider.py

📸 Code Snippet

def __init__(self):
    self.obstacle: list[dict[str, float]] = []
    self.running: bool = False

@goblin0xcrypto goblin0xcrypto requested review from a team as code owners January 22, 2026 17:31
@github-actions github-actions Bot added robotics Robotics code changes python Python code labels Jan 22, 2026
@openminddev openminddev merged commit 9b72608 into OpenMind:main Jan 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python Python code robotics Robotics code changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants