ashb commented on a change in pull request #5319:
[AIRFLOW-4564][AIRFLOW-4523][AIRFLOW-4577] Azure Container Instance bugfixes
and improvements
URL: https://github.com/apache/airflow/pull/5319#discussion_r299005531
##########
File path: airflow/contrib/hooks/azure_container_instance_hook.py
##########
@@ -92,43 +92,28 @@ def create_or_update(self, resource_group, name,
container_group):
name,
container_group)
+ from zope.deprecation import deprecation
Review comment:
Yes please - that is a special case (to not import it unless that setting is
enabled), in other places we use it like a normal import, and the Flake8 check
will tell us about unused imports once we remove the deprecation.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services