WHAT :
Some high level methods do not allow specifying argument that low level methods allows.
For example, country argument is absent whereas it could be specifyed and therefore settable :
|
predictors = Predictor().get_predictors( |
|
datetime_start=datetime_start, |
|
datetime_end=datetime_end, |
|
forecast_resolution=forecast_resolution, |
|
location=location, |
|
) |
An other example with source :
|
weather_data_predictors = self.get_weather_data( |
|
datetime_start, |
|
datetime_end, |
|
location=location, |
|
country=country, |
|
forecast_resolution=forecast_resolution, |
|
) |
Therefore, source is forced to "optimum" when using ModelInput class
HOW :
Add low level methods arguments in high level methods arguments
WHAT :
Some high level methods do not allow specifying argument that low level methods allows.
For example,
countryargument is absent whereas it could be specifyed and therefore settable :openstef-dbc/openstef_dbc/services/model_input.py
Lines 77 to 82 in 00f7318
An other example with
source:openstef-dbc/openstef_dbc/services/predictor.py
Lines 73 to 79 in 00f7318
Therefore, source is forced to "optimum" when using
ModelInputclassHOW :
Add low level methods arguments in high level methods arguments