Skip to content

Models: K

View as Markdown
  • key: str
  • rank_before: int | None (rankBefore on the wire) (optional)
  • rank: int | None (optional)
  • data: list[kindgi.client.KeptRepoOpenErasure]
  • next_cursor: str | None (nextCursor on the wire) (optional)

A project's kept repo, by its tenant and project ids.

  • tenant_id: uuid.UUID (tenantId on the wire)
  • project_id: uuid.UUID (projectId on the wire)

An unfinished erasure of a project's kept repo.

  • tenant_id: uuid.UUID (tenantId on the wire)
  • project_id: uuid.UUID (projectId on the wire)
  • since: AwareDatetime
  • reason: Literal['erasure', 'retention', 'tenant-purged', 'no-record']

What the store does with a kept repo it holds: keep it, with its mark, or purge it, for reason.

  • tenant_id: uuid.UUID (tenantId on the wire)
  • project_id: uuid.UUID (projectId on the wire)
  • ruling: Union[Literal['keep', 'purge'], str]
  • mark: Optional[Annotated[Union[Literal['none', 'deleted', 'moved', 'held'], str], <kindgi.client._open.OpenEnum object at 0x107865510>]] (optional)
  • since: AwareDatetime | None (optional)
  • reason: Optional[Annotated[Union[Literal['erasure', 'retention', 'tenant-purged', 'no-record'], str], <kindgi.client._open.OpenEnum object at 0x107865510>]] (optional)
  • recorded: Optional[Literal[True]] (optional)
  • rulings: list[kindgi.client.KeptRepoRuling]
  • ids: list[kindgi.client.KeptRepoId]

A kept repo's state, as the runtime records it.

  • state: Union[Literal['live', 'deleted', 'moved', 'held', 'erasure-requested', 'purged'], str]
  • since: AwareDatetime