
    ihB                     0    d dl mZ d dlmZ  G d d      Zy)    )Optional)HolidayBasec                        e Zd ZU dZee   ed<   	 dZee	   ed<   	 dZ
ee	df   ed<   	 i Zee	e	f   ed<   	  fd	Z xZS )
ChildEntityz=A mixin for child entities that inherit from a parent entity.parent_entityNparent_entity_subdivision_code .subdivisionssubdivisions_aliasesc                 ^    | j                   xs | j                  |d<   t        |   |i | y)aX  Initialize the child entity using its country code.

        A child entity always has its own country code that is different from
        the parent entity's country code but (in majority of cases) is a
        subdivision of the parent entity. For setting specific subdivision code
        value use `parent_entity_subdivision_code`.
        subdivN)r   countrysuper__init__)selfargskwargs	__class__s      \/var/www/api/v1/venv_fitandmore/lib/python3.12/site-packages/holidays/mixins/child_entity.pyr   zChildEntity.__init__"   s0      >>N$,,x$)&)    )__name__
__module____qualname____doc__typer   __annotations__r   r   strr
   tupler   dictr   __classcell__)r   s   @r   r   r      s[    G$$"48"HSM8H$&L%S/&'+-$sCx.-/	* 	*r   r   N)typingr   holidays.holiday_baser   r   r	   r   r   <module>r#      s     -* *r   