Skip to content

Commit 885a10b

Browse files
authored
Merge pull request redis-developer#487 from redis-developer/savynorem-patch-1
Update index-redis-om.mdx
2 parents 924d775 + d13a10a commit 885a10b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/develop/python/redis-om/index-redis-om.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -782,8 +782,7 @@ class Customer(HashModel):
782782
# Before running queries, we need to run migrations to set up the
783783
# indexes that Redis OM will use. You can also use the `migrate`
784784
# CLI tool for this!
785-
redis = get_redis_connection()
786-
Migrator(redis).run()
785+
Migrator().run()
787786

788787

789788
# Find all customers with the last name "Brookins"

0 commit comments

Comments
 (0)