(default_list_kwargs)
return all_list_kwargs
Returns sequence of kwrags to sync Usage Record Summarys for
        all Stripe Accounts
Returns sequence of kwrags to sync Usage Record Summarys for
        all Stripe Accounts
Returns sequence of kwrags to sync Usage Record Summarys for all Stripe Accounts
def get_list_kwargs_sis(default_list_kwargs):
        """Returns sequence of kwrags to sync Usage Record Summarys for
        all Stripe Accounts"""
        all_list_kwargs = []
        for def_kwarg in default_list_kwargs:
            stripe_account = def_kwarg.get("stripe_account")
            for subscription in models.Subscription.api_list(
                stripe_account=stripe_account
            ):
                for subscription_item in models.SubscriptionItem.api_list(
                    subscription=subscription.id, stripe_account=stripe_account
                ):
                    all_list_kwargs.append({"id": subscription_item.id, **def_kwarg})

        return all_list_kwargs
def get_list_kwargs_sis ( default_list_kwargs ) : all_list_kwargs = [ ] for def_kwarg in default_list_kwargs : stripe_account = def_kwarg . get ( "stripe_account" ) for subscription in models . Subscription . api_list ( stripe_account = stripe_account ) : for subscription_item in models . SubscriptionItem . api_list ( subscription = subscription . id , stripe_account = stripe_account ) : all_list_kwargs . append ( { "id" : subscription_item . id , * * def_kwarg } ) return all_list_kwargs