o
    ~h                     @   s8   d dl Z d dlZg dZdgZg dZdefddZdS )    N)z	channels.zgroups.zim.zmpim.zadmin.conversations.whitelist.zstars.)zworkflows.stepCompletedzworkflows.updateStepzworkflows.stepFailedmethod_namec                    s   t jd}|r
dS  sdS  fddtD }t|dkr'  d}t|  fddtD }t|dkr@  d}t|  fd	dtD }t|dkr[  d
}t| dS dS )z2Prints a warning if the given method is deprecatedSLACKCLIENT_SKIP_DEPRECATIONNc                       g | ]	}  |r|qS  
startswith.0prefixr   r   Q/var/www/html/zoom/venv/lib/python3.10/site-packages/slack_sdk/web/deprecation.py
<listcomp>       z3show_deprecation_warning_if_any.<locals>.<listcomp>r   z is deprecated. Please use the Conversations API instead. For more info, go to https://api.slack.com/changelog/2020-01-deprecating-antecedents-to-the-conversations-apic                    r   r   r   r   r   r   r   r   &   r   zv is deprecated. For more info, go to https://api.slack.com/changelog/2023-07-its-later-already-for-stars-and-remindersc                    r   r   r   r   r   r   r   r   /   r   zo is deprecated. For more info, go to https://api.slack.com/changelog/2023-08-workflow-steps-from-apps-step-back)	osenvironget"deprecated_method_prefixes_2020_01lenwarningswarn"deprecated_method_prefixes_2023_07"deprecated_method_prefixes_2024_09)r   skip_deprecationmatched_prefixesmessager   r   r   show_deprecation_warning_if_any   s*   

r   )r   r   r   r   r   strr   r   r   r   r   <module>   s    