potiuk commented on a change in pull request #11478:
URL: https://github.com/apache/airflow/pull/11478#discussion_r504797776
##########
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:
I believe select_class works only on name not whole class including
package/module. See some examples below. If you want to perform an operation on
specific class in specific module, you can provide filename filters I think.
----------------------------------------------------------------
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]