imf_reader.config ================= .. py:module:: imf_reader.config .. autoapi-nested-parse:: Configuration for the IMF reader. Attributes ---------- .. autoapisummary:: imf_reader.config.logger imf_reader.config.shell_handler imf_reader.config.fmt_file imf_reader.config.fmt_shell imf_reader.config.shell_formatter Exceptions ---------- .. autoapisummary:: imf_reader.config.NoDataError imf_reader.config.UnexpectedFileError imf_reader.config.BulkPayloadCorruptError Module Contents --------------- .. py:exception:: NoDataError Bases: :py:obj:`Exception` This is a custom exception that is raised when no UIS data exists .. py:exception:: UnexpectedFileError Bases: :py:obj:`Exception` This is a custom exception that is raised when an unexpected file is found in the zip folder or if there is an issue with the file structure .. py:exception:: BulkPayloadCorruptError Bases: :py:obj:`Exception` Raised when a cached or freshly-downloaded bulk payload (e.g., the WEO SDMX zip) fails integrity validation. The corrupt cache entry is removed before this is raised, so the next call re-downloads cleanly. .. py:data:: logger .. py:data:: shell_handler .. py:data:: fmt_file :value: '%(levelname)s: %(message)s' .. py:data:: fmt_shell :value: '%(levelname)s: %(message)s' .. py:data:: shell_formatter