Skip to content

Commit 9b120cb

Browse files
Merge branch 'master' into format_fixes
2 parents 006a564 + d828d39 commit 9b120cb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ To connect with a username and/or password, pass those options to the client
5252
initializer.
5353

5454
```py
55-
client = Client("my-index", username="user", password="my-password")
55+
client = Client("my-index", password="my-password")
5656
```
5757

5858
### Using core Redis commands
@@ -65,7 +65,7 @@ import datetime
6565

6666
from redisearch import Client
6767

68-
START_TIME = datetime.datetime.now()
68+
START_TIME = datetime.datetime.now().strftime("%Y-%m-%d-%H:%M.%S")
6969

7070
client = Client("my-index")
7171

@@ -85,7 +85,7 @@ client = Client("my-index")
8585

8686
try:
8787
client.info()
88-
except ResponseError
88+
except ResponseError:
8989
# Index does not exist. We need to create it!
9090
```
9191

@@ -108,7 +108,7 @@ index from within the Hashes that the index follows. The field types are:
108108

109109
* TextField
110110
* TagField
111-
* NumericalField
111+
* NumericField
112112
* GeoField
113113

114114
For more information on what these field types mean, consult the [RediSearch

0 commit comments

Comments
 (0)