File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010from bo4e .version import __version__
1111from bo4e .zusatzattribut import ZusatzAttribut
1212
13- from ..enum .botyp import BoTyp
1413from ..utils import postprocess_docstring
1514
1615# pylint: disable=too-few-public-methods
@@ -37,7 +36,6 @@ class Geschaeftsobjekt(BaseModel): # pragma: no cover
3736 Version der BO-Struktur aka "fachliche Versionierung"
3837 """
3938
40- typ : Annotated [Optional [BoTyp ], Field (alias = "_typ" )] = BoTyp .GESCHAEFTSOBJEKT
4139 zusatz_attribute : Optional [list ["ZusatzAttribut" ]] = None
4240 # zusatz_attribute is a list of ZusatzAttribut objects which are used to store additional information
4341
Original file line number Diff line number Diff line change 1010from pydantic import Field
1111
1212from ..enum .comtyp import ComTyp
13- from ..enum .tarifzeit import Tarifzeit
1413from ..utils import postprocess_docstring
1514from .com import COM
1615
2019 from ..enum .kalkulationsmethode import Kalkulationsmethode
2120 from ..enum .leistungstyp import Leistungstyp
2221 from ..enum .mengeneinheit import Mengeneinheit
22+ from ..enum .tarifzeit import Tarifzeit
2323 from ..enum .waehrungseinheit import Waehrungseinheit
2424 from .preisstaffel import Preisstaffel
2525
@@ -60,7 +60,7 @@ class Preisposition(COM):
6060 Die Zeit(dauer) auf die sich der Preis bezieht.
6161 Z.B. ein Jahr für einen Leistungspreis der in €/kW/Jahr ausgegeben wird
6262 """
63- tarifzeit : Optional [Tarifzeit ] = None
63+ tarifzeit : Optional [" Tarifzeit" ] = None
6464 """Festlegung, für welche Tarifzeit der Preis hier festgelegt ist"""
6565 bdew_artikelnummer : Optional ["BDEWArtikelnummer" ] = None
6666 """
Original file line number Diff line number Diff line change 1010 Mengeneinheit ,
1111 Preisposition ,
1212 Preisstaffel ,
13+ Tarifzeit ,
1314 Waehrungseinheit ,
1415)
15- from bo4e .enum .tarifzeit import Tarifzeit
1616from tests .serialization_helper import assert_serialization_roundtrip
1717
1818
You can’t perform that action at this time.
0 commit comments