a
    !ff                     @   s    d Z ddlZddlZdd ZdS )z(Helpers for deprecated code and modules.    Nc                 C   s<   z"t |  tdj| dt W n t jy6   Y n0 dS )zIssue a warning if `distribution_name` is installed.

    In a future release, this method will be updated to raise ImportError
    rather than just send a warning.

    Args:
        distribution_name (str): The name of the obsolete distribution.
    z}The {pkg} distribution is now obsolete. Please `pip uninstall {pkg}`. In the future, this warning will become an ImportError.)pkgN)pkg_resourcesget_distributionwarningswarnformatDeprecationWarningDistributionNotFound)Zdistribution_name r
   _/var/www/html/python-backend/venv/lib/python3.9/site-packages/google/cloud/obsolete/__init__.pycomplain   s    	
r   )__doc__r   r   r   r
   r
   r
   r   <module>   s   