code: def _set_thread_count(self, thread_count):
      if thread_count is not None and thread_count != -1:
          params = self._params
          params["thread_count"] = thread_count
          self.__set_params(params)
  
file_path: catboost/catboost/python-package/catboost/eval/execution_case.py
imports: import json
  from ..None import CatBoostError
  from ..eval.factor_utils import FactorUtils
  from ..core import _NumpyAwareEncoder
label_desc: Use image node_id 3 for calling the ExecutionCase obj's underlying member method code with example usage: obj._set_thread_count(thread_count) without return types