From 30798fc66c7fb795aa165528b0223ea1bf5c7cb8 Mon Sep 17 00:00:00 2001 From: jpic Date: Sun, 2 Aug 2020 20:09:40 +0200 Subject: [PATCH] Name parallel executor --- shlax/actions/parallel.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/shlax/actions/parallel.py b/shlax/actions/parallel.py index ed14a53..4359dba 100644 --- a/shlax/actions/parallel.py +++ b/shlax/actions/parallel.py @@ -9,3 +9,6 @@ class Parallel: return await asyncio.gather(*[ target(action) for action in self.actions ]) + + def __str__(self): + return 'Parallel executor'