code: def set_properties(self, properties, recursive=True):
          
          if not properties:
              return
  
          return self._accessor.set_properties(self, properties, recursive)
docs: Adds new or modifies existing properties listed in properties
  
          properties - is a dict which contains the property names and values to set.
                       Property values can be a list or tuple to set multiple values
                       for a key.
          recursive  - on folders property attachment is recursive by default. It is
                       possible to force recursive behavior.