Lambda default value with Pyside6 events

I'm porting an application from: python 3.8.5 / PyQt5, to : python 3.10.0 / PySide6 This code adds multiple QAction in a context menu and worked with python 3.8.5 / PyQt5: for filepath in filepath...