code: def generate(settings: Settings) -> None:
      (
          _settings_literal_list,
          _settings_topologically_sorted,
      ) = _get_modification_order(settings)
      settings_literal_list = ", ".join(
          f'"{s}"' for s in _settings_literal_list
      )
      settings_topologically_sorted = ", ".join(
          f'"{s}"' for s in _settings_topologically_sorted
      )
  
      print(
          template.replace(
              "$settings_literal_list",
              settings_literal_list,
          ).replace(
              "$settings_topologically_sorted",
              settings_topologically_sorted,
          )
      )
  
file_path: wandb/wandb/sdk/lib/_settings_toposort_generate.py
imports: import inspect
  import sys
  from typing import Dict, List, Set, Tuple
  from wandb.errors import UsageError
  from wandb.sdk.wandb_settings import Settings
label_desc: Use image node_id 2 for calling a global function with example usage: generate(settings) without return types