Skip to content

Commit

Permalink
Merge pull request #984 from SUSIandJames/fix-typo-inheritance-md
Browse files Browse the repository at this point in the history
Fix typo in source code comment in inheritance.md
  • Loading branch information
adeelsohailahmed authored Aug 15, 2024
2 parents 2e1faf6 + 0eacc87 commit 0b8d50b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorial/inheritance.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ owner = await Owner(name='John', vehicles=[car_1, car_2, bus_1]).insert()
With parameter `with_children = True` the find query results will contain all the children classes' objects.

```python
# this query returns vehicles of all types that have white color, becuase `with_children` is True
# this query returns vehicles of all types that have white color, because `with_children` is True
white_vehicles = await Vehicle.find(Vehicle.color == 'white', with_children=True).to_list()
# [
# Bicycle(..., color='white', frame=54, wheels=29),
Expand Down

0 comments on commit 0b8d50b

Please sign in to comment.