def update(self, args):
        """Updates an object with a dictionary.

        Args:
          args: key:value dictionary used to update the object.
        """
        for key, value in args.items():
            setattr(self, key, value)
        return self
Updates an object with a dictionary.

        Args:
          args: key:value dictionary used to update the object.
        
core/interfaces.py