
    Hf'                     `    d Z ddlmZmZ ddlmZ ddlmZ ddlm	Z	m
Z
  G d dee          Zd	S )
z
    pyexcel.plugins.sources.pydata.arraysource
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Representation of array source

    :copyright: (c) 2015-2022 by Onni Software Ltd.
    :license: New BSD License
    )AbstractSourceMemorySourceMixin)DEFAULT_SHEET_NAME)params   )ArrayReader_FakeIOc                   .    e Zd ZdZefdZd Zd Zd ZdS )ArraySourcez1
    A two dimensional array as sheet source
    c                 l    || _         t                      | _        || _        t	          j        | fi | d S N)_ArraySource__arrayr	   _content_ArraySource__sheet_namer   __init__)selfarray
sheet_namekeywordss       l/var/www/ffwdstore.be/apps/py-env/lib/python3.11/site-packages/pyexcel/plugins/sources/pydata/arraysource.pyr   zArraySource.__init__   s;    		&1111111    c                 f    t          | j        fi | j        }| j        |                                iS r   )r   r   	_keywordsr   to_array)r   array_readers     r   get_datazArraySource.get_data   s5    "4<BB4>BB!<#8#8#:#:;;r   c                     t           j        d fS r   )r   ARRAY)r   s    r   get_source_infozArraySource.get_source_info    s    |T!!r   c                 ^    | j                             |                                           d S r   )r   setvaluer   )r   sheets     r   
write_datazArraySource.write_data#   s(    u~~//00000r   N)	__name__
__module____qualname____doc__r   r   r   r   r#    r   r   r   r      sd          *< 2 2 2 2< < <" " "1 1 1 1 1r   r   N)r'   pyexcel.sourcer   r   pyexcel.constantsr   pyexcel.plugins.sourcesr   commonr   r	   r   r(   r   r   <module>r-      s     = < < < < < < < 0 0 0 0 0 0 * * * * * * ( ( ( ( ( ( ( (1 1 1 1 1."3 1 1 1 1 1r   