Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add EnergiemengeErweitert #38

Open
JonasSchneegans opened this issue Sep 26, 2023 · 0 comments
Open

Add EnergiemengeErweitert #38

JonasSchneegans opened this issue Sep 26, 2023 · 0 comments
Assignees

Comments

@JonasSchneegans
Copy link
Contributor

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]
@JonasSchneegans JonasSchneegans self-assigned this Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant