import functools
import typing
-import executors
-import smart_future
-
-ps_count = 0
-thread_count = 0
-remote_count = 0
-
class Method(Enum):
THREAD = 1
@functools.wraps(funct)
def inner_wrapper(*args, **kwargs):
+ import executors
+ import smart_future
+
# Look for as of yet unresolved arguments in _funct's
# argument list and resolve them now.
newargs = []