Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
tphung3 committed Sep 21, 2023
1 parent 71282b5 commit afbddd2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion parsl/executors/taskvine/exec_parsl_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def load_function(map_file, function_file, argument_file):

mapping = unpack_object_from_file(map_file)
remap_all_files(mapping, fn_args, fn_kwargs)

# Create the namespace to isolate the function execution.
user_ns = locals()
user_ns.update({'__builtins__': __builtins__})
Expand Down
4 changes: 1 addition & 3 deletions parsl/executors/taskvine/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,11 @@
import hashlib
import subprocess
import os
import pickle
import queue
import inspect
import shutil
import itertools
import uuid
from ctypes import c_bool
from concurrent.futures import Future
from typing import List, Optional, Union, Literal

Expand Down Expand Up @@ -78,7 +76,7 @@ class TaskVineExecutor(BlockProviderExecutor, putils.RepresentationMixin):
Default is 'factory'.
function_exec_mode: Union[Literal['regular'], Literal['serverless']]
Choose to execute functions with a regular fresh python process or a
Choose to execute functions with a regular fresh python process or a
pre-warmed forked python process.
Default is 'regular'.
Expand Down
1 change: 0 additions & 1 deletion parsl/executors/taskvine/factory.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import logging
import time

from parsl.process_loggers import wrap_with_logs
from parsl.executors.taskvine.errors import TaskVineFactoryFailure
Expand Down

0 comments on commit afbddd2

Please sign in to comment.