GitHub

EventRowPatchError

API reference for EventRowPatchError.

A patch named a field that is not one of the row's non-key fields (a key field, or a field the row does not have).

Attributes

AttributeTypeDescription
tag= tag
fields= tuple(fields)

Functions

__init__

__init__(tag, fields, patchable) -> None
ParameterTypeDescription
tagstr
fieldsSequence[str]
patchablefrozenset[str]
def __init__(self, tag: str, fields: Sequence[str], patchable: frozenset[str]) -> None:
    super().__init__(
        f"{tag!r} patches only its non-key fields {sorted(patchable)!r}, got {list(fields)!r}"
    )
    self.tag = tag
    self.fields = tuple(fields)