code: def process_resource_group(cmd, namespace):
      
      if namespace.account_name and not namespace.resource_group_name:
          namespace.resource_group_name = _query_account_rg(cmd.cli_ctx, namespace.account_name)[0]
docs: Processes the resource group parameter from the account name