Skip to content

Commit

Permalink
docs: shorten docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
rien333 committed Dec 16, 2024
1 parent a7390d9 commit 92a30e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mdto/mdto.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ class RaadpleeglocatieGegevens(Serializable):
raadpleeglocatieOnline: str | List[str] = None

def validate(self) -> None:
"""Validate if `raadpleeglocatieOnline` is a RFC 3986 compliant URI"""
"""Check if raadpleeglocatieOnline is a RFC 3986 compliant URI."""
super().validate()
if not helpers.validate_url_or_urls(self.raadpleeglocatieOnline):
raise ValidationError(
Expand Down Expand Up @@ -704,7 +704,7 @@ def to_xml(self) -> ET.ElementTree:
return super().to_xml("bestand")

def validate(self) -> None:
"""Validate if `URLBestand` is a RFC 3986 compliant URI"""
"""Check if URLBestand is a RFC 3986 compliant URI"""
super().validate()
if not helpers.validate_url_or_urls(self.URLBestand):
raise ValidationError(
Expand Down

0 comments on commit 92a30e2

Please sign in to comment.