Ë
    z�h°  ã                  ó€   — d dl mZ d dlmZ d dlmZ d dlmZ d dlmZ erd dlmZ  edd¬	«      Z	 G d
„ dee	   «      Z
y)é    )Úannotations)ÚTYPE_CHECKING)ÚAny)ÚGeneric)ÚTypeVar)ÚSeriesÚSeriesTzSeries[Any])Úboundc                  ó   — e Zd Zdd„Zdd„Zy)ÚSeriesStructNamespacec                ó   — || _         y )N)Ú_narwhals_series)ÚselfÚseriess     úT/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/narwhals/series_struct.pyÚ__init__zSeriesStructNamespace.__init__   s
   € Ø &ˆÕó    c                ó’   — | j                   j                  | j                   j                  j                  j	                  |«      «      S )ae  Retrieve a Struct field as a new expression.

        Arguments:
            name: Name of the struct field to retrieve.

        Returns:
            A new Series.

        Examples:
            >>> import polars as pl
            >>> import narwhals as nw
            >>> s_native = pl.Series(
            ...     [
            ...         {"id": "0", "name": "john"},
            ...         {"id": "1", "name": "jane"},
            ...     ]
            ... )
            >>> s = nw.from_native(s_native, series_only=True)
            >>> s.struct.field("name").to_list()
            ['john', 'jane']
        )r   Ú_with_compliantÚ_compliant_seriesÚstructÚfield)r   Únames     r   r   zSeriesStructNamespace.field   s=   € ð, ×$Ñ$×4Ñ4Ø×!Ñ!×3Ñ3×:Ñ:×@Ñ@ÀÓFó
ð 	
r   N)r   r	   ÚreturnÚNone)r   Ústrr   r	   )Ú__name__Ú
__module__Ú__qualname__r   r   © r   r   r   r      s   „ ó'ô
r   r   N)Ú
__future__r   Útypingr   r   r   r   Únarwhals.seriesr   r	   r   r    r   r   ú<module>r$      s7   ðÝ "å  Ý Ý Ý áÝ&á
�) =Ô
1€ô
˜G GÑ,õ 
r   