Skip to content

Low level methods arguments in high level methods arguments #149

@maxi-fort

Description

@maxi-fort

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions