Skip to content

Commit 210f50b

Browse files
"inherit" didn't do anything
1 parent cb87828 commit 210f50b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

schemascii/data_consumer.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ def coalesce_options(cls: type[DataConsumer]) -> list[Option]:
6767
if opt == "inherit":
6868
if seen_inherit:
6969
raise ValueError("can't use 'inherit' twice")
70-
70+
for base in cls.__bases__:
71+
opts.extend(coalesce_options(base))
7172
seen_inherit = True
7273
elif isinstance(opt, tuple):
7374
for base in cls.__bases__:

0 commit comments

Comments
 (0)