We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6053ccb commit ca2d4a4Copy full SHA for ca2d4a4
aredis_om/model/model.py
@@ -1283,16 +1283,16 @@ async def delete_all(
1283
db = cls.db().pipeline(transaction=False)
1284
else:
1285
db = pipeline
1286
-
+
1287
for model in models:
1288
await model.delete(model.pk, pipeline=db)
1289
1290
# If the user didn't give us a pipeline, then we need to execute
1291
# the one we just created.
1292
if pipeline is None:
1293
result = await db.execute()
1294
pipeline_verifier(result, expected_responses=len(models))
1295
1296
return len(models)
1297
1298
@classmethod
0 commit comments