File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 14
14
15
15
import abc
16
16
from pathlib import Path
17
- from typing import Any
17
+ from typing import Any , Type
18
18
19
19
import draccus
20
20
@@ -39,7 +39,7 @@ class Robot(abc.ABC):
39
39
"""
40
40
41
41
# Set these in ALL subclasses
42
- config_class : RobotConfig
42
+ config_class : Type [ RobotConfig ]
43
43
name : str
44
44
45
45
def __init__ (self , config : RobotConfig ):
Original file line number Diff line number Diff line change 14
14
15
15
import abc
16
16
from pathlib import Path
17
- from typing import Any
17
+ from typing import Any , Type
18
18
19
19
import draccus
20
20
@@ -37,7 +37,7 @@ class Teleoperator(abc.ABC):
37
37
"""
38
38
39
39
# Set these in ALL subclasses
40
- config_class : TeleoperatorConfig
40
+ config_class : Type [ TeleoperatorConfig ]
41
41
name : str
42
42
43
43
def __init__ (self , config : TeleoperatorConfig ):
You can’t perform that action at this time.
0 commit comments