Skip to content

Add

Class: warmhub.Add

Add(*, name: str | Unset = UNSET, kind: CommitOperationKind | Unset = UNSET, about: str | Unset = UNSET, data: JsonValue | Unset = UNSET, type: str | Unset = UNSET, members: Sequence[str] | Unset = UNSET, affirmed_targets: Sequence[str] | Unset = UNSET, skip_existing: bool | Unset = UNSET, **unknown: Never)

Create a new shape, thing, assertion, or collection.

kind is optional and inferred when omitted: about present -> assertion; collection type plus members -> collection; otherwise by name segmentation (1-2 segments -> thing, 3+ -> assertion). Shape adds always require an explicit kind='shape'.

operation = 'add'

Documentation is not yet available.

name

Documentation is not yet available.

kind

Documentation is not yet available.

about

Documentation is not yet available.

data

Documentation is not yet available.

type

Documentation is not yet available.

members

Documentation is not yet available.

affirmed_targets

Documentation is not yet available.

skip_existing

Documentation is not yet available.