paul-florentin-charles / bcn-rainfall-models

A project aiming at delevering tools for visualisation and analysis of Barcelona rainfall data. Data is retrieved from there: https://opendata-ajuntament.barcelona.cat/data/en/dataset/precipitacio-hist-bcn.
MIT License
0 stars 0 forks source link

Try to reduce the amount of optional parameters in functions/routes #29

Closed paul-florentin-charles closed 8 months ago

paul-florentin-charles commented 9 months ago

Optional parameters allow flexibility but overusing them might complexify futur usages of the core classes & the API that is being built. It also makes the behaviour less predictable sometime.

paul-florentin-charles commented 8 months ago

Made begin_year almost always compulsory, whether it be API or core classes