o
    iS                     @   s|   d dl mZ d dlmZ d dlmZmZ d dlmZ er4d dl	m
Z
 d dlmZ d dlmZ d dlmZ G d	d
 d
eZdS )    )StripeService)sanitize_id)Optionalcast)TYPE_CHECKING)
ListObject)RequestOptions)AccountOwner)AccountOwnerListParamsc                	   @   sP   e Zd Z	ddeddded ddfd	d
Z	ddeddded ddfddZdS )AccountOwnerServiceNaccountparamsr
   optionsr   returnListObject[AccountOwner]c              	   C   s&   t d| jddjt|dd||dS )6
        Lists all owners for a given Account
        r   get3/v1/financial_connections/accounts/{account}/ownersr   apibase_addressr   r   )r   _requestformatr   selfr   r   r    r   /var/www/snowflake_co_dev_github/snow_flake_back_end_deploy/env/lib/python3.10/site-packages/stripe/financial_connections/_account_owner_service.pylist   s   	zAccountOwnerService.listc              	      s.   t d| jddjt|dd||dI dH S )r   r   r   r   r   r   r   N)r   _request_asyncr   r   r   r   r   r   
list_async(   s   	
zAccountOwnerService.list_async)N)__name__
__module____qualname__strr   r   r    r   r   r   r   r      s*    
r   N)stripe._stripe_servicer   stripe._utilr   typingr   r   typing_extensionsr   stripe._list_objectr   stripe._request_optionsr   +stripe.financial_connections._account_ownerr	   >stripe.params.financial_connections._account_owner_list_paramsr
   r   r   r   r   r   <module>   s   