Skip to content

BashGitOperation

Base classes

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

⋔ Inheritance diagram

graph TD
  83275550["output_types.BashGitOperation"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 83275550
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

Git/gh operations detected in a Bash command.

Source code in src/clawd_code_sdk/models/output_types.py
class BashGitOperation(TypedDict):
    """Git/gh operations detected in a Bash command."""

    commit: NotRequired[BashGitCommit]
    push: NotRequired[BashGitPush]
    branch: NotRequired[BashGitBranchOperation]
    pr: NotRequired[BashGitPullRequest]

:fa-brands-github: Show source on GitHub