We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09cca94 commit 37fd70bCopy full SHA for 37fd70b
1 file changed
custom_components/zaptec/validate.py
@@ -132,7 +132,13 @@ class InstallationConnectionDetails(BaseModel):
132
133
134
def validate(data: Any, url: str) -> None:
135
- """Validate the data."""
+ """
136
+ Validate the data.
137
+
138
+ Raises:
139
+ ValidationError: If data doesn't match the pydantic model associated with the url.
140
141
142
143
for pat, re_pat, model in _URLS:
144
# Mathes either the exact string or its regexp
0 commit comments