def _set_envs():
    if args.env:
        if (args.runtime_backend == RuntimeBackendType.THREAD):
            logger.warning('environment variables should not be set when runtime="thread".')
        else:
            os.environ.update({k: str(v) for (k, v) in envs.items()})
def _set_envs():
    if args.env:
        if (args.runtime_backend == RuntimeBackendType.THREAD):
            logger.warning('environment variables should not be set when runtime="thread".')
        else:
            os.environ.update({k: str(v) for (k, v) in envs.items()})