Skip to content

BashGitPullRequest

Base classes

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

⋔ Inheritance diagram

graph TD
  2891877404["output_types.BashGitPullRequest"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 2891877404
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

A gh PR operation detected in a Bash command.

Source code in src/clawd_code_sdk/models/output_types.py
class BashGitPullRequest(TypedDict):
    """A gh PR operation detected in a Bash command."""

    number: int
    url: NotRequired[str]
    action: Literal[
        "created",
        "edited",
        "merged",
        "commented",
        "closed",
        "reopened",
        "ready",
        "draft",
        "auto-merge-enabled",
        "auto-merge-disabled",
    ]

:fa-brands-github: Show source on GitHub