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 Erreichbarkeit #885

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Add Erreichbarkeit #885

wants to merge 6 commits into from

Conversation

FreddyFox892
Copy link
Collaborator

No description provided.

Comment on lines +29 to +30
startzeit: Optional[time] = None
endzeit: Optional[time] = None
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kannst du einen test hinzufügen, wie das serialisiert wird?
das wäre wichtig für die kompatabilität

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

der scheint probleme haben das auf github mit der Time funktion zu encode

Lokal läuft das durch

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also was mich interessiert ist: sieht 17uhr hier in python gleich aus wie 17uhr drüben in c#?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

der scheint probleme haben das auf github mit der Time funktion zu encode

tests/test_erreichbarkeit.py:16: in TestErreichbarkeit
montag_erreichbarkeit=Zeitfenster(
E pydantic.errors.PydanticUserError: Zeitfenster is not fully defined; you should define ZusatzAttribut, then call Zeitfenster.model_rebuild().
E
E For further information visit https://errors.pydantic.dev/2.8/u/class-not-fully-defined

@lord-haffi weiß vllt mehr.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Die neuen Modelle müssen der init.py hinzugefügt werden

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lord-haffi es ligt nicht daraan das es nicht in der init war

@@ -82,3 +83,4 @@ class Geschaeftspartner(Geschaeftsobjekt):
#: Todo: Add optional connection to marktteilnehmer as discussed in workshop
#: not clear what is the best solution here - circular import marktteilnehmer?
#: discussed in workshop on Feb 6 2024: yes we need the bidirectional option, let's figure out a solution somehow.
erreichbarkeit: Optional[Erreichbarkeit] = None
Copy link
Contributor

@hf-fvesely hf-fvesely Sep 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Die Erreichbarkeit und auch auch die Bankverbindung und Steuernummer gerne noch im Geschäftspartner-Test ergänzen. Fällt nur nicht auf, weil alles optional ist.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Successfully merging this pull request may close these issues.

Add Bankverbindung and Erreichbarkeit COM Objects
4 participants