
    g                         d dl mZmZ d dlmZmZmZ d dlmZm	Z	m
Z
mZmZ 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 d	d
lmZ dde iZe G d d             Ze G d de             Ze G d de             Zy)    )	dataclassfield)DictOptionalUnion)AsyncMemoryStorageAsyncSupportedStorageAuthFlowTypeSyncMemoryStorageSyncSupportedStorage)Timeout) DEFAULT_POSTGREST_CLIENT_TIMEOUT)DEFAULT_TIMEOUT)DEFAULT_FUNCTION_CLIENT_TIMEOUT)RealtimeClientOptions   )__version__zX-Client-Infozsupabase-py/c                      e Zd ZU dZeed<   	  eej                        Z	e
eef   ed<   	 dZeed<   	 dZeed<   	  ee      Zeed<   	 d	Zee   ed
<   	 eZeeeef   ed<   	 eZeeeef   ed<   	 eZeeeef   ed<   	 dZeed<   	 d	d	d	d	d	d	eed	f	dee   dee
eef      dee   dee   dee   d
ee   deeeef   deeeef   dee   dd fdZ y	)ClientOptionspublicschemadefault_factoryheadersTauto_refresh_tokenpersist_sessionstorageNrealtimepostgrest_client_timeoutstorage_client_timeoutfunction_client_timeoutpkce	flow_typereturnc
                    t               }
|xs | j                  |
_        |xs | j                  |
_        |xs | j                  |
_        |xs | j                  |
_        |xs | j
                  |
_        |xs | j                  |
_        |xs | j                  |
_        |xs | j                  |
_        |	xs | j                  |
_	        |
S z/Create a new SupabaseClientOptions with changes)
r   r   r   r   r   r   r   r   r    r#   selfr   r   r   r   r   r   r   r    r#   client_optionss              P/var/www/openai/venv/lib/python3.12/site-packages/supabase/lib/client_options.pyreplacezClientOptions.replace>   s    " ' & 5$++!(!8DLL9$"9"9 	) *9)PD<P<P&!(!8DLL"*";dmm$E(E(E 	/ #Ad&A&A 	- $-#>     )!__name__
__module____qualname__r   str__annotations__r   DEFAULT_HEADERScopyr   r   r   boolr   r   r   r   r   r   r   r   r   r   intfloatr   DEFAULT_STORAGE_CLIENT_TIMEOUTr    r   r!   r#   r
   r+    r,   r*   r   r      s   FC
 $O4H4HIGT#s(^I7##@ OT <$):K$LG!LB04Hh,-44 	) eC$78  >9WE#ug"56W: 	( U3w#67  >$I|$- !%,0-1*.2648 - +,0!! $sCx.)! %TN	!
 "$! ./! 01! #(#
! !&!
! L)! 
!r,   r   c                       e Zd ZU  ee      Zeed<   	 ddddddee	df	de
e   de
eeef      de
e   de
e   de
e   de
e   d	eeeef   d
eeeef   de
e   dd fdZy)AsyncClientOptionsr   r   Nr   r   r   r   r   r   r    r#   r$   c
                    t               }
|xs | j                  |
_        |xs | j                  |
_        |xs | j                  |
_        |xs | j                  |
_        |xs | j
                  |
_        |xs | j                  |
_        |xs | j                  |
_        |xs | j                  |
_        |	xs | j                  |
_	        |
S r&   )
r:   r   r   r   r   r   r   r   r    r#   r'   s              r*   r+   zAsyncClientOptions.replaceg   s    " ,- & 5$++!(!8DLL9$"9"9 	) *9)PD<P<P&!(!8DLL"*";dmm$E(E(E 	/ #Ad&A&A 	- $-#> r,   )r-   r.   r/   r   r   r   r	   r1   r   r7   r   r0   r   r4   r   r   r5   r6   r   r
   r+   r8   r,   r*   r:   r:   b   s    %*;M%NG"NB !%,0-1*.3748 - +,0!! $sCx.)! %TN	!
 "$! /0! 01! #(#
! !&!
! L)! 
!r,   r:   c                       e Zd Zddddddeedf	dee   deeeef      dee   dee   dee	   dee
   deeeef   d	eeeef   d
ee   dd fdZy)SyncClientOptionsNr   r   r   r   r   r   r   r    r#   r$   c
                    t               }
|xs | j                  |
_        |xs | j                  |
_        |xs | j                  |
_        |xs | j                  |
_        |xs | j
                  |
_        |xs | j                  |
_        |xs | j                  |
_        |xs | j                  |
_        |	xs | j                  |
_	        |
S r&   )
r=   r   r   r   r   r   r   r   r    r#   r'   s              r*   r+   zSyncClientOptions.replace   s    " +, & 5$++!(!8DLL9$"9"9 	) *9)PD<P<P&!(!8DLL"*";dmm$E(E(E 	/ #Ad&A&A 	- $-#> r,   )r-   r.   r/   r   r7   r   r0   r   r4   r   r   r   r5   r6   r   r
   r+   r8   r,   r*   r=   r=      s     !%,0-1*.2648 - +,0!! $sCx.)! %TN	!
 "$! ./! 01! #(#
! !&!
! L)! 
!r,   r=   N)dataclassesr   r   typingr   r   r   gotruer   r	   r
   r   r   httpxr   postgrest.constantsr   storage3.constantsr   r7   supafunc.utilsr   supabase.typesr   versionr   r2   r   r:   r=   r8   r,   r*   <module>rH      s    ( ( (   @ P : 0 !"l;-$@A G G GT % % %P " " "r,   