Skip to content

Commit 141829d

Browse files
committed
Update AttributeIO to call Tracer __init__
This makes it clearer that child classes need to call super init
1 parent 4dd2699 commit 141829d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/fastcs/attribute_io.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ def __init_subclass__(cls) -> None:
2626
args = get_args(cast(Any, cls).__orig_bases__[0])
2727
cls.ref_type = args[1]
2828

29+
def __init__(self):
30+
super().__init__()
31+
2932
async def update(self, attr: AttrR[T, AttributeIORefT]) -> None:
3033
raise NotImplementedError()
3134

0 commit comments

Comments
 (0)