code: def make_swagger_configuration_picklable(
      configuration_cls: Type,
  ) -> None:
      """Adds __getstate__ and __setstate__ methods to swagger configuration to make it
      picklable.
  
      This doesn't make all swagger classes picklable. Notably, the ApiClient and
      and RESTClientObject classes are not picklable. Use the picklable
      LightlySwaggerApiClient and LightlySwaggerRESTClientObject classes instead.
      """
      configuration_cls.__getstate__ = _Configuration__getstate__
      configuration_cls.__setstate__ = _Configuration__setstate__
  
imports: import logging
  from typing import Any, Dict, Type
label_desc: Use image node_id 1 for calling a global function with example usage: make_swagger_configuration_picklable(configuration_cls) without return types