SlackBaseField#

pydantic model safir.slack.blockkit.SlackBaseField#

Base class for Slack Block Kit blocks for the fields section.

Parameters:

data (Any) –

Show JSON schema
{
   "title": "SlackBaseField",
   "description": "Base class for Slack Block Kit blocks for the ``fields`` section.",
   "type": "object",
   "properties": {}
}

max_formatted_length: ClassVar[int] = 2000#

Maximum length of formatted output, imposed by Slack.

Intended to be overridden by child classes that need to impose different maximum lengths.

model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.