From: Raffael Meyer <14891507+barredterra@users.noreply.github.com> Date: Mon, 10 Feb 2025 12:02:43 +0000 (+0100) Subject: fix: type hint for electronic address (#65) X-Git-Tag: 2025.1.1~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a62b2e86a84cbc78c2211fcaff975cd5e319394f;p=thirdparty%2Fpython-drafthorse.git fix: type hint for electronic address (#65) Resolves https://github.com/pretix/python-drafthorse/pull/48#discussion_r1929207727 --- diff --git a/drafthorse/models/party.py b/drafthorse/models/party.py index fa8d00e..226af18 100644 --- a/drafthorse/models/party.py +++ b/drafthorse/models/party.py @@ -130,7 +130,7 @@ class TradeParty(Element): profile=BASIC, _d="Anschrift des Handelspartners", ) - electronic_address: Container = Field( + electronic_address: URIUniversalCommunication = Field( URIUniversalCommunication, required=False, profile=BASIC ) tax_registrations: Container = MultiField(