<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_properties(self, properties):
 """Sets properties and text of this info from a dictionary"""

        if isinstance(properties, dict):
            self.properties = properties
            self.sync_properties()
        else:
            self.text = properties