pygeek_stellar/cli_session.py
def _config_file_load(password=None):
    """
    Requests a password to decrypt the configuration file, decrypts it and returns the decoded JSON content
    together with the decryption password. If the file cannot be opened or decrypted or if its content cannot
    be decoded as JSON this method returns None.
    :param str password: Password to decrypt the file. If no password is given one is requested from the user.
    :return: In case of success it returns.
    :rtype: (json, str) or (None, None)
    """
    if password is None:
        password = password_input("Please insert the configuration file decryption password")
    configs_content = decode_json_content(load_encrypted_file(DEFAULT_CONFIG_FILE, password))
    return (None, None) if configs_content is None else (configs_content, password)

    Requests a password to decrypt the configuration file, decrypts it and returns the decoded JSON content
    together with the decryption password. If the file cannot be opened or decrypted or if its content cannot
    be decoded as JSON this method returns None.
    :param str password: Password to decrypt the file. If no password is given one is requested from the user.
    :return: In case of success it returns.
    :rtype: (json, str) or (None, None)
    
Requests a password to decrypt the configuration file, decrypts it and returns the decoded JSON content
together with the decryption password. If the file cannot be opened or decrypted or if its content cannot
be decoded as JSON this method returns None.
Requests a password to decrypt the configuration file decrypts it and returns the decoded JSON content together with the decryption password . If the file cannot be opened or decrypted or if its content cannot be decoded as JSON this method returns None .
def _config_file_load(password=None):
    if password is None:
        password = password_input("Please insert the configuration file decryption password")
    configs_content = decode_json_content(load_encrypted_file(DEFAULT_CONFIG_FILE, password))
    return (None, None) if configs_content is None else (configs_content, password)
def _config_file_load ( password = None ) : if password is None : password = password_input ( "Please insert the configuration file decryption password" ) configs_content = decode_json_content ( load_encrypted_file ( DEFAULT_CONFIG_FILE , password ) ) return ( None , None ) if configs_content is None else ( configs_content , password )
Requests a password to decrypt the configuration file, decrypts it and returns the decoded JSON content
together with the decryption password.
Requests a password to decrypt the configuration file decrypts it and returns the decoded JSON content together with the decryption password .
"""
    Requests a password to decrypt the configuration file, decrypts it and returns the decoded JSON content
    together with the decryption password. If the file cannot be opened or decrypted or if its content cannot
    be decoded as JSON this method returns None.
    :param str password: Password to decrypt the file. If no password is given one is requested from the user.
    :return: In case of success it returns.
    :rtype: (json, str) or (None, None)
    """
In case of success it returns.
In case of success it returns .
(json, str) or (None, None)
password
Password to decrypt the file. If no password is given one is requested from the user.
Password to decrypt the file . If no password is given one is requested from the user .