We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97003a1 commit 6c72497Copy full SHA for 6c72497
overhave/entities/settings.py
@@ -32,6 +32,12 @@ class OverhaveAdminSettings(BaseOverhavePrefix):
32
# Link to support chat
33
support_chat_url: httpx.URL | None
34
35
+ @validator("support_chat_url", pre=True)
36
+ def validate_url(cls, v: str | httpx.URL) -> httpx.URL:
37
+ if isinstance(v, str):
38
+ return httpx.URL(v)
39
+ return v
40
+
41
42
class OverhaveLanguageSettings(BaseOverhavePrefix):
43
"""Settings for language definitions."""
pyproject.toml
@@ -1,6 +1,6 @@
1
[tool.poetry]
2
name = "overhave"
3
-version = "4.1.2"
+version = "4.1.3"
4
description = "Overhave - web-framework for BDD"
5
readme = "README.rst"
6
authors = [
0 commit comments