moabb.get_download_provider#

moabb.get_download_provider()[source]#

Return the active download provider.

The environment variable MOABB_DOWNLOAD_PROVIDER wins over the stored MNE config value, so a single run can override a persisted preference. An unrecognised value falls back to "auto" with a warning rather than raising, so a stale config cannot break every download.

Returns:

One of DOWNLOAD_PROVIDERS.

Return type:

str