"""A simple utility to unpickle some code, run it, and pickle the
results. Please don't unpickle (or run!) code you do not know.
+
+This script is used by code in parallelize, namely the
+:class:`RemoteExecutor`, to schedule work on a remote machine.
+The code in :file:`parallelize.py` uses a user-defined configuration
+to schedule work this way. See that file for setup instructions.
"""
import logging
@bootstrap.initialize
def main() -> None:
in_file = config.config['code_file']
+ assert in_file and type(in_file) == str
out_file = config.config['result_file']
+ assert out_file and type(out_file) == str
thread = None
stop_thread = None