FWL_IO_OFFLINE |
Set to 1 (or true, yes, on) to forbid all network access: a file fetch (Fetcher.fetch, Fetcher.fetch_all) raises OfflineDataError for a missing or corrupt data file instead of a download, a model fetch (fetch_for, fwl-io fetch <model>) reports each failed dataset in one RuntimeError, and a command that needs the network (sync, mirror, mirror-publish, mirror-sync, mirror-pin, check-mirrors, mirror-status, latest) raises OfflineModeError before it connects. The OfflineDataError message names the file and the resolved data root. |