potiuk commented on a change in pull request #11478:
URL: https://github.com/apache/airflow/pull/11478#discussion_r504799746
##########
File path: provider_packages/refactor_provider_packages.py
##########
@@ -650,6 +650,18 @@ def odbc_package_filter(node: LN, capture: Capture,
filename: Filename) -> bool:
rename("airflow.providers.odbc.utils.helpers")
)
+ def refactor_kubernetes_pod_operator(self):
+ def kubernetes_package_filter(node: LN, capture: Capture, filename:
Filename) -> bool:
+ return filename.startswith("./airflow/providers/cncf/kubernetes")
+
+ (
+ self.qry.
+ select_class("airflow.kubernetes.pod_generator.PodGenerator").
Review comment:
BTW. you can easily test Bowler and debug it. You just need to run this
as python code and add `--debug`, see below comment in main (but it is a lot
slower and it's better to comment out all other filters only leaving the one
you are working on.
----------------------------------------------------------------
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]