Skip to content

Commit

Permalink
chore: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
rien333 committed Nov 27, 2024
1 parent a3630c6 commit 2b4a6a4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mdto/mdto.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,14 +228,16 @@ def to_xml(self, root: str) -> ET.Element:

return root


@dataclass
class ChecksumGegevens:
"""https://www.nationaalarchief.nl/archiveren/mdto/checksum
Note:
Note:
When building Bestand objects, it's recommended to call the convience function `create_bestand()` instead.
Moreover, if you just need to update a Bestand object's checksum, you should use `create_checksum()`.
"""

checksumAlgoritme: BegripGegevens
checksumWaarde: str
checksumDatum: str
Expand Down Expand Up @@ -757,7 +759,6 @@ def to_xml(self) -> ET.ElementTree:
"https://www.nationaalarchief.nl/mdto https://www.nationaalarchief.nl/mdto/MDTO-XML1.0.1.xsd",
)


root = ET.SubElement(mdto, "bestand")

if isinstance(self.identificatie, IdentificatieGegevens):
Expand Down

0 comments on commit 2b4a6a4

Please sign in to comment.