Coverage for src / rendercv / schema / models / cv / custom_connection.py: 100%
6 statements
« prev ^ index » next coverage.py v7.13.4, created at 2026-03-25 13:49 +0000
« prev ^ index » next coverage.py v7.13.4, created at 2026-03-25 13:49 +0000
1import pydantic
3from ..base import BaseModelWithoutExtraKeys
6class CustomConnection(BaseModelWithoutExtraKeys):
7 """User-defined contact method with custom icon and URL.
9 Why:
10 Built-in social networks cover common platforms, but users need
11 arbitrary contact methods (personal websites, custom platforms).
12 CustomConnection provides a FontAwesome icon, display text, and
13 optional URL for any contact channel.
14 """
16 fontawesome_icon: str
17 placeholder: str
18 url: pydantic.HttpUrl | None