code: def _get_default_options_wrapper(
      unity_server_model_name,
      module_name="",
      python_class_name="",
      sdk_model=False,
  ):
      """
      Internal function to return a get_default_options function.
  
      Parameters
      ----------
      unity_server_model_name: str
          Name of the class/toolkit as registered with the unity server
  
      module_name: str, optional
          Name of the module.
  
      python_class_name: str, optional
          Name of the Python class.
  
      sdk_model : bool, optional (default False)
          True if the SDK interface was used for the model. False otherwise.
  
      Examples
      ----------
      get_default_options = _get_default_options_wrapper('classifier_svm',
                                                         'svm', 'SVMClassifier')
      """
  
      def get_default_options_for_model(output_type="sframe"):
          """
          Get the default options for the toolkit
          :class:`~turicreate.{module_name}.{python_class_name}`.
  
          Parameters
          ----------
          output_type : str, optional
  
              The output can be of the following types.
  
              - `sframe`: A table description each option used in the model.
              - `json`: A list of option dictionaries suitable for JSON serialization.
  
              | Each dictionary/row in the dictionary/SFrame object describes the
                following parameters of the given model.
  
              +------------------+-------------------------------------------------------+
              |      Name        |                  Description                          |
              +==================+=======================================================+
              | name             | Name of the option used in the model.                 |
              +------------------+---------+---------------------------------------------+
              | description      | A detailed description of the option used.            |
              +------------------+-------------------------------------------------------+
              | type             | Option type (REAL, BOOL, INTEGER or CATEGORICAL)      |
              +------------------+-------------------------------------------------------+
              | default_value    | The default value for the option.                     |
              +------------------+-------------------------------------------------------+
              | possible_values  | List of acceptable values (CATEGORICAL only)          |
              +------------------+-------------------------------------------------------+
              | lower_bound      | Smallest acceptable value for this option (REAL only) |
              +------------------+-------------------------------------------------------+
              | upper_bound      | Largest acceptable value for this option (REAL only)  |
              +------------------+-------------------------------------------------------+
  
          Returns
          -------
          out : dict/SFrame
  
          See Also
          --------
          turicreate.{module_name}.{python_class_name}.get_current_options
  
          Examples
          --------
          .. sourcecode:: python
  
            >>> import turicreate
  
            # SFrame formatted output.
            >>> out_sframe = turicreate.{module_name}.get_default_options()
  
            # dict formatted output suitable for JSON serialization.
            >>> out_json = turicreate.{module_name}.get_default_options('json')
          """
          if sdk_model:
              response = (
                  _tc.extensions._toolkits_sdk_get_default_options(
                      unity_server_model_name
                  )
              )
          else:
              response = _tc.extensions._toolkits_get_default_options(
                  unity_server_model_name
              )
  
          if output_type == "json":
              return response
          else:
              json_list = [
                  {"name": k, "": v} for k, v in response.items()
              ]
              return (
                  _SFrame(json_list)
                  .unpack("X1", column_name_prefix="")
                  .unpack("X1", column_name_prefix="")
              )
  
      # Change the doc string before returning.
      get_default_options_for_model.__doc__ = (
          get_default_options_for_model.__doc__.format(
              python_class_name=python_class_name,
              module_name=module_name,
          )
      )
      return get_default_options_for_model
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import turicreate
  import turicreate._connect.main
  from turicreate.data_structures.sframe import SFrame
  import turicreate.extensions
  from turicreate.extensions import _wrap_function_return
  from turicreate.toolkits._internal_utils import _toolkit_serialize_summary_struct
  from turicreate.util import _make_internal_url
  from turicreate.toolkits._main import ToolkitError
  from turicreate._deps.minimal_package import _minimal_package_import_check
  import turicreate.util._file_util
  import os
  from copy import copy
  import six
  import warnings
label_desc: Use image node_id 2 for calling a global function with example usage: _get_default_options_wrapper(unity_server_model_name, module_name, python_class_name, sdk_model) and returns: get_default_options_for_model, response, _SFrame