Skip to content

Commit

Permalink
Merge branch 'bugfix-466-web-service-update' into bugfix-469-add_miss…
Browse files Browse the repository at this point in the history
…ing_column_to_table
  • Loading branch information
FlorianK13 committed Oct 23, 2023
2 parents ef418eb + e00ad1b commit 9b0cb5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and the versioning aims to respect [Semantic Versioning](http://semver.org/spec/
### Added
- User-defined output path for csv, xml, database [#402](https://github.com/OpenEnergyPlatform/open-MaStR/pull/402)
- Add date=existing parameter to Mastr.download [#452](https://github.com/OpenEnergyPlatform/open-MaStR/pull/452)
- Adapt column names to the API web service update [#472](https://github.com/OpenEnergyPlatform/open-MaStR/pull/472)
### Changed
- Using sphinx version <7 to build documentation [#454](https://github.com/OpenEnergyPlatform/open-MaStR/pull/454)
- Get missing column names in xml download in a robust way [#470](https://github.com/OpenEnergyPlatform/open-MaStR/pull/470)
Expand Down
5 changes: 2 additions & 3 deletions open_mastr/utils/orm.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@


class ParentAllTables(object):

DatenQuelle = Column(String)
DatumDownload = Column(Date)

Expand Down Expand Up @@ -74,7 +73,6 @@ class MissedAdditionalData(Base):


class Extended(object):

NetzbetreiberMastrNummer = Column(String)
Registrierungsdatum = Column(Date)
EinheitMastrNummer = Column(String, primary_key=True)
Expand Down Expand Up @@ -192,6 +190,7 @@ class SolarExtended(Extended, ParentAllTables, Base):
Buergerenergie = Column(Boolean)
EegMastrNummer = Column(String)
ArtDerFlaecheIds = Column(String)
Zaehlernummer = Column(String)


class BiomassExtended(Extended, ParentAllTables, Base):
Expand Down Expand Up @@ -281,10 +280,10 @@ class StorageExtended(Extended, ParentAllTables, Base):
EegMastrNummer = Column(String)
EegAnlagentyp = Column(String)
Technologie = Column(String)
LeistungsaufnahmeBeimEinspeichern = Column(Float)


class Eeg(object):

Registrierungsdatum = Column(Date)
EegMastrNummer = Column(String, primary_key=True)
Meldedatum = Column(Date)
Expand Down

0 comments on commit 9b0cb5c

Please sign in to comment.