Skip to content

Conversation

@hf-krechan
Copy link
Collaborator

No description provided.

@hf-krechan
Copy link
Collaborator Author

hf-krechan commented Mar 20, 2025

  • bitte noch in allen COMs den default typ definieren. Bitte danke
  • Tests ergänzen die den default typ abprüfen. Ob er angegeben ist und ob er dem Typ/Klasse des COMs/BOs entspricht
  • Rename to ComTyp and BoTyp

@hf-krechan hf-krechan marked this pull request as ready for review March 20, 2025 15:44
@hf-krechan hf-krechan requested a review from Copilot March 20, 2025 15:45
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request renames references from the generic "Typ" enumeration to "BoTyp" and introduces a new "ComTyp" enumeration.

  • Renames "Typ" to "BoTyp" in multiple business object files.
  • Adds the "ComTyp" enumeration export in the init.py file.

Reviewed Changes

Copilot reviewed 99 out of 100 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/bo4e/init.py Replaces "Typ" with "BoTyp" and adds "ComTyp" to the export list.
src/bo4e/bo/bilanzierung.py Updates the type annotation and default assignment from Typ to BoTyp.
src/bo4e/bo/buendelvertrag.py Updates the type annotation and default assignment from Typ to BoTyp.
src/bo4e/bo/preisblattdienstleistung.py Updates the type annotation and default assignment from Typ to BoTyp.
src/bo4e/bo/marktlokation.py Updates the type annotation and default assignment from Typ to BoTyp.
src/bo4e/bo/energiemenge.py Updates the type annotation and default assignment from Typ to BoTyp.
src/bo4e/bo/geraet.py Updates the type annotation and default assignment from Typ to BoTyp.
src/bo4e/bo/netzlokation.py Updates the type annotation and default assignment from Typ to BoTyp.
src/bo4e/bo/messlokation.py Updates the type annotation and default assignment from Typ to BoTyp.
src/bo4e/bo/kosten.py Updates the type annotation and default assignment from Typ to BoTyp.
src/bo4e/bo/person.py Updates the type annotation and default assignment from Typ to BoTyp.
src/bo4e/bo/fremdkosten.py Updates the type annotation and default assignment from Typ to BoTyp.
src/bo4e/bo/preisblatt.py Updates the type annotation and default assignment from Typ to BoTyp.
src/bo4e/bo/ausschreibung.py Updates the type annotation and default assignment from Typ to BoTyp.
src/bo4e/bo/geschaeftspartner.py Updates the type annotation and default assignment from Typ to BoTyp.
src/bo4e/bo/angebot.py Updates the type annotation and default assignment from Typ to BoTyp.
src/bo4e/bo/lokationszuordnung.py Updates the type annotation and default assignment from Typ to BoTyp.
src/bo4e/bo/lastgang.py Updates the type annotation and default assignment from Typ to BoTyp.
src/bo4e/bo/marktteilnehmer.py Updates the type annotation and default assignment from Typ to BoTyp.
Files not reviewed (1)
  • docs/contributing_guide.rst: Language not supported

@hf-krechan hf-krechan changed the title Add Typ COM And Rename Typ BO Add ENUM ComTyp And Rename ENUM Typ To BoTyp Mar 20, 2025
@hf-kklein
Copy link
Contributor

ist das vllt die gelegenheit endlich festzulegen, was ein COM und was ein BO ist und warum? die frage drängt sich ja förmlich auf.

@hf-krechan
Copy link
Collaborator Author

hf-krechan commented Mar 21, 2025

ist das vllt die gelegenheit endlich festzulegen, was ein COM und was ein BO ist und warum? die frage drängt sich ja förmlich auf.

done in 26a7992

Beschlossen im letzten Workshop in Hannover vom 2024-10-08.

image

@hf-krechan hf-krechan enabled auto-merge (squash) March 21, 2025 10:36
@hf-krechan hf-krechan merged commit 40b5b4d into main Mar 21, 2025
32 checks passed
@hf-krechan hf-krechan deleted the add_typ_com_and_typ_bo branch March 21, 2025 10:38
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.

4 participants