Skip to content

StrictMarketplaceGithub

Base classes

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

⋔ Inheritance diagram

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

🛈 DocStrings

Bases: ClaudeCodeBaseModel

Source code in src/clawd_code_sdk/models/settings.py
class StrictMarketplaceGithub(ClaudeCodeBaseModel):
    model_config = ConfigDict(
        extra="forbid",
    )
    source: Literal["github"] = "github"
    """
    Identifies the marketplace source type
    """
    repo: str
    """
    GitHub repository in owner/repo format
    """
    ref: str | None = None
    """
    Git branch, tag, or SHA
    """
    path: str | None = None
    """
    Subdirectory path
    """

path class-attribute instance-attribute

path: str | None = None

Subdirectory path

ref class-attribute instance-attribute

ref: str | None = None

Git branch, tag, or SHA

repo instance-attribute

repo: str

GitHub repository in owner/repo format

source class-attribute instance-attribute

source: Literal['github'] = 'github'

Identifies the marketplace source type

:fa-brands-github: Show source on GitHub