
    9iz                         S r SSKrSSKrSSKrSSKJr  SSKJr  SSKJr  SSKJ	r	  SSK
Jr  SSK
Jr  SS	K
Jr  SS
KJr  SSKJr   " S S\R$                  5      rS r\rg)z:
This module provides a client class for Et Channel IPv6.
    N)bce_base_client)compat)utils)bce_v1_signer)bce_http_client)handler)http_methods)required)ETStatusc                      \ rS rSrSrSrSrSrSrSr	Sr
S'S
 jrS'S jr  S(S jr S)S jr  S*S jrS+S jrS'S jr   S,S jr\" \\4S9S-S j5       r\" \\4\\4\\4\\4\\4\\4\\4\S9  S.S j5       r\" \\4\\4S9S/S j5       r\" \\4\\4S9S-S j5       r\" \\4\\4\\4\\4S9 S)S j5       r\" \\4\\4S9S-S j5       r\" \\4\\4S9  S0S j5       r\" \\4\\4\\4\\\4S9  S/S j5       r \" \\4\\4\\4S9 S-S  j5       r!\" \\4\\4\\4S!9 S-S" j5       r"\" \\4\\4\\4S#9S-S$ j5       r#\" \\4\\4\\4S#9S-S% j5       r$S&r%g	)1EtClient!   z
Et base sdk client
s   /v1etinitchannelrouteruleNc                 B    [         R                  R                  X5        g)z/
:type config: baidubce.BceClientConfiguration
N)r   BceBaseClient__init__)selfconfigs     ^/var/www/html/land-doc-ocr/venv/lib/python3.13/site-packages/baidubce/services/et/et_client.pyr   EtClient.__init__,   s     	%%..t<    c                     Uc  U R                   $ [        R                  " U R                   5      nUR                  U5        U$ )zG
:param config:
:type config: baidubce.BceClientConfiguration
:return:
)r   copymerge_non_none_values)r   r   
new_configs      r   _merge_configEtClient._merge_config2   s9     >;;4;;/J,,V4r   c           
          U R                  U5      nUc  [        R                  nUc  SSS.n[        R                  " U[
        R                  [        R                  U/XX4U5      $ )zz
:param http_method:
:param path:
:param body:
:param headers:
:param params:
:param config:
:param body_parser:
:return:
s   */*s   application/json;charset=utf-8)s   Accepts   Content-Type)r    r   
parse_jsonr   send_requestr   signparse_error)r   http_methodpathbodyheadersparamsr   body_parsers           r   _send_requestEtClient._send_request?   sk     ##F+!,,K?"(13G ++M&&)<)<k(Jtf6 	6r   c                    [         R                  " U R                  U R                  U R                  5      n0 nU
c  [        5       US'   OXS'   UUUUUUUUUU	S.
nU R                  [        R                  U[        R                  " U5      XS9$ )aO  
Create new ET

:param name: the name of ET
:type name: string

:param description: description of ET
:type description: string

:param isp: the type of isp
:type isp: string

:param intf_type: the type of interface
:type intf_type: string

:param ap_type: the type of ap
:type ap_type: string

:param ap_addr: the type of ap Address
:type ap_addr: string

:param user_name: the name of user
:type user_name: string

:param user_phone: phone number of user
:type user_phone: string

:param user_email: email of user
:type user_email: string

:param user_idc: Idc of user
:type user_idc: string

:param client_token:
    If the clientToken is not specified by the user, a random String
    generated by default algorithm will be used.
:type client_token: string

:type config: baidubce.BceClientConfiguration
:param config:

:return: created ET ID
   clientToken)
namedescriptionispintfTypeapTypeapAddruserName	userPhone	userEmailuserIdcr)   r+   r   )r   
append_uriprefixr   r   generate_client_tokenr-   r	   POSTjsondumps)r   r1   r3   	intf_typeap_typeap_addr	user_name
user_phone
user_emailuser_idcclient_tokenr2   r   r(   r+   r)   s                   r   create_et_dcphyEtClient.create_et_dcphyW   s    Z TWWdii@%:%<F>"%1>" &!!##
 !!,"3"3T

4@PY_!oor   c	                    [         R                  " U R                  U R                  U5      n	0 n
Ub  X*S'   Ub  X:S'   Ub  XJS'   Ub  XZS'   Ub  XjS'   Uc  [	        5       U
S'   OXzS'   U R                  [        R                  XUS9$ )aP  
Update existed Et

:param et_id: ET ID
:type et_id: string

:param user_name: the name of user
:type user_name: string

:param user_phone: phone number of user
:type user_phone: string

:param user_email: email of user
:type user_email: string

:param user_idc: Idc of user
:type user_idc: string

:param description: description of ET
:type description: string

:param client_token:
    If the clientToken is not specified by the user, a random String
    generated by default algorithm will be used.
:type client_token: string

:param config:
:type config: baidubce.BceClientConfiguration
s   names   descriptions   userNames	   userPhones	   userEmailr0   r+   r   )r   r<   r=   r   r>   r-   r	   PUT)r   et_idr1   r2   rE   rF   rG   rI   r   r(   r+   s              r   update_et_dcphyEtClient.update_et_dcphy   s    > TWWe<"7O"%0>" "+;!#-< !#-< %:%<F>"%1>"!!,"2"2DPV!WWr   c                    [         R                  " U R                  U R                  5      n0 nUb$  [	        U[
        5      (       a  UR                  US'   Ub  X&S'   Ub  X6S'   U R                  [        R                  XVUS9$ )u0  
get a list of ETs owned by the authenticated user and specified
conditions.

:type status: string
:param status: status of ET condition, if query by the status condition, must provides

:type marker: string
:param marker: The optional parameter marker specified in the original
 request to specify where in the results to begin listing.

:type max_keys: int
:param max_keys: The optional parameter to specifies the max number
 of list result to return. The default value is 1000.

:type config: baidubce.BceClientConfiguration
:param config:

:return: list of ET model, for example:
        {
            "nextMarker": "dcphy-gq65bz9ip712",
            "marker": "dcphy-gq65bz9ie712",
            "maxKeys": 1,
            "isTruncated": true,
            "ets": [{
                "id": "dcphy-jy1sbnx32ez0",
                "name": "et_6",
                "description": "描述",
                "status": "established",
                "expireTime": "2019-01-30T08:50:00Z",
                "isp": "ISP_CTC",
                "intfType": "10G",
                "apType": "BAIDU",
                "apAddr": "BB",
                "userName": "张三",
                "userPhone": "133*****333",
                "userEmail": "1***@123.com",
                "userIdc": "北京|市辖区|东城区|2321"
            }]
        }
s   status   marker   maxKeysrM   )
r   r<   r=   r   
isinstancer   valuer-   r	   GET)r   statusmarkermax_keysr   r(   r+   s          r   list_et_dcphyEtClient.list_et_dcphy   s    T TWW5*VX">"> &F9 &9!):!!,"2"2D)/ " 1 	1r   c                     [         R                  " U R                  U R                  U5      nU R	                  [
        R                  X2S9$ )u  
List specific ET detail

:param et_id: ET ID
:type et_id: string

:param config:
:type config: baidubce.BceClientConfiguration

:return: list of ET model, for example:
        {
            "id": "dcphy-gq65bz9ip712",
            "name": "ZX051501-testET",
            "description": "",
            "status": "established",
            "expireTime": 1,
            "isp": "ISP_CUCC",
            "intfType": "10G",
            "apType": "SINGLE",
            "apAddr": "WHGG",
            "userName": "张三",
            "userPhone": "133*****333",
            "userEmail": "1***@123.com",
            "userIdc": "北京|市辖区|东城区|百度科技园K2"
        }
)r   )r   r<   r=   r   r-   r	   rW   )r   rO   r   r(   s       r   list_et_dcphy_detailEtClient.list_et_dcphy_detail  s<    6 TWWe<!!,"2"2D!HHr   c                    [         R                  " U R                  U R                  XR                  5      n0 nUc  [        5       US'   OUUS'   UUUUUUS.nU	b  U	US'   Ub  UUS'   Ub  [        R                  " U5      US'   Ub  UUS'   Ub  [        R                  " U5      US'   Ub  [        R                  " U5      US'   Ub  UUS	'   U R                  [        R                  U[        R                  " U5      UUS
9$ )aU  
Create new et channel

:param et_id: et id
:type et_id: string

:param local_ip: baidu IPv4 address of et channel
:type local_ip: string

:param name: et channel name
:type name: string

:param networks: et channel IPv4 routes
:type networks: list<string>

:param remote_ip: customer IPv4 address of et channel
:type remote_ip: string

:param description: description of channel
:type description: string

:param route_type: et channel route type
:value "bgp" or "static"
:type route_type: string

:param vlan_id: et channel vlan id
:value 0, 2-4009
:type vlan_id: integer

:param authorized_users: et channel authorized users
:type authorized_users: list<string>

:param enable_ipv6: et channel enable ipv6
:value 0 or 1
:type enable_ipv6: integer

:param local_ipv6: baidu IPv6 address of et channel
:type local_ipv6: string

:param remote_ipv6: customer IPv6 address of et channel
:type remote_ipv6: string

:param ipv6_networks: et channel IPv6 routes
:type ipv6_networks: list<string>

:param bgp_asn: BGP ASN
:type bgp_asn: string

:param bgp_key: BGP KEY
:type bgp_key: string

:param client_token:
    If the clientToken is not specified by the user, a random String
    generated by default algorithm will be used.
:type client_token: string

:param config:
:type config: baidubce.BceClientConfiguration

:return:
:rtype baidubce.bce_response.BceResponse
r0   )etIdbaiduAddressr1   customerAddress	routeTypevlanIdnetworksauthorizedUsersr2   
enableIpv6baiduIpv6AddresscustomerIpv6Addressipv6Networksr;   )r   r<   r=   r   r   r>   r   convert_to_stringr-   r	   r?   r@   rA   )r   rO   local_ipr1   	remote_ip
route_typevlan_idauthorized_usersr2   rf   bgp_asnbgp_keyenable_ipv6
local_ipv6remote_ipv6ipv6_networksrI   r   r(   r+   r)   s                        r   create_et_channelEtClient.create_et_channel!  s%   D TWWe\\J%:%<F>"%1F>" $(#
 'D'&6D"#""(":":;"GD"!,D!'-'?'?
'KD#$"*0*B*B;*OD&'$#0D !!,"3"3T

4@PY_hn!oor   )rO   c                     [         R                  " U R                  U R                  XR                  5      n0 nUc  [        5       US'   OX%S'   U R                  [        R                  XEUS9$ )aV  
Get et channel.

:param et_id:
    et id
:type et_id: string

:param client_token:
    If the clientToken is not specified by the user, a random String
    generated by default algorithm will be used.
:type client_token: string

:param config:
:type config: baidubce.BceClientConfiguration

:return:
:rtype baidubce.bce_response.BceResponse
r0   rM   )	r   r<   r=   r   r   r>   r-   r	   rW   )r   rO   rI   r   r(   r+   s         r   get_et_channelEtClient.get_et_channel  sc    ( TWWe\\J%:%<F>"%1>"!!,"2"2DPV!WWr   )rO   et_channel_idrm   r1   rf   rn   ro   rp   c                    [         R                  " U R                  U R                  XR                  U5      nSS0nUc  [        5       US'   OUUS'   UUUUUUS.nU	b  U	US'   U
b  [        R                  " U
5      US'   Ub  UUS'   Ub  [        R                  " U5      US'   Ub  [        R                  " U5      US	'   Ub  UUS
'   U R                  [        R                  UU[        R                  " U5      US9$ )ao  
Recommit et channel.

:param et_id:
    et id
:type et_id: string

:param et_channel_id:
    et channel id
:type et_channel_id: string

:param local_ip:
    baidu IPv4 address of et channel
:type local_ip: string

:param name:
    et channel name
:type name: string

:param networks:
    et channel IPv4 routes
:type networks: list<string>

:param remote_ip:
    customer IPv4 address of et channel
:type remote_ip: string

:param route_type:
    et channel route type
:value "bgp" or "static"
:type route_type: string

:param vlan_id:
    et channel vlan id
:value 0, 2-4009
:type vlan_id: integer

:param authorized_users:
    et channel authorized users
:type authorized_users: list<string>

:param description:
    et channel description
:type description: string

:param enable_ipv6:
    et channel enable ipv6
:value 0 or 1
:type enable_ipv6: integer

:param local_ipv6:
    baidu IPv6 address of et channel
:type local_ipv6: string

:param remote_ipv6:
    customer IPv6 address of et channel
:type remote_ipv6: string

:param ipv6_networks:
    et channel IPv6 routes
:type ipv6_networks: list<string>

:param client_token:
    If the clientToken is not specified by the user, a random String
    generated by default algorithm will be used.
:type client_token: string

:param config:
:type config: baidubce.BceClientConfiguration

:return:
:rtype baidubce.bce_response.BceResponse
s   reCreateNr0   )rb   r1   rf   rc   rd   re   rg   r2   rh   ri   rj   rk   r+   r)   r   r   r<   r=   r   r   r>   r   rl   r-   r	   rN   r@   rA   )r   rO   r}   rm   r1   rf   rn   ro   rp   rq   r2   rt   ru   rv   rw   rI   r   r(   r+   r)   s                       r   recommit_et_channelEtClient.recommit_et_channel  s   \ TWWe\\ -/d#%:%<F>"%1F>" % (#
 '&6D"#""(":":;"GD"!,D!'-'?'?
'KD#$"*0*B*B;*OD&'$#0D !!,"2"2DdjjY]N^gm!nnr   )rO   r}   c                 ~   [         R                  " U R                  U R                  XR                  U5      nSS0nUc  [        5       US'   OXXS'   0 n	Ub  [        R                  " U5      U	S'   Ub  [        R                  " U5      U	S'   U R                  [        R                  Xx[        R                  " U	5      US9$ )a  
update et channel.

:param et_id:
    et id
:type et_id: string

:param et_channel_id:
    et channel id
:type et_channel_id: string

:param name:
    et channel name
:type name: string

:param description:
    et channel description
:type description: string

:param client_token:
    If the clientToken is not specified by the user, a random String
    generated by default algorithm will be used.
:type client_token: string

:param config:
:type config: baidubce.BceClientConfiguration

:return:
:rtype baidubce.bce_response.BceResponse
s   modifyAttributeNr0   r1   r2   r   r   )
r   rO   r}   r1   r2   rI   r   r(   r+   r)   s
             r   update_et_channelEtClient.update_et_channel  s    @ TWWe\\ -/$d+%:%<F>"%1>"!33D9DL""(":":;"GD!!,"2"2DdjjY]N^gm!nnr   c                     [         R                  " U R                  U R                  XR                  U5      n0 nUc  [        5       US'   OX6S'   U R                  [        R                  XVUS9$ )a  
Delete et channel.

:param et_id:
    et id
:type et_id: string

:param et_channel_id:
    et channel id
:type et_channel_id: string

:param client_token:
    If the clientToken is not specified by the user, a random String
    generated by default algorithm will be used.
:type client_token: string

:param config:
:type config: baidubce.BceClientConfiguration

:return:
:rtype baidubce.bce_response.BceResponse
r0   rM   )	r   r<   r=   r   r   r>   r-   r	   DELETEr   rO   r}   rI   r   r(   r+   s          r   delete_et_channelEtClient.delete_et_channelL  sh    0 TWWe\\ -/%:%<F>"%1>"!!,"5"5tSY!ZZr   )rO   r}   ru   rv   c                 r   [         R                  " U R                  U R                  XR                  U5      nSS0n	Uc  [        5       U	S'   OXiS'   [        R                  " U5      [        R                  " U5      S.n
Ub  XZS'   U R                  [        R                  X[        R                  " U
5      US9$ )a  
Enable IPv6 of the specific et channel.

:param et_id:
    et id
:type et_id: string

:param et_channel_id:
    et channel id
:type et_channel_id: string

:param local_ipv6:
    baidu IPv6 address of et channel
:type local_ipv6: string

:param remote_ipv6:
    customer IPv6 address of et channel
:type remote_ipv6: string

:param ipv6_networks:
    et channel IPv6 routes
:type ipv6_networks: list<string>

:param client_token:
    If the clientToken is not specified by the user, a random String
    generated by default algorithm will be used.
:type client_token: string

:param config:
:type config: baidubce.BceClientConfiguration

:return:
:rtype baidubce.bce_response.BceResponse
s
   enableIpv6Nr0   )ri   rj   rk   r   r   )r   rO   r}   ru   rv   rw   rI   r   r(   r+   r)   s              r   enable_et_channel_ipv6EtClient.enable_et_channel_ipv6n  s    L TWWe\\ -/&%:%<F>"%1>" !' 8 8 D#)#;#;K#H

 $#0 !!,"2"2DdjjY]N^gm!nnr   c                     [         R                  " U R                  U R                  XR                  U5      nSS0nUc  [        5       US'   OX6S'   U R                  [        R                  XVUS9$ )a  
Disable IPv6 of the specific et channel.

:param et_id:
    The id of et.
:type et_id: string

:param et_channel_id:
    The id of et channel.
:type et_channel_id: string

:param client_token:
    If the clientToken is not specified by the user, a random String
    generated by default algorithm will be used.
:type client_token: string

:param config:
:type config: baidubce.BceClientConfiguration

:return:
:rtype baidubce.bce_response.BceResponse
s   disableIpv6Nr0   rM   )	r   r<   r=   r   r   r>   r-   r	   rN   r   s          r   disable_et_channel_ipv6 EtClient.disable_et_channel_ipv6  sm    0 TWWe\\ -/ $'%:%<F>"%1>"!!,"2"2DPV!WWr   c
           	         [         R                  " U R                  U R                  XR                  X R
                  U R                  5      n
0 nUc  [        5       US'   OXS'   U[        R                  " U5      [        R                  " U5      [        R                  " U5      S.nUb  [        R                  " U5      US'   U R                  [        R                  U
[        R                  " U5      UU	S9$ )ai  
Create a et channel route rule with the specified options.

:param et_id:
    The id of et.
:type et_id: string

:param et_channel_id:
    The id of et channel.
:type et_channel_id: string

:param dest_address:
    Destination address of the route rule.
:type dest_address: string

:param nexthop_type
    The type of nexthop. 
    Value can be "etGateway" or "etChannel", respectively dedicated gateway, dedicated channel type.
:type nexthop_type: string

:param nexthop_id:
    The id of nexthop instance.
:type nexthop_id: string

:param description:
    The description of the route rule.
:type description: string

:param ip_version:
    The ip version of the route rule.
    Value can be 4 or 6, default 4.
:type ip_version: int

:param client_token:
    An ASCII string whose length is less than 64.
    The request will be idempotent if clientToken is provided.
    If the clientToken is not specified by the user,
    a random String generated by default algorithm will be used.
:type client_token: string

:param config:
:type config: baidubce.BceClientConfiguration

:return:
:rtype baidubce.bce_response.BceResponse
r0   )	ipVersiondestAddressnexthopType	nexthopIdr2   r;   )r   r<   r=   r   r   r   r   r>   r   rl   r-   r	   r?   r@   rA   )r   rO   r}   dest_addressnexthop_type
nexthop_idr2   
ip_versionrI   r   r(   r+   r)   s                r   create_et_channel_route_rule%EtClient.create_et_channel_route_rule  s    d TWWe\\ -zz499F%:%<F>"%1>" $!33LA!33LA11*=	
 ""(":":;"GD!!,"3"3T

4@PY_)/ " 1 	1r   )rO   r}   rY   max_Keysr   c           	         [         R                  " U R                  U R                  XR                  X R
                  U R                  5      n0 nUb  X8S'   Ub  XHS'   Ub  XXS'   U R                  [        R                  XxUS9$ )ae  
Return a list of route rules specifying the et channel

:param et_id:
    The id of et.
:type et_id: string

:param et_channel_id:
    The id of et channel.
:type et_channel_id: string

:param marker:
    The optional parameter marker specified in the original request to specify
    where in the results to begin listing.
    Together with the marker, specifies the list result which listing should begin.
    If the marker is not specified, the list result will listing from the first one.
:type marker: string

:param max_keys:
    The optional parameter to specifies the max number of list result to return.
    The default value is 1000.
:type max_keys: int

:param dest_address:
    Destination address of the route rule.
:type dest_address: string

:param config:
:type config: baidubce.BceClientConfiguration

:return:
:rtype baidubce.bce_response.BceResponse
rS   rT   s   destAddressrM   )
r   r<   r=   r   r   r   r   r-   r	   rW   )	r   rO   r}   rY   r   r   r   r(   r+   s	            r   list_et_channel_route_rules$EtClient.list_et_channel_route_rules  s    J TWWe\\ -zz499F &9!):#%1>"!!,"2"2DPV!WWr   )rO   
et_channelet_channel_route_rule_idc           
      d   [         R                  " U R                  U R                  XR                  UU R
                  U R                  U5      n0 nS[        R                  " U5      0n	Uc  [        5       US'   OXXS'   U R                  [        R                  U[        R                  " U	5      XS9$ )a  
Modify the special et channel route rule to new value.

:param et_id:
    The id of et.
:type et_id: string

:param et_channel_id:
    The id of et channel.
:type et_channel_id: string

:param et_channel_route_rule_id:
    The id of et channel route rule.
:type et_channel_route_rule_id: string

:param description:
    The description of the route rule.
:type description: string

:param client_token:
    An ASCII string whose length is less than 64.
    The request will be idempotent if clientToken is provided.
    If the clientToken is not specified by the user,
    a random String generated by default algorithm will be used.
:type client_token: string

:param config:
:type config: baidubce.BceClientConfiguration

:return:
:rtype baidubce.bce_response.BceResponse
r2   r0   rM   )r   r<   r=   r   r   r   r   r   rl   r>   r-   r	   rN   r@   rA   )
r   rO   r}   r   r2   rI   r   r(   r+   r)   s
             r   update_et_channel_route_rule%EtClient.update_et_channel_route_ruleA  s    F TWWe\\= $

DII7OQ633K@
 %:%<F>"%1>"!!,"2"2D$**T:J)/ " @ 	@r   )rO   r}   r   c           
      
   [         R                  " U R                  U R                  XR                  UU R
                  U R                  U5      n0 nUc  [        5       US'   OXGS'   U R                  [        R                  XgUS9$ )a  
Delete the special et channel route rule to new value.

:param et_id:
    The id of et.
:type et_id: string

:param et_channel_id:
    The id of et channel.
:type et_channel_id: string

:param et_channel_route_rule_id:
    The id of et channel route rule.
:type et_channel_route_rule_id: string

:param client_token:
    An ASCII string whose length is less than 64.
    The request will be idempotent if clientToken is provided.
    If the clientToken is not specified by the user, a random String generated by default algorithm will
    be used.
:type client_token: string

:param config:
:type config: baidubce.BceClientConfiguration

:return:
:rtype baidubce.bce_response.BceResponse
r0   rM   )r   r<   r=   r   r   r   r   r>   r-   r	   r   )r   rO   r}   r   rI   r   r(   r+   s           r   delete_et_channel_route_rule%EtClient.delete_et_channel_route_rules  sx    > TWWe\\= $

DII7OQ%:%<F>"%1>"!!,"5"5tSY!ZZr   )rO   r}   extra_channel_idc                 :   [         R                  " U R                  U R                  XR                  U5      nSS0nUc  [        5       US'   OXGS'   S[        R                  " U5      0nU R                  [        R                  Xg[        R                  " U5      US9$ )a  
Associate et channel.

:param et_id:
    et id
:type et_id: string

: param et_channel_id:
    et channel id
:type et_channel_id: string

:param extra_channel_id:
    extra channel id
:type extra_channel_id: string

:param client_token:
    If the clientToken is not specified by the user, a random String
    generated by default algorithm will be used.
:type client_token: string

:param config:
:type config: baidubce.BceClientConfiguration

:return:
:rtype baidubce.bce_response.BceResponse

s	   associateNr0   extraChannelIdr   r   	r   rO   r}   r   rI   r   r(   r+   r)   s	            r   associate_et_channelEtClient.associate_et_channel  s    : TWWe\\ -/%%:%<F>"%1>" f667GH
 !!,"2"2DdjjY]N^gm!nnr   c                 :   [         R                  " U R                  U R                  XR                  U5      nSS0nUc  [        5       US'   OXGS'   S[        R                  " U5      0nU R                  [        R                  Xg[        R                  " U5      US9$ )a  
Disassociate et channel.

:param et_id:
    et id
:type et_id: string

:param et_channel_id:
    et channel id
:type et_channel_id: string

:param extra_channel_id:
    extra channel id
:type extra_channel_id: string

:param client_token:
    If the clientToken is not specified by the user, a random String
    generated by default algorithm will be used.
:type client_token: string

:param config:
:type config: baidubce.BceClientConfiguration

:return:
:rtype baidubce.bce_response.BceResponse

s   disassociateNr0   r   r   r   r   s	            r   disassociate_et_channel EtClient.disassociate_et_channel  s    : TWWe\\ -/!4(%:%<F>"%1>" f667GH
 !!,"2"2DdjjY]N^gm!nnr    )N)NNNNN)NNN)NNNNNNN)NNi  N)NNNNNNNNNNN)NN)NNNNNNNN)NNNN)N   NN)&__name__
__module____qualname____firstlineno____doc__r=   r   r   r   r   r   r   r    r-   rJ   rP   r[   r^   rx   r
   bytesstrr{   listtupleintr   r   r   r   r   r   r   r   r   r   r   __static_attributes__r   r   r   r   r   !   s    F	BDGED= 7;/362 OSApF MQTX1Xf31jI@ MQSWZ^gpR UCL!X "X8 UCLs|[`beZfe}%QT_bd cg\`oodoob UCL=/o >/ob UCL=[ >[B UCLE3<A NR4oA4ol UCL=X >XB UCL=NO?CD1 >D1L UCLS\CuclLGKMQ.XL.X` UCLeS\UZ\_T`aLP/@ b/@b UCLX]_bWcd?C&[ e&[P UCLPUWZ|\(o ](oT UCLPUWZ|\(o ](or   r   c                  >    [        [        R                  " 5       5      $ )z
The default method to generate the random string for client_token
if the optional parameter client_token is not specified by the user.

:return:
:rtype string
)r   uuiduuid4r   r   r   generate_client_token_by_uuidr     s     tzz|r   )r   r   r@   r   baidubcer   r   r   baidubce.authr   baidubce.httpr   r   r	   baidubce.utilsr
   baidubce.services.et.modelr   r   r   r   r>   r   r   r   <module>r      sT       $   ' ) ! & # /Oo,, Ood 6 r   