Skip to content

Commit 35a3d3b

Browse files
committed
remove unused code
1 parent f68a3de commit 35a3d3b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

scheduler/types/broker_types.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,3 @@
3434
}
3535

3636
TASK_TYPES = ["OnceTaskType", "RepeatableTaskType", "CronTaskType"]
37-
38-
39-
def is_pipeline(conn: ConnectionType) -> bool:
40-
return isinstance(conn, redis.client.Pipeline) or isinstance(conn, valkey.client.Pipeline)

0 commit comments

Comments
 (0)