Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Example --> Pydantic #166

@peterdudfield

Description

@peterdudfield

Move Example to Pydantic object

Detailed Description

The Example data (maybe renamed to 'BatchData') is getting a bit bigger, and lacks a bit of structure. It might be good to move it to something with a bit more structure. If we need move to pydantic, then then we can use the

  • internal validators to validate the data nicely.
  • descriptions of data fields
  • more tree like structure, which can grow with more data feeds

We would have to check that is saves and compresses well

Possible Implementation

BatchData

  • General
    • t0_dt
    • batch_size
  • PV
    • pv_yield
    • ....
  • {Next_Data_Source}

Metadata

Metadata

Assignees

No one assigned

    Labels

    dataNew data source or feature; or modification of existing data sourcediscussion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions