Skip to content

Commit a80e37f

Browse files
committed
Fix typing
1 parent f94b932 commit a80e37f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

aredis_om/model/migrations/migrator.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ async def create_index(redis: redis_module.Redis, index_name, schema, current_ha
5050
await redis.execute_command(f"ft.info {index_name}")
5151
except redis_module.ResponseError:
5252
await redis.execute_command(f"ft.create {index_name} {schema}")
53-
await redis.set(schema_hash_key(index_name), current_hash)
53+
# TODO: remove type: ignore
54+
await redis.set(schema_hash_key(index_name), current_hash) # type: ignore
5455
else:
5556
log.info("Index already exists, skipping. Index hash: %s", index_name)
5657

0 commit comments

Comments
 (0)