Skip to content

Commit bc07bd8

Browse files
committed
Fix typo
1 parent e0301f8 commit bc07bd8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pep.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,7 @@ Automatically deriving FastAPI CRUD models
970970
------------------------------------------
971971

972972
We have a more `fully-worked example <#fastapi-test_>`_ in our test
973-
suite, but here is a possible implementation of just ``Public``::
973+
suite, but here is a possible implementation of just ``Create``::
974974

975975
# Extract the default type from an Init field.
976976
# If it is a Field, then we try pulling out the "default" field,

tests/test_fastapilike_2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class Field[T: FieldArgs](typing.InitField[T]):
7373
# Begin PEP section: Automatically deriving FastAPI CRUD models
7474
"""
7575
We have a more `fully-worked example <#fastapi-test_>`_ in our test
76-
suite, but here is a possible implementation of just ``Public``::
76+
suite, but here is a possible implementation of just ``Create``::
7777
"""
7878

7979
# Extract the default type from an Init field.

0 commit comments

Comments
 (0)