def put_wall_post(self, message, attachment=None, profile_id='me'):
    attachment = attachment if attachment else {}
return self.put_object(profile_id, 'feed', message=message, **attachment)
Warning about mutable default argument in PyCharm