Since this thing is on the innerwebs I suppose it should have a
[python_utils.git] / parallelize.py
index 698a7eca130d2ffc64a9619c89bdc2be5eb34ba9..77d7649fe956a1542c1a60ce99ca96365ef59ce0 100644 (file)
@@ -1,14 +1,19 @@
 #!/usr/bin/env python3
 
+# © Copyright 2021-2022, Scott Gasch
+
 """A decorator to help with dead simple parallelization."""
 
+
 import atexit
-from enum import Enum
 import functools
 import typing
+from enum import Enum
 
 
 class Method(Enum):
+    """How should we parallelize; by threads, processes or remote workers?"""
+
     THREAD = 1
     PROCESS = 2
     REMOTE = 3