Skip to content

Commit ae3c5dd

Browse files
committed
fix: Derive from StrictDataDefineDirective subclass
1 parent abebfc5 commit ae3c5dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/sphinxnotes/data/render.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ def derive(
316316
# Generate directive class
317317
return type(
318318
'%sStrictDataDirective' % name.title(),
319-
(StrictDataDefineDirective,),
319+
(cls,),
320320
{
321321
'schema': schema,
322322
'template': tmpl,

0 commit comments

Comments
 (0)