openclimatefix / power_perceiver

Machine learning experiments using the Perceiver IO model to forecast the electricity system (starting with solar)
MIT License
7 stars 1 forks source link

Pydantic model for batch --> power perceiver #189

Closed peterdudfield closed 1 year ago

peterdudfield commented 1 year ago

Pull Request

Description

Make pydantic model fro batch object.

Fixes #

How Has This Been Tested?

need to add a test

Checklist:

peterdudfield commented 1 year ago

LGTM!

Thanks, ill just add a test of some sort

codecov-commenter commented 1 year ago

Codecov Report

Merging #189 (1864274) into main (91f878c) will not change coverage. The diff coverage is n/a.

@@          Coverage Diff          @@
##            main    #189   +/-   ##
=====================================
  Coverage   9.53%   9.53%           
=====================================
  Files         72      72           
  Lines       6977    6977           
=====================================
  Hits         665     665           
  Misses      6312    6312           

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more