HEX
Server: LiteSpeed
System: Linux us-phx-web1284.main-hosting.eu 4.18.0-553.109.1.lve.el8.x86_64 #1 SMP Thu Mar 5 20:23:46 UTC 2026 x86_64
User: u300739242 (300739242)
PHP: 8.2.30
Disabled: system, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
Upload Files
File: //opt/alt/python37/lib/python3.7/site-packages/elasticsearch/__pycache__/transport.cpython-37.pyc
B

XP�e��@s�ddlZddlmZmZmZmZddlmZmZej	de
dd�eeefeeeeeffeeeeeeffd�dd	�Z
dS)
�N)�Any�Dict�Optional�Union)�AsyncTransport�	TransportzjImporting from the 'elasticsearch.transport' module is deprecated. Instead import from 'elastic_transport'�)�category�
stacklevel)�	node_info�host�returncCs*tjdtdd�|�dg�dgkr&dS|S)al
    Simple callback that takes the node info from `/_cluster/nodes` and a
    parsed connection information and return the connection information. If
    `None` is returned this node will be skipped.
    Useful for filtering nodes (by proximity for example) or if additional
    information needs to be provided for the :class:`~elasticsearch.Connection`
    class. By default master only nodes are filtered out since they shouldn't
    typically be used for API operations.
    :arg node_info: node information from `/_cluster/nodes`
    :arg host: connection information (host, port) extracted from the node info
    ziThe 'get_host_info' function is deprecated. Instead use the 'sniff_node_callback' parameter on the clientr)r	r
ZrolesZmasterN)�warnings�warn�DeprecationWarning�get)rr�r�H/opt/alt/python37/lib/python3.7/site-packages/elasticsearch/transport.py�
get_host_info sr)r�typingrrrrZelastic_transportrrrr�str�intrrrrr�<module>s