Skip to content

MarketplaceSourceHostPattern

Base classes

Name Children Inherits
ClaudeCodeBaseModel
clawd_code_sdk.models.base
Base model for all Claude Code Pydantic models.

⋔ Inheritance diagram

graph TD
  721948099["settings.MarketplaceSourceHostPattern"]
  2604142835["base.ClaudeCodeBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  2604142835 --> 721948099
  3879467795 --> 2604142835
  2751680898 --> 3879467795

🛈 DocStrings

Bases: ClaudeCodeBaseModel

Where to fetch the marketplace from.

Source code in src/clawd_code_sdk/models/settings.py
class MarketplaceSourceHostPattern(ClaudeCodeBaseModel):
    """Where to fetch the marketplace from."""

    model_config = ConfigDict(
        extra="forbid",
    )
    source: Literal["hostPattern"] = "hostPattern"
    """
    Identifies the marketplace source type
    """
    host_pattern: str = Field(..., alias="hostPattern")
    """
    Git host pattern to trust for repositories in source specifications
    """

host_pattern class-attribute instance-attribute

host_pattern: str = Field(..., alias='hostPattern')

Git host pattern to trust for repositories in source specifications

source class-attribute instance-attribute

source: Literal['hostPattern'] = 'hostPattern'

Identifies the marketplace source type

:fa-brands-github: Show source on GitHub