openclimatefix / pv-site-production

Production service for PV site level forecasts
MIT License
1 stars 3 forks source link

Update the code to the latest DB schema #36

Closed simlmx closed 1 year ago

simlmx commented 1 year ago

This is what the code could look like with the new DB schema.

Still TODO:

CC @peterdudfield @devsjc

codecov-commenter commented 1 year ago

Codecov Report

Merging #36 (1e674bb) into main (a2f80bd) will increase coverage by 0.14%. The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##             main      #36      +/-   ##
==========================================
+ Coverage   91.12%   91.26%   +0.14%     
==========================================
  Files          10        9       -1     
  Lines         248      252       +4     
==========================================
+ Hits          226      230       +4     
  Misses         22       22              
Impacted Files Coverage Δ
pv_site_production/app.py 93.93% <100.00%> (+1.08%) :arrow_up:
pv_site_production/data/pv_data_sources.py 94.04% <100.00%> (+0.37%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more