o
    Áiê  ã                   @   sf   d dl mZ d dlmZ d dlmZ er d dlmZ d dlm	Z	 ddgdd	gd
œZ
G dd„ deƒZdS )é    )ÚStripeService)Úimport_module)ÚTYPE_CHECKING)ÚActiveEntitlementService)ÚFeatureServicez/stripe.entitlements._active_entitlement_servicer   z$stripe.entitlements._feature_servicer   )Úactive_entitlementsÚfeaturesc                       s6   e Zd ZU ded< ded< ‡ fdd„Zdd„ Z‡  ZS )	ÚEntitlementsServicer   r   r   r   c                    s   t ƒ  |¡ d S ©N)ÚsuperÚ__init__)ÚselfÚ	requestor©Ú	__class__© ú|/var/www/snowflake_co_dev_github/snow_flake_back_end_deploy/env/lib/python3.10/site-packages/stripe/_entitlements_service.pyr      s   zEntitlementsService.__init__c                 C   sN   zt | \}}tt|ƒ|ƒ}t| ||| jƒƒ t| |ƒW S  ty&   tƒ ‚w r
   )Ú_subservicesÚgetattrr   ÚsetattrÚ
_requestorÚKeyErrorÚAttributeError)r   ÚnameÚimport_fromÚserviceÚservice_classr   r   r   Ú__getattr__   s   þýÿzEntitlementsService.__getattr__)Ú__name__Ú
__module__Ú__qualname__Ú__annotations__r   r   Ú__classcell__r   r   r   r   r	      s
   
 r	   N)Ústripe._stripe_servicer   Ú	importlibr   Útyping_extensionsr   Ú/stripe.entitlements._active_entitlement_servicer   Ú$stripe.entitlements._feature_servicer   r   r	   r   r   r   r   Ú<module>   s   þû	