michalslowikowski00 commented on a change in pull request #6306: [AIRFLOW-5632] 
Rename ComputeEngine operators
URL: https://github.com/apache/airflow/pull/6306#discussion_r334420626
 
 

 ##########
 File path: airflow/contrib/hooks/gcp_compute_hook.py
 ##########
 @@ -16,14 +16,30 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
-"""This module is deprecated. Please use `airflow.gcp.hooks.compute`."""
+"""This module is deprecated. Please use 
`airflow.gcp.hooks.compute.ComputeEngineHook`."""
 
 import warnings
 
 # pylint: disable=unused-import
-from airflow.gcp.hooks.compute import GceHook, GceOperationStatus  # noqa
+from airflow.gcp.hooks.compute import ComputeEngineHook  # noqa
 
 warnings.warn(
-    "This module is deprecated. Please use `airflow.gcp.hooks.compute`.",
+    "This module is deprecated. airflow.gcp.hooks.compute.ComputeEngineHook`",
 
 Review comment:
   Done

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to