MCPcopy Create free account
hub / github.com/base/base / PrSpec

Class PrSpec

etc/scripts/local/reth_release.py:36–44  ·  view source on GitHub ↗

A `--pr` value before metadata is fetched. `repo` is `owner/repo` from a full pull URL, or `None` when the spec is a bare number (resolved against `--upstream-repo`).

Source from the content-addressed store, hash-verified

34
35@dataclass(frozen=True)
36class PrSpec:
37 """A `--pr` value before metadata is fetched.
38
39 `repo` is `owner/repo` from a full pull URL, or `None` when the spec is a
40 bare number (resolved against `--upstream-repo`).
41 """
42
43 number: int
44 repo: str | None
45
46
47@dataclass(frozen=True)

Calls

no outgoing calls