Skip to content

BashGitCommit

Base classes

Name Children Inherits
dict
builtins
dict() -> new empty dictionary

⋔ Inheritance diagram

graph TD
  2305369551["output_types.BashGitCommit"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 2305369551
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

A git commit detected in a Bash command.

Source code in src/clawd_code_sdk/models/output_types.py
class BashGitCommit(TypedDict):
    """A git commit detected in a Bash command."""

    sha: str
    kind: Literal["committed", "amended", "cherry-picked"]
    branch: NotRequired[str]

:fa-brands-github: Show source on GitHub