mkt.schema.kinase_schema.UniProt

class mkt.schema.kinase_schema.UniProt(*, header: str, canonical_seq: ~typing.Annotated[str, ~pydantic.types.StringConstraints(strip_whitespace=None, to_upper=None, to_lower=None, strict=None, min_length=None, max_length=None, pattern=^[ACDEFGHIKLMNPQRSTVWXY]+$)], phospho_sites: list[int] | None = None, phospho_evidence: list[set[str]] | None = None, phospho_description: list[str] | None = None)[source]

Bases: BaseModel

Pydantic model for UniProt information.

__init__(**data: Any) None

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Attributes

header

canonical_seq

phospho_sites

phospho_evidence

phospho_description

canonical_seq: StringConstraints(strip_whitespace=None, to_upper=None, to_lower=None, strict=None, min_length=None, max_length=None, pattern=^[ACDEFGHIKLMNPQRSTVWXY]+$)]
header: str
phospho_description: list[str] | None
phospho_evidence: list[set[str]] | None
phospho_sites: list[int] | None