in composer_migration/src/composer_migration/lib/strategies/migrate_kubernetes_pod_operator_ast.py [0:0]
def visit_Dict(self: ast.NodeVisitor, node: ast.Dict) -> None:
if len(node.keys) != 0 and self.kpo_attribute: # This means pod affinity is set
self.has_problem = True
self.kpo_attribute = False