block by ThomasG77 a22e8451885ec5bdb56880e381e90545

PyQGIS recipe to learn about selected features and return result as an ordered dict of fields names, values

pyqgis-get-features-attributes-as-ordered-dictionnary-in-selected-features.py