code: def __reduce__(self):
      try:
          assert_spawning(self)
      except RuntimeError:
          raise TypeError(
              "Pickling an AuthenticationKey object is "
              "disallowed for security reasons"
          )
      return AuthenticationKey, (bytes(self),)
  
file_path: catboost/contrib/python/joblib/joblib/externals/loky/backend/process.py
imports: import sys
  from multiprocessing.context import assert_spawning
  from multiprocessing.process import BaseProcess
label_desc: Use image node_id 1 for calling the AuthenticationKey obj's underlying member method code with example usage: obj.__reduce__() and returns: AuthenticationKey,  bytes