mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-09-20 10:41:14 +00:00
Prediction: Support manual update (#319)
* Provide /v1/prediction/update and /v1/prediction/update/{provider_id} as POST endpoints to update provider data. * Update description for deprecated endpoints how to use new API.
This commit is contained in:
committed by
GitHub
parent
c0ea13d0f4
commit
69eac26885
@@ -1645,7 +1645,7 @@ class DataContainer(SingletonMixin, DataBase, MutableMapping):
|
||||
force_enable (bool, optional): If True, forces the update even if a provider is disabled.
|
||||
force_update (bool, optional): If True, forces the providers to update the data even if still cached.
|
||||
"""
|
||||
for provider in self.enabled_providers:
|
||||
for provider in self.providers:
|
||||
provider.update_data(force_enable=force_enable, force_update=force_update)
|
||||
|
||||
def key_to_series(
|
||||
|
Reference in New Issue
Block a user