Skip to content

Commit bf9b39c

Browse files
committed
narrow type
1 parent c6648b1 commit bf9b39c

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

rerobots/types.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,17 @@ class CamImage(TypedDict, total=False):
2626
data: str
2727

2828

29+
class PortForward(TypedDict, total=False):
30+
ipv4: str
31+
port: int
32+
33+
2934
class InstanceInfo(TypedDict, total=False):
3035
id: str
3136
deployment: str
3237
type: str
3338
status: InstanceStatus
3439
region: str
3540
starttime: str
36-
fwd: dict
41+
fwd: PortForward
3742
hostkeys: list[str]

0 commit comments

Comments
 (0)