Skip to content

Commit e0c920f

Browse files
committed
doc: fix dynamic schema attribute exclusion example
1 parent 327503a commit e0c920f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/tutorial.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ To disable an attribute in a custom resource subclass, annotate it with type ``N
363363
364364
>>> class CustomUser(User):
365365
... # This attribute will be excluded from schema generation
366-
... external_id: None = None
366+
... foobar: None = None
367367
368368
Dynamic models from schemas
369369
===========================

0 commit comments

Comments
 (0)