(model, accounts_set)
return default_list_kwargs
Returns default sequence of kwargs to sync
        all Stripe Accounts
Returns default sequence of kwargs to sync
        all Stripe Accounts
Returns default sequence of kwargs to sync all Stripe Accounts
def get_default_list_kwargs(model, accounts_set):
        """Returns default sequence of kwargs to sync
        all Stripe Accounts"""

        if getattr(model, "expand_fields", []):
            default_list_kwargs = [
                {
                    "expand": [f"data.{k}" for k in model.expand_fields],
                    "stripe_account": account,
                }
                for account in accounts_set
            ]

        else:
            default_list_kwargs = [
                {"stripe_account": account} for account in accounts_set
            ]

        return default_list_kwargs
def get_default_list_kwargs ( model , accounts_set ) : if getattr ( model , "expand_fields" , [ ] ) : default_list_kwargs = [ { "expand" : [ f"data.{k}" for k in model . expand_fields ] , "stripe_account" : account , } for account in accounts_set ] else : default_list_kwargs = [ { "stripe_account" : account } for account in accounts_set ] return default_list_kwargs