Add default values to Message attributes This ensures no attributes are None and simplifies some checks within the function Otherwise, if, for instance, there were no 'data' field in a message, when deserializing, the caller would have to check for None
Add default values to Message attributes
This ensures no attributes are None and simplifies some checks within the function
Otherwise, if, for instance, there were no 'data' field in a message, when deserializing, the caller would have to check for None

Dark5ide/mycroft-core,forslund/mycroft-core,forslund/mycroft-core,MycroftAI/mycroft-core,Dark5ide/mycroft-core,MycroftAI/mycroft-core