Skip to content

BlockedMarketplaceGit

Base classes

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

⋔ Inheritance diagram

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

🛈 DocStrings

Bases: ClaudeCodeBaseModel

Source code in src/clawd_code_sdk/models/settings.py
class BlockedMarketplaceGit(ClaudeCodeBaseModel):
    model_config = ConfigDict(
        extra="forbid",
    )
    source: Literal["git"] = "git"
    """
    Block marketplace from git repository URL
    """
    url: str = Field(..., pattern=".*\\.git$")
    """
    Full git repository URL
    """
    ref: str | None = None
    """
    Git branch or tag to use
    """
    path: str | None = None
    """
    Path to marketplace.json within repo
    """

path class-attribute instance-attribute

path: str | None = None

Path to marketplace.json within repo

ref class-attribute instance-attribute

ref: str | None = None

Git branch or tag to use

source class-attribute instance-attribute

source: Literal['git'] = 'git'

Block marketplace from git repository URL

url class-attribute instance-attribute

url: str = Field(..., pattern='.*\\.git$')

Full git repository URL

:fa-brands-github: Show source on GitHub