o
    $&]ie  ã                   @  sj   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	 d dl
mZ G dd„ ded	 ed	 ƒZd
S )é    )Úannotations)ÚTYPE_CHECKING)ÚLazyExprNamespace)ÚStructNamespace)ÚColumn)ÚSparkLikeExprc                   @  s   e Zd Zddd„ZdS )	ÚSparkLikeExprStructNamespaceÚnameÚstrÚreturnr   c                   s    d‡ fdd„}| j  |¡ ˆ ¡S )NÚexprr   r   c                   s
   |   ˆ ¡S )N)ÚgetField)r   ©r	   © ú^/var/www/html/IGF-ODF-V3/venv/lib/python3.10/site-packages/narwhals/_spark_like/expr_struct.pyÚfunc   s   
z0SparkLikeExprStructNamespace.field.<locals>.func)r   r   r   r   )Ú	compliantÚ_with_elementwiseÚalias)Úselfr	   r   r   r   r   Úfield   s   z"SparkLikeExprStructNamespace.fieldN)r	   r
   r   r   )Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r      s    r   r   N)Ú
__future__r   Útypingr   Únarwhals._compliantr   Ú!narwhals._compliant.any_namespacer   Úsqlframe.base.columnr   Únarwhals._spark_like.exprr   r   r   r   r   r   Ú<module>   s    
ÿ