AttributeError: can't set attribute` in Event_listener example, from `ctx.protocol = ssl_module.PROTOCOL_TLSv1_2` · Issue #1 · metno/python-productstatus-client · GitHub
![QGIS Python API set label color based on attribute field - Geographic Information Systems Stack Exchange QGIS Python API set label color based on attribute field - Geographic Information Systems Stack Exchange](https://i.stack.imgur.com/hFNzM.png)
QGIS Python API set label color based on attribute field - Geographic Information Systems Stack Exchange
![misleading function name QgsFeature.setAttribute()/.setAttributes() · Issue #41389 · qgis/QGIS · GitHub misleading function name QgsFeature.setAttribute()/.setAttributes() · Issue #41389 · qgis/QGIS · GitHub](https://user-images.githubusercontent.com/1829991/107162560-d5343200-69ef-11eb-810f-d2860a319ac8.png)