OpenSTEF / openstef-dbc

Provides (company specific) database connector for the OpenSTEF package
Mozilla Public License 2.0
1 stars 7 forks source link

Feature ktps 1452 prediction job to dataclass #12

Closed EnricoASchmitz closed 2 years ago

EnricoASchmitz commented 2 years ago

The prediction job will now be returned as a dataclass, the solar and wind prediction jobs as a dict. Can only set attributes that already exist in the prediction job dataclass. Change typ to forecast_type after querying. Now logs one line if error occurs after converting from dict to dataclass

This also required change in openstf: https://github.com/alliander-opensource/openstf/pull/177

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

83.6% 83.6% Coverage
0.0% 0.0% Duplication