Skip to content

Commit bacc9f0

Browse files
authored
[RSDK-5823] Remove unused Board.Attributes code (#501)
This should have been removed in #491, but I forgot. It's dead code. Grepping the codebase for `Attributes` turns up only 1 result (in src/viam/errors.py), and that's a false positive. Linking things up: I noticed this while reviewing viamrobotics/docs#2313
1 parent 35c64cb commit bacc9f0

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/viam/components/board/board.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import abc
2-
from dataclasses import dataclass
32
from datetime import timedelta
43
from multiprocessing import Queue
54
from typing import Any, Callable, Dict, Final, List, Optional
@@ -25,13 +24,6 @@ class Board(ComponentBase):
2524

2625
SUBTYPE: Final = Subtype(RESOURCE_NAMESPACE_RDK, RESOURCE_TYPE_COMPONENT, "board")
2726

28-
@dataclass
29-
class Attributes:
30-
remote: bool
31-
"""
32-
Indicates whether this board is accessed over a remote connection, e.g. gRPC.
33-
"""
34-
3527
class AnalogReader(ComponentBase):
3628
"""
3729
AnalogReader represents an analog pin reader that resides on a Board.

0 commit comments

Comments
 (0)