Skip to main content

review.gate.Paged

review.gate.Paged(stage, path, size, pushed)

What page wrote.

Attributes

Name Type Description
stage str blind, second or third.
path Path The page.
size int Its size in bytes.
pushed bool | None For the blind page, whether the upstream holds the commit of seal.toml (False if the branch has no upstream); else None.

Examples

from pathlib import Path

from babregen.review.gate import Paged

print(Paged("blind", Path("gate-blind.html"), 1, False).stage)
blind