Skip to content

Commit 6b6dfd6

Browse files
Improve typing in example
1 parent 97167d6 commit 6b6dfd6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,6 @@ From there, you can query your new `Model` by calling CRUD methods on the instan
134134
```python
135135
# ...
136136

137-
async get_some_record() -> None:
138-
result = await a_model.read.one_by_id('some record id')
137+
async get_some_record() -> List[AModel]:
138+
return await a_model.read.one_by_id('some record id') # NOTE: in reality the id would be a UUID
139139
```

0 commit comments

Comments
 (0)