Skip to content

Commit 7ba15c7

Browse files
committed
some spelling fixes
1 parent abd760f commit 7ba15c7

File tree

4 files changed

+24
-7
lines changed

4 files changed

+24
-7
lines changed

.github/wordlist.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,20 @@ MacOS
3838
Homebrew
3939
WSL
4040
OM's
41+
JSON
42+
fastapi
43+
redis
44+
Pipenv
45+
pyenv
46+
async
47+
Config
48+
runtime
49+
README.md
50+
redisjson
51+
TOC
52+
doctoc
53+
js
54+
APIs
55+
validator
56+
ORM
57+
SQLAlchemy

docs/connections.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Use the "unix" prefix to connect to Redis over Unix domain sockets:
5252

5353
### To Learn More
5454

55-
To learn more about the URL format that Redis OM Python uses, consult [redis-py's URL documentation](https://redis-py.readthedocs.io/en/stable/#redis.Redis.from_url).
55+
To learn more about the URL format that Redis OM Python uses, consult the [redis-py URL documentation](https://redis-py.readthedocs.io/en/stable/#redis.Redis.from_url).
5656

5757
**TIP:** The URL format is the same if you're using async or sync mode with Redis OM (i.e., importing `aredis_om` for async or `redis_om` for sync).
5858

docs/fastapi_integration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ This example shows how to manage these two uses of Redis within the same applica
3030

3131
Let's look at an example FastAPI app that uses Redis OM.
3232

33-
**NOTE**: This example code requires dependencies to run. To install the dependencies, first clone the [redis-om-fastapi](https://github.com/redis-developer/redis-om-fastapi) repository from GitHub. Then follow the installation steps later in this document or in that repository's README.md file.
33+
**NOTE**: This example code requires dependencies to run. To install the dependencies, first clone the [redis-om-fastapi](https://github.com/redis-developer/redis-om-fastapi) repository from GitHub. Then follow the installation steps later in this document or in that repository's README.md file.
3434

3535
```python
3636
import datetime
@@ -131,7 +131,7 @@ Get a copy of the value for "pk," which is the model's primary key, and make ano
131131
$ curl "http://localhost:8000/customer/01FM2G8EP38AVMH7PMTAJ123TA"
132132
{"pk":"01FM2G8EP38AVMH7PMTAJ123TA","first_name":"Andrew","last_name":"Brookins","email":"[email protected]","join_date":"2020-01-02","age":38,"bio":""}
133133

134-
You can also get a list of all customer PKs:
134+
You can also get a list of all customer primary keys:
135135

136136
$ curl "http://localhost:8000/customers"
137137
{"customers":["01FM2G8EP38AVMH7PMTAJ123TA"]}

docs/getting_started.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ python --version
1717
Python 3.7.0
1818
```
1919

20-
If you don't have Python installed, you can download it from [Python.org](https://www.python.org/downloads/), use [Pyenv](https://github.com/pyenv/pyenv), or install Python with your operating system's package manager.
20+
If you don't have Python installed, you can download it from [Python.org](https://www.python.org/downloads/), use [pyenv](https://github.com/pyenv/pyenv), or install Python with your operating system's package manager.
2121

2222
## Redis
2323

@@ -71,7 +71,7 @@ Otherwise, you can start the server manually:
7171

7272
$ redis-server start
7373

74-
### macOS with Homebrew
74+
### MacOS with Homebrew
7575

7676
$ brew services start redis
7777

@@ -427,7 +427,7 @@ type(andrew.join_date)
427427
# > datetime.date # The model parsed the string automatically!
428428
```
429429

430-
This ability to combine parsing (in this case, a YYYY-MM-DD date string) with validation can save you a lot of work.
430+
This ability to combine parsing (in this case, a date string) with validation can save you a lot of work.
431431

432432
However, you can turn off coercion -- check the next section on using strict validation.
433433

@@ -697,7 +697,7 @@ Customer.find(Customer.last_name == "Brookins").all()
697697
# Find all customers that do NOT have the last name "Brookins"
698698
Customer.find(Customer.last_name != "Brookins").all()
699699

700-
# Find all customers whose last name is "Brookins" OR whose age is
700+
# Find all customers whose last name is "Brookins" OR whose age is
701701
# 100 AND whose last name is "Smith"
702702
Customer.find((Customer.last_name == "Brookins") | (
703703
Customer.age == 100

0 commit comments

Comments
 (0)