code: def __init__(
      self,
      create_env: Callable[[None], "TradingEnvironment"],
      model: ParallelDQNModel = None,
  ):
      self.create_env = create_env
      self.model = model or ParallelDQNModel(create_env=self.create_env)
  
imports: from deprecated import deprecated
  import time
  import numpy
  import multiprocessing
  from typing import Callable
  from tensortrade.agents import Agent
  from tensortrade.agents.parallel.parallel_dqn_model import ParallelDQNModel
  from tensortrade.agents.parallel.parallel_dqn_optimizer import ParallelDQNOptimizer
  from tensortrade.agents.parallel.parallel_dqn_trainer import ParallelDQNTrainer
  from tensortrade.agents.parallel.parallel_queue import ParallelQueue
label_desc: Use image node_id 1 to create a new ParallelDQNAgent object from inherited base classes: Agent with example: obj = ParallelDQNAgent(create_env, model)