o
    QDi                     @  sb   d dl mZ d dlmZmZ d dlZddlmZ er ddlm	Z	 ej
ddd	G d
d deZdS )    )annotations)TYPE_CHECKINGAnyN   )Step)ResourceTF)kw_onlyreprc                   @  s:   e Zd ZU dZdZded< 	 dddZdgdi id	Zd
S )table_debugzlDebug table.

    This step can be added using the `steps` parameter
    for the `transform` function.

    ztable-debugr   functionresourcer   c                   s    |    fdd}||_d S )Nc                  3  sH       j D ]
} |  | V  qW d    d S 1 sw   Y  d S )N)
row_streamr   )rowcurrentself ]/var/www/Datamplify/venv/lib/python3.10/site-packages/frictionless/steps/table/table_debug.pydata#   s   

"z,table_debug.transform_resource.<locals>.data)to_copyr   )r   r   r   r   r   r   transform_resource   s   
ztable_debug.transform_resource)required
propertiesN)r   r   )__name__
__module____qualname____doc__type__annotations__r   metadata_profile_patchr   r   r   r   r
      s   
 

r
   )
__future__r   typingr   r   attrspipeliner   r   r   definer
   r   r   r   r   <module>   s    