
                         J    d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ	 d Z
y)	z2Utils for the compute in-place snapshots commands.    )absolute_import)division)unicode_literals)
zone_utils)utilsc                     t        j                  |      }|j                  d | D               t        j                  |      }|j                  d | D               y)z)Tests to check if the zone is deprecated.c              3   F   K   | ]  }|j                         d k(  r|  yw)zcompute.zoneInstantSnapshotsN
Collection.0refs     Alib/googlecloudsdk/command_lib/compute/instant_snapshots/utils.py	<genexpr>z-WarnAboutScopeDeprecations.<locals>.<genexpr>   s(      c^^!??    !c              3   F   K   | ]  }|j                         d k(  r|  yw)zcompute.regionInstantSnapshotsNr
   r   s     r   r   z-WarnAboutScopeDeprecations.<locals>.<genexpr>&   s(      c^^!AA r   N)r   ZoneResourceFetcherWarnForZonalCreationregion_utilsRegionResourceFetcherWarnForRegionalCreation)ips_refsclientzone_resource_fetcherregion_resource_fetchers       r   WarnAboutScopeDeprecationsr      s\    $88@,, )>>vF11    N)__doc__
__future__r   r   r   googlecloudsdk.api_lib.computer   &googlecloudsdk.api_lib.compute.regionsr   r   r    r   r   <module>r#      s    9 &  ' 5 Hr   