code: def get_resource_scopes_args(self):
      return format_cli_arg(
          "--set-resource-scopes",
          self.workflow.resource_settings.overwrite_resource_scopes,
      )
  
imports: from dataclasses import dataclass, fields
  import hashlib
  import os
  import sys
  from typing import Mapping, TypeVar, TYPE_CHECKING, Any
  from snakemake_interface_executor_plugins.utils import format_cli_arg, join_cli_args
  from snakemake_interface_storage_plugins.registry import StoragePluginRegistry
  from snakemake import common
  from snakemake.settings import SharedFSUsage
label_desc: Use image node_id 6 for calling the SpawnedJobArgsFactory obj's underlying member method code with example usage: obj.get_resource_scopes_args() and returns: format_cli_arg