
    E#ih                         S SK r S SKr " S S\R                  R                  5      r " S S\R                  R                  5      rg)    Nc                      ^  \ rS rSrSrS\R                  S\R                  S\R                  S\R                  S\R                  \R                  \R                        4
U 4S jjr	S	r
U =r$ )
Sequence   zE
A sequence field, basically an immutable version of the list field.
valueattrdatakwargsreturnc                 H   > [         TU ]  " XU40 UD6nUc  S $ [        U5      $ N)super_deserializetupleselfr   r   r   r	   optional_list	__class__s         y/home/james-whalen/.local/lib/python3.13/site-packages/ccxt/static_dependencies/marshmallow_dataclass/collection_field.pyr   Sequence._deserialize   s0     ,U$I&I$,tF%2FF     )__name__
__module____qualname____firstlineno____doc__typingAnyOptionalr   r   __static_attributes____classcell__r   s   @r   r   r      so    GzzG jjG jj	G
 **G 
4	5G Gr   r   c                   t  ^  \ rS rSrSr SS\R                  \R                  R                  \
4   S\4U 4S jjjrS\R                  S\R                  S\R                  S	\R                  S
\R                  \R                  \R                     \R                  \R                     S4   4
U 4S jjrSrU =r$ )Set   a#  
A set field. A set is an unordered/mutable collection of unique elements, same for frozenset
except it's immutable.

Notes:
    Beware the a Set guarantees uniqueness in the resulting list but in return the item's order
    will be random. So if the order matters, use a List or Sequence !
cls_or_instancefrozenc                 d   > [         TU ]  " U40 UD6  U(       a  [        U l        g [        U l        g r   )r   __init__	frozensetsetset_type)r   r&   r'   r	   r   s       r   r)   Set.__init__    s-     	3F3I 	%( 	r   r   r   r   r	   r
   Nc                 T   > [         TU ]  " XU40 UD6nUc  S $ U R                  U5      $ r   )r   r   r,   r   s         r   r   Set._deserialize+   s4     ,U$I&I$,tN$--2NNr   )r,   )F)r   r   r   r   r   r   UnionmarshmallowfieldsFieldtypeboolr)   r   r$   	FrozenSetr   r    r!   r"   s   @r   r$   r$      s     	
k&8&8&>&>&DE	
 	
 	
OzzO jjO jj	O
 **O 
fjj,f.>.>vzz.JDP	QO Or   r$   )r   r1   r2   Listr   r$   r   r   r   <module>r8      s?     G{!!&& G O+


!
! Or   