hamyar_paygah.config.server_config ================================== .. py:module:: hamyar_paygah.config.server_config .. autoapi-nested-parse:: Server configuration. Handles loading and saving the EMS server configuration. Attributes ---------- .. autoapisummary:: hamyar_paygah.config.server_config._SERVER_ADDRESS_KEY Functions --------- .. autoapisummary:: hamyar_paygah.config.server_config.load_server_address hamyar_paygah.config.server_config.save_server_address Module Contents --------------- .. py:data:: _SERVER_ADDRESS_KEY :type: Final[str] :value: 'server_address' .. py:function:: load_server_address() Load the server address from the application configuration file. :returns: The stored server address if present and valid, otherwise ``None``. .. py:function:: save_server_address(server_address) Persist the server address into the application configuration file. :param server_address: Server address to store.