The way the ForecastValueYearMonth classes are created for each year and month currently causes a warning message when this library is imported like:
warnings.warn(message, UserWarning)
.../nowcasting_datamodel/models/forecast.py:212: SAWarning: This declarative base already contains a class
with the same class name and module name as nowcasting_datamodel.models.forecast.ForecastValueYearMonth,
and will be replaced in the string-lookup table.
This pull request creates the classes dynamically and should remove the warning message since the class names are distinct for each year and month
The way the ForecastValueYearMonth classes are created for each year and month currently causes a warning message when this library is imported like:
This pull request creates the classes dynamically and should remove the warning message since the class names are distinct for each year and month
Closes #148
Checklist: