Commit 64b4a5f
authored
Make Trace class inherit from abc.ABC for proper abstract base class behavior (#1233)
The Trace class was using @abc.abstractmethod decorators without
inheriting
from abc.ABC, which meant the abstract methods weren't enforced.
This change makes the class properly abstract while maintaining all
existing functionality
since no code directly instantiates Trace() - all usage goes through the
concrete implementations NoOpTrace and TraceImpl.1 parent 00412a1 commit 64b4a5f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
0 commit comments