#neil-error
1 messages · Page 1 of 1 (latest)
hello can you elaborate?
where are you getting that error
you need to give a lot more info
hello
connectVendor_list = (stripe.Customer.list(connect_acct_id='account_id', stripe.api_key)) name01 = customers.data[10].name bal01 = customers.data[10].balance
Hi 👋
I use Python all the time so am very familiar with this message
Basically here:
connectVendor_list = (stripe.Customer.list(connect_acct_id='account_id', stripe.api_key))
You are naming the first parameter conenct_acct_id but not naming the second parameter (which is passed as stripe.api_key).
Python doesn't allow passing positional (non-named) parameters after named parameters
So you. just need to specify that your second argument is api_key=stripe.api_key
copy on this, making corrections based on what @shut vapor typed
making corrections on the code*
yup, that fixed it.
@shut vapor my thanks for explaining why; allowing me sometime to realize; and then providing a confirmatory answer
@meager hull my thanks for making the gears a turning, just woke up, so was scrambling fast to get the info needed