pgagnon commented on a change in pull request #5481: [AIRLFOW-4851] preliminary 
refactor
URL: https://github.com/apache/airflow/pull/5481#discussion_r297452268
 
 

 ##########
 File path: airflow/kubernetes/kubernetes_request_factory/pod_request_factory.py
 ##########
 @@ -15,12 +15,47 @@
 # specific language governing permissions and limitations
 # under the License.
 
-from typing import Dict
 
 import yaml
-from airflow.kubernetes.pod import Pod
-from airflow.kubernetes.kubernetes_request_factory.kubernetes_request_factory \
-    import KubernetesRequestFactory
+from abc import ABCMeta
+from kubernetes.client import ApiClient
+import kubernetes.client.models as k8s
+from typing import Dict
+
+
+def merge_dicts(pod_dict: Dict, base_dict: Dict) -> Dict:
 
 Review comment:
   I think this function could be replaced with calls to `dict1.update(dict2)`.

----------------------------------------------------------------
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

Reply via email to