Skip to content

Commit

Permalink
Merge pull request #472 from OpenEnergyPlatform/bugfix-466-web-servic…
Browse files Browse the repository at this point in the history
…e-update

Bugfix #466 Web service update
  • Loading branch information
chrwm authored Oct 26, 2023
2 parents 9e58a89 + e00ad1b commit 83aee16
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)
### Removed
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 83aee16

Please sign in to comment.