strawpoll/base/strawpoll_base.py
def to_clean_dict(self):
        """
        Cleans up self.__dict__ so that it is accepted as json by strawpoll API
        """
        cdict = self.__dict__
        for key in cdict.keys():
            if cdict[key] == None:
                del cdict[key]
        return cdict

        Cleans up self.__dict__ so that it is accepted as json by strawpoll API
        
Cleans up self.__dict__ so that it is accepted as json by strawpoll API
Cleans up self . __dict__ so that it is accepted as json by strawpoll API
def to_clean_dict(self):
        cdict = self.__dict__
        for key in cdict.keys():
            if cdict[key] == None:
                del cdict[key]
        return cdict
def to_clean_dict ( self ) : cdict = self . __dict__ for key in cdict . keys ( ) : if cdict [ key ] == None : del cdict [ key ] return cdict
Cleans up self.__dict__ so that it is accepted as json by strawpoll API
Cleans up self . __dict__ so that it is accepted as json by strawpoll API
"""
        Cleans up self.__dict__ so that it is accepted as json by strawpoll API
        """
self