move ident request to orchestration_server.py;
import sys modules for proper pickling;
This commit is contained in:
@@ -1,12 +1,19 @@
|
||||
import json
|
||||
import pickle
|
||||
import sys
|
||||
|
||||
from dse_shared_libs import daf, traffic_light_state, traffic_light_color, target_velocity
|
||||
from dse_shared_libs.daf import DAF
|
||||
from dse_shared_libs.message_broker_wrapper import MBWrapper
|
||||
from dse_shared_libs.target_velocity import TargetVelocity
|
||||
from dse_shared_libs.traffic_light_state import TrafficLightState
|
||||
from redis import StrictRedis
|
||||
|
||||
sys.modules['daf'] = daf
|
||||
sys.modules['traffic_light_state'] = traffic_light_state
|
||||
sys.modules['traffic_light_color'] = traffic_light_color
|
||||
sys.modules['target_velocity'] = target_velocity
|
||||
|
||||
|
||||
class EventLogger:
|
||||
def __init__(self, redis, log_to_redis, verbose):
|
||||
|
||||
Reference in New Issue
Block a user