Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lerobot/common/robots/robot.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

import abc
from pathlib import Path
from typing import Any
from typing import Any, Type

import draccus

Expand All @@ -39,7 +39,7 @@ class Robot(abc.ABC):
"""

# Set these in ALL subclasses
config_class: RobotConfig
config_class: Type[RobotConfig]
name: str

def __init__(self, config: RobotConfig):
Expand Down
4 changes: 2 additions & 2 deletions lerobot/common/teleoperators/teleoperator.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

import abc
from pathlib import Path
from typing import Any
from typing import Any, Type

import draccus

Expand All @@ -37,7 +37,7 @@ class Teleoperator(abc.ABC):
"""

# Set these in ALL subclasses
config_class: TeleoperatorConfig
config_class: Type[TeleoperatorConfig]
name: str

def __init__(self, config: TeleoperatorConfig):
Expand Down
Loading