code: def _get_manager_class(self, register_callables=False):
          
  
          class _EvaluatorSyncManager(managers.BaseManager):
              """
              A custom BaseManager.
              Please see the documentation of `multiprocessing` for more
              information.
              """
              pass
  
          inqueue = queue.Queue()
          outqueue = queue.Queue()
          namespace = Namespace()
  
          if register_callables:
              _EvaluatorSyncManager.register(
                  "get_inqueue",
                  callable=lambda: inqueue,
                  )
              _EvaluatorSyncManager.register(
                  "get_outqueue",
                  callable=lambda: outqueue,
                  )
              _EvaluatorSyncManager.register(
                  "get_state",
                  callable=self._get_secondary_state,
                  )
              _EvaluatorSyncManager.register(
                  "set_state",
                  callable=lambda v: self._secondary_state.set(v),
                  )
              _EvaluatorSyncManager.register(
                  "get_namespace",
                  callable=lambda: namespace,
                  )
  
  
          else:
              _EvaluatorSyncManager.register(
                  "get_inqueue",
                  )
              _EvaluatorSyncManager.register(
                  "get_outqueue",
                  )
              _EvaluatorSyncManager.register(
                  "get_state",
                  )
              _EvaluatorSyncManager.register(
                  "set_state",
                  )
              _EvaluatorSyncManager.register(
                  "get_namespace",
                  )
          return _EvaluatorSyncManager
docs: Returns a new 'Manager' subclass with registered methods.
          If 'register_callable' is True, defines the 'callable' arguments.