imf_reader.config
Configuration for the IMF reader.
Attributes
Exceptions
This is a custom exception that is raised when no UIS data exists |
|
This is a custom exception that is raised when an unexpected file is found in the zip folder |
|
Raised when a cached or freshly-downloaded bulk payload (e.g., the WEO SDMX zip) fails |
Module Contents
- exception imf_reader.config.NoDataError
Bases:
ExceptionThis is a custom exception that is raised when no UIS data exists
- exception imf_reader.config.UnexpectedFileError
Bases:
ExceptionThis 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
- exception imf_reader.config.BulkPayloadCorruptError
Bases:
ExceptionRaised 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.
- imf_reader.config.logger
- imf_reader.config.shell_handler
- imf_reader.config.fmt_file = '%(levelname)s: %(message)s'
- imf_reader.config.fmt_shell = '%(levelname)s: %(message)s'
- imf_reader.config.shell_formatter