code: def convert(self, config, param, ctx):
      name, value = config
      if name in DEFAULT_SETTINGS:
          # For backwards compatibility with how this worked prior to
          # Datasette 1.0, we turn bare setting names into setting.name
          # Type checking for those older settings
          default = DEFAULT_SETTINGS[name]
          name = "settings.{}".format(name)
          if isinstance(default, bool):
              try:
                  return (
                      name,
                      "true" if value_as_boolean(value) else "false",
                  )
              except ValueAsBooleanError:
                  self.fail(
                      f'"{name}" should be on/off/true/false/1/0',
                      param,
                      ctx,
                  )
          elif isinstance(default, int):
              if not value.isdigit():
                  self.fail(
                      f'"{name}" should be an integer', param, ctx
                  )
              return name, value
          elif isinstance(default, str):
              return name, value
          else:
              # Should never happen:
              self.fail("Invalid option")
      return name, value
  
imports: import asyncio
  import uvicorn
  import click
  from click import formatting
  from click.types import CompositeParamType
  from click_default_group import DefaultGroup
  import functools
  import json
  import os
  import pathlib
  from runpy import run_module
  import shutil
  from subprocess import call
  import sys
  import textwrap
  import webbrowser
  from .app import OBSOLETE_SETTINGS, Datasette, DEFAULT_SETTINGS, SETTINGS, SQLITE_LIMIT_ATTACHED, pm
  from .utils import LoadExtension, StartupError, check_connection, find_spatialite, parse_metadata, ConnectionProblem, SpatialiteConnectionProblem, initial_path_for_datasette, pairs_to_nested_config, temporary_docker_directory, fail_if_plugins_in_metadata, value_as_boolean, SpatialiteNotFound, StaticMount, ValueAsBooleanError
  from .utils.sqlite import sqlite3
  from .utils.testing import TestClient
  from .version import __version__
label_desc: Use image node_id 1 for calling the Setting obj's underlying member method code with example usage: obj.convert(config, param, ctx) and returns: name,  value, name,  unknown, name,  value, name,  value