flexmeasures.ui.utils.fetch_vendor_assets
Fetch the UI’s third-party libraries, so FlexMeasures serves them itself rather than browsers loading them from CDNs.
Run it as python -m flexmeasures.ui.utils.fetch_vendor_assets; see flexmeasures/ui/utils/vendor_assets.py.
It fetches the versions that the FLEXMEASURES_JS_VERSIONS setting sets, read from the config file that FlexMeasures reads.
It lives apart from vendor_assets.py, which flexmeasures.ui imports, so running it does not import itself twice.
Functions