def get_edit_cookie(self):
        """
        Can be called in order to retrieve the cookies from an instance of WDLogin
        :return: Returns a json with all relevant cookies, aka cookie jar
        """
        if (time.time() - self.instantiation_time) > self.token_renew_period:
            self.generate_edit_credentials()
            self.instantiation_time = time.time()

        return self.s.cookies
def get_edit_cookie ( self ) : if ( time . time ( ) - self . instantiation_time ) > self . token_renew_period : self . generate_edit_credentials ( ) self . instantiation_time = time . time ( ) return self . s . cookies
Can be called in order to retrieve the cookies from an instance of WDLogin
        :return: Returns a json with all relevant cookies, aka cookie jar