mirror of
https://github.com/fastapi/sqlmodel.git
synced 2025-08-14 17:41:37 +08:00
📝 Update admonitions in annotations (#1065)
This commit is contained in:

committed by
GitHub

parent
d55af68fd7
commit
ee44f3b85e
@ -14,10 +14,13 @@
|
||||
|
||||
3. Get one hero object, expecting exactly one.
|
||||
|
||||
!!! tip
|
||||
This ensures there's no more than one, and that there's exactly one, not `None`.
|
||||
/// tip
|
||||
|
||||
This would never return `None`, instead it would raise an exception.
|
||||
This ensures there's no more than one, and that there's exactly one, not `None`.
|
||||
|
||||
This would never return `None`, instead it would raise an exception.
|
||||
|
||||
///
|
||||
|
||||
4. Print the hero object.
|
||||
|
||||
|
Reference in New Issue
Block a user