Hochfrequenz / Hochfrequenz/intermediate-bo4e-migration-models

Add EnergiemengeErweitert

Open
#38 0 comments 0 reactions 1 assignee Claimed by @JonasSchneegans View on GitHub
Dominant language
Python
Stars
0
Forks
0
Avg merge
4m
Merged PRs (30d)
12

Description

The model EnergiemengeErweitert hav to be add to the intermediate layer.
```
class EnergiemengeErweitert(Energiemenge):
"""
This class models the bo Energiemenge as used in the intremediate layer.
This model is based on the bo4e object Energiemenge, but uses the non-standard compoment VerbrauchErweitert
instead of the official component Verbrauch.
We need this class for the serialization of the targetmodel QuantityBoneycomb, because otherwise the additional
fields of Verbraucherweitert will be missing after serilization.
"""
energieverbrauch: list[VerbrauchErweitert] # type: ignore[assignment]
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.