Skip to content

Commit a62b2e8

Browse files
authored
fix: type hint for electronic address (#65)
Resolves #48 (comment)
1 parent ea2100b commit a62b2e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drafthorse/models/party.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ class TradeParty(Element):
130130
profile=BASIC,
131131
_d="Anschrift des Handelspartners",
132132
)
133-
electronic_address: Container = Field(
133+
electronic_address: URIUniversalCommunication = Field(
134134
URIUniversalCommunication, required=False, profile=BASIC
135135
)
136136
tax_registrations: Container = MultiField(

0 commit comments

Comments
 (0)