
    ZThE                    Z    d dl mZ d dlmZ d dlmZ d dlmZ erd dlm	Z	  G d de      Z
y)	    )annotations)TYPE_CHECKING)PingLowLevelClient)ResourceBase)
SiftClientc                  ,     e Zd ZdZd fdZddZ xZS )PingAPIAsyncz,High-level API for performing health checks.c                X    t         |   |       t        |j                        | _        y)zbInitialize the AssetsAPI.

        Args:
            sift_client: The Sift client to use.
        N)super__init__r   grpc_client_low_level_client)selfsift_client	__class__s     _/home/www/backend.miabetepe.com/venv/lib/python3.12/site-packages/sift_client/resources/ping.pyr   zPingAPIAsync.__init__   s%     	%!3K4K4K!L    c                R   K   | j                   j                          d{   S 7 w)zgSend a ping request to the server.

        Returns:
            The response from the server.
        N)r   ping)r   s    r   r   zPingAPIAsync.ping   s#      ++002222s   '%')r   r   )returnstr)__name__
__module____qualname____doc__r   r   __classcell__)r   s   @r   r	   r	      s    6M3r   r	   N)
__future__r   typingr   -sift_client._internal.low_level_wrappers.pingr   sift_client.resources._baser   sift_client.clientr   r	    r   r   <module>r#      s#    "   L 4-3< 3r   