The existing orm.py contains only the data model from the API. Even though the bulk download offers comparable data, it is not exactly the same. Hence the data structure in the orm.py has to be adapted.
We first want to look at the merged data model from API and bulk download, that contains every attribute for every table from both bulk and API. Here we will construct the parent classes Extended and Eeg.

The existing orm.py contains only the data model from the API. Even though the bulk download offers comparable data, it is not exactly the same. Hence the data structure in the orm.py has to be adapted.
We first want to look at the merged data model from API and bulk download, that contains every attribute for every table from both bulk and API. Here we will construct the parent classes
ExtendedandEeg.