From a62b2e86a84cbc78c2211fcaff975cd5e319394f Mon Sep 17 00:00:00 2001 From: Raffael Meyer <14891507+barredterra@users.noreply.github.com> Date: Mon, 10 Feb 2025 13:02:43 +0100 Subject: [PATCH] fix: type hint for electronic address (#65) Resolves https://github.com/pretix/python-drafthorse/pull/48#discussion_r1929207727 --- drafthorse/models/party.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( -- 2.47.3