
    9Yf              
       D    d dl mZmZmZmZmZmZ  G d deeeeee      Zy)    )ActionAPIResourceGetableAPIResourceCreateableAPIResourceUpdatableAPIResourceListableAPIResourceDeletableAPIResourcec                   .     e Zd ZdZ	 e fd       Z xZS )Useruserc                 n    t        d       t        |t              s|g}d|i}t        t        |   di |S )a  
        Send an invite to join datadog to each of the email addresses in the
        *emails* list. If *emails* is a string, it will be wrapped in a list and
        sent. Returns a list of email addresses for which an email was sent.

        :param emails: emails addresses to invite to join datadog
        :type emails: string list

        :returns: Dictionary representing the API's JSON response
        z@[DEPRECATION] User.invite() is deprecated. Use `create` instead.emails)POSTz/invite_users)print
isinstancelistsuperr
   _trigger_action)clsr   body	__class__s      Q/var/www/highfloat_scraper/venv/lib/python3.12/site-packages/datadog/api/users.pyinvitezUser.invite   sD     	PQ&$'XF f
 T3/P4PP    )__name__
__module____qualname___resource_nameclassmethodr   __classcell__)r   s   @r   r
   r
      s%     N Q Qr   r
   N)datadog.api.resourcesr   r   r   r   r   r   r
    r   r   <module>r"      s-    $Q$Qr   