model/identity.py
def to_dict(self) -> dict:
        """Returns all class paramaters in a dictionary form"""

        return {
            "username": self.__username,
            "public_key": self.__public_key,
            "nonce": self.__nonce,
            "timestamp": self.__timestamp,
            "hash_value": self.__hash_value
        }
Returns all class paramaters in a dictionary form
Returns all class paramaters in a dictionary form
Returns all class paramaters in a dictionary form
def to_dict(self) -> dict:
        return {
            "username": self.__username,
            "public_key": self.__public_key,
            "nonce": self.__nonce,
            "timestamp": self.__timestamp,
            "hash_value": self.__hash_value
        }
def to_dict ( self ) -> dict : return { "username" : self . __username , "public_key" : self . __public_key , "nonce" : self . __nonce , "timestamp" : self . __timestamp , "hash_value" : self . __hash_value }
Returns all class paramaters in a dictionary form
Returns all class paramaters in a dictionary form
"""Returns all class paramaters in a dictionary form"""
self