Skip to content

Commit

Permalink
Added optional remark field for EBDMetaData
Browse files Browse the repository at this point in the history
  • Loading branch information
DeltaDaniel committed Nov 5, 2024
1 parent 436b03a commit a8b7b1f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/rebdhuhn/models/ebd_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@ class EbdTableMetaData:
"""
e.g. 'BIKO' for "Prüfende Rolle: 'BIKO'"
"""
remark: Optional[str] = attrs.field(
default=None, validator=attrs.validators.optional(attrs.validators.instance_of(str))
)
"""
remark for empty ebd sections, e.g. 'Derzeit ist für diese Entscheidung kein Entscheidungsbaum notwendig,
da keine Antwort gegeben wird und ausschließlich die Liste versandt wird.'
"""


@attrs.define(auto_attribs=True, kw_only=True)
Expand Down

0 comments on commit a8b7b1f

Please sign in to comment.